Skip to main content

default

Index

Properties

config

config: Required<Params>

Methods

changeDisplayOrder

  • changeDisplayOrder(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)[]): void
  • To change display order


    Parameters

    • 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)[]

    Returns void

changeLanguage

  • changeLanguage(lng: en | fr | nl | de): Promise<TFunction<common, undefined>>
  • To change language


    Parameters

    • lng: en | fr | nl | de

    Returns Promise<TFunction<common, undefined>>

fromDosageToText

  • fromDosageToText(dos: Dosage): string
  • Turn a FHIR Dosage object into text


    Parameters

    • dos: Dosage

    Returns string

init

  • init(): Promise<TFunction<common, undefined>>
  • To init i18next properly according requested criteria


    Returns Promise<TFunction<common, undefined>>

staticbuild

  • Factory to create a fine-tuned instance of the utility class


    Parameters

    Returns Promise<FhirDosageUtils>