Text Reference Ranges

Text Ranges: Define expected text values for tests with text-based results.

{isEditing ? 'Edit Reference' : 'Add New Reference'}

{#if validationError}
{validationError}
{/if}
Age Range (Optional)
{simpleRefTxt.AgeUnit}
{simpleRefTxt.AgeUnit}
Quick presets:
{#if isEditing} {/if}

Current References ({formData.reftxt?.length || 0})

{#if !formData.reftxt || formData.reftxt.length === 0}

No text references defined

Add reference text using the form above

{:else}
{#each formData.reftxt as ref, idx (idx)} {/each}
Type Sex Age Reference Text Actions
{getRefTypeLabel(ref.TxtRefType)} {getSexLabel(ref.Sex)} {getAgeDisplay(ref.AgeStart)}-{getAgeDisplay(ref.AgeEnd)} {ref.RefTxt || '-'}
{/if}