Specimens

Manage laboratory specimens

{#snippet cell({ column, row, value })} {#if column.key === 'Status'} {@const statusColors = { 'COLLECTED': 'badge-info', 'RECEIVED': 'badge-primary', 'PROCESSING': 'badge-warning', 'COMPLETED': 'badge-success', 'REJECTED': 'badge-error' }} {value || 'Unknown'} {:else if column.key === 'CollectionDate'} {formatDate(value)} {:else if column.key === 'actions'}
{:else} {value || '-'} {/if} {/snippet}
{#if totalPages > 1}
Showing {(currentPage - 1) * perPage + 1} - {Math.min(currentPage * perPage, totalItems)} of {totalItems}
{/if}
specimenForm = { open: false, specimen: null, loading: false }} /> specimenDetail = { open: false, specimen: null, loading: false }} />

Delete specimen {deleteModal.specimen?.SpecimenID}?

This action cannot be undone.

{#snippet footer()} {/snippet}