Skip to main content

Config

Index

Properties

dateTimeFormatOptions

dateTimeFormatOptions: DateTimeFormatOptions

To control the formatting of dateTime objects. If not provided, will use the defaults according locale e.g. "20/01/2024"

@defaultValue
{}
@see

displayOrder

displayOrder: (method | doseQuantity | doseRange | rateRatio | rateQuantity | rateRange | durationDurationMax | frequencyFrequencyMax | periodPeriodMax | frequencyFrequencyMaxPeriodPeriodMax | offsetWhen | dayOfWeek | timeOfDay | route | site | asNeeded | boundsDuration | boundsPeriod | boundsRange | countCountMax | event | code | maxDosePerPeriod | maxDosePerAdministration | maxDosePerLifetime | additionalInstruction | patientInstruction | text | extension | timingExtension | timingRepeatExtension | modifierExtension | timingModifierExtension)[]

Control the display order used by the algorithm Useful when you want to turn on / off some specific rules for some reason

@defaultValue
["method", "doseQuantity", "doseRange", "rateRatio", "rateQuantity", "rateRange", "durationDurationMax", "frequencyFrequencyMaxPeriodPeriodMax", "offsetWhen", "dayOfWeek", "timeOfDay", "route", "site", "asNeeded", "boundsDuration", "boundsPeriod", "boundsRange", "countCountMax", "event", "code", "maxDosePerPeriod", "maxDosePerAdministration", "maxDosePerLifetime", "additionalInstruction", "patientInstruction"]
@see

DisplayOrderEnum for more info

displaySeparator

displaySeparator: string

Override separator between each part of "Dosage"

@defaultValue
" - "

fromCodeableConceptToString

fromCodeableConceptToString: FromCodeableConceptToStringFct

Function to turn a codeable concept (e.g SNOMED CT "311504000") into a string for humans (e.g "With or after food") The choice to handle extension, local valueset, ... is thus under the hands of people ;)

@see

fromExtensionsToString

fromExtensionsToString: FromExtensionsToStringFct

Function to turn extension(s) into a string for humans. The choice to handle national extensions, ... is thus under the hands of people ;)

@see

fromFHIRQuantityUnitToString

fromFHIRQuantityUnitToString: FromFHIRQuantityUnitToStringFct

Function to turn a quantity unit (e.g UCUM "ml") into a string for humans (e.g "militier") The choice to handle plural form or not is thus under the hands of people ;)

@see

i18nConfig

i18nConfig: InitOptions<object>

language

language: string

BCP 47 language code to setup the library with

@defaultValue
"en" (English)
@see