FhirDosageUtils
Hierarchy
- Utils
- FhirDosageUtils
Index
Methods
changeLanguage
Parameters
lng: string
Returns Promise<TFunction<common, undefined>>
containsOnlySequentialInstructions
Parameters
dosages: Dosage[]
Returns boolean
fromDosageToText
Parameters
dos: Dosage
Returns string
fromMultipleDosageToText
Parameters
dosages: Dosage[]
Returns string
getFields
Parameters
dos: Dosage
rest...order: (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)[]
Returns string
getProperty
groupBySequence
Parameters
dosages: Dosage[]
Returns Dosage[][]
setProperty
Type parameters
- T: SettableProperties
Parameters
key: T
value: Config[T]
Returns undefined
staticbuild
Parameters
config: Partial<Config> = {}
Returns Promise<FhirDosageUtils>