haau3 FHIR Implementation Guide (HFIG)
1.0.0 - ci-build United States of America flag

haau3 FHIR Implementation Guide (HFIG) - Local Development build (v1.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Data Type Profile: haau3 Structured Dosage

Official URL: https://haau3.com/fhir/StructureDefinition/haau3-structured-dosage Version: 1.0.0
Draft as of 2026-11-01 Computable Name: Haau3StructuredDosage

A Dosage that haau3's Structured Sig wrote from a prescription's free-text directions. The directions are kept verbatim in text, and each element the words support is coded: the dose and its unit, the route, the method, the timing and whether it is taken as needed. Nothing is invented: an element the directions do not support is absent, and anything a person should check is a review flag on the Dosage. Every Dosage names the engine and vocabulary versions it was written under.

The Dosage the structure-dosage operation writes from a prescription's free-text directions. It travels inside the operation's Parameters answer, and inside any record a caller puts it in, such as a MedicationRequest's dosageInstruction, with its review flags and versions on it.

What it promises

  • text is always present, the directions exactly as sent.
  • Each coded element is supported by the words of the directions, or, for a dose's unit or the route, added from the medication's dose form with a review flag that says so.
  • A dose's unit is UCUM where HL7's Common UCUM units has it, and otherwise SNOMED CT's unit of presentation.
  • SNOMED CT codes come only from the SNOMED CT Global Patient Set.
  • site, asNeededCodeableConcept and additionalInstruction may be text alone, in the directions' own words.
  • Timing.code is present only when the repeat is exactly the coded frequency's own.

The profile is open: an element it does not mention may be filled by a later version, which the engine version names.

Usages:

  • This DataType Profile is not used by any profiles in this Specification

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

Description of Profiles, Differentials, Snapshots and how the different presentations work.

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Dosage 0..* Dosage How the medication is/was taken or should be taken
Dosage.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Dosage.Slices for extension.extension:reviewFlag This element must be supported. 0..* (Complex) Something a person should check
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-review-flag
Dosage.Slices for extension.extension:engineVersion This element must be supported. 1..1 string Structured Sig Engine Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-engine-version
Dosage.Slices for extension.extension:vocabularyVersion This element must be supported. 1..1 string Structured Sig Vocabulary Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-vocabulary-version
Dosage.Slices for extension.extension:rxnormRelease This element must be supported. 0..1 string The RxNorm release the medication was looked up in, when it was
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-rxnorm-release
Dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.text This element must be supported. This element is included in summaries. 1..1 string The directions, exactly as sent
Dosage.additionalInstruction This element must be supported. This element is included in summaries. 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
Dosage.timing This element must be supported. This element is included in summaries. 0..1 Timing When medication should be administered
Dosage.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.timing.repeat This element must be supported. This element is included in summaries. C 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Dosage.timing.code This element must be supported. This element is included in summaries. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
Dosage.asNeeded[x] This element must be supported. This element is included in summaries. 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
Dosage.asNeeded[x].asNeededBoolean boolean
Dosage.asNeeded[x].asNeededCodeableConcept CodeableConcept
Dosage.site This element must be supported. This element is included in summaries. 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
Dosage.route This element must be supported. This element is included in summaries. 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
Dosage.method This element must be supported. This element is included in summaries. 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
Dosage.doseAndRate This element must be supported. This element is included in summaries. C 0..* Element Amount of medication administered
Constraints: haau3-sig-2
Dosage.doseAndRate.dose[x] This element must be supported. This element is included in summaries. 0..1 Amount of medication per dose
Dosage.doseAndRate.dose[x].doseRange Range
Dosage.doseAndRate.dose[x].doseQuantity Quantity(SimpleQuantity)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.0.1 FHIR Std.
Dosage.timing.code Base preferred TimingAbbreviation 📍4.0.1 FHIR Std.
Dosage.asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.0.1 FHIR Std.
Dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.0.1 FHIR Std.
Dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
Dosage.method Base example SNOMED CT Administration Method Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
haau3-sig-2 error Dosage.doseAndRate A dose's quantities are in UCUM or SNOMED CT, or carry no unit. (dose.ofType(Quantity) | dose.ofType(Range).low | dose.ofType(Range).high).all(system.empty() or system = 'http://unitsofmeasure.org' or system = 'http://snomed.info/sct')
tim-1 error Dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

This structure is derived from Dosage

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Dosage 0..* Dosage How the medication is/was taken or should be taken
Dosage.extension 2..* Extension Extension
Dosage.Slices for extension Content/Rules for all slices
Dosage.Slices for extension.extension:reviewFlag This element must be supported. 0..* (Complex) Something a person should check
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-review-flag
Dosage.Slices for extension.extension:engineVersion This element must be supported. 1..1 string Structured Sig Engine Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-engine-version
Dosage.Slices for extension.extension:vocabularyVersion This element must be supported. 1..1 string Structured Sig Vocabulary Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-vocabulary-version
Dosage.Slices for extension.extension:rxnormRelease This element must be supported. 0..1 string The RxNorm release the medication was looked up in, when it was
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-rxnorm-release
Dosage.text This element must be supported. 1..1 string The directions, exactly as sent
Dosage.timing This element must be supported. 0..1 Timing When medication should be administered
Dosage.timing.repeat This element must be supported. 0..1 Element When the event is to occur
Dosage.timing.code This element must be supported. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Dosage.asNeeded[x] This element must be supported. 0..1 boolean, CodeableConcept Take "as needed" (for x)
Dosage.site This element must be supported. 0..1 CodeableConcept Body site to administer to
Dosage.route This element must be supported. 0..1 CodeableConcept How drug should enter body
Dosage.method This element must be supported. 0..1 CodeableConcept Technique for administering medication
Dosage.doseAndRate This element must be supported. C 0..* Element Amount of medication administered
Constraints: haau3-sig-2
Dosage.doseAndRate.dose[x] This element must be supported. 0..1 Range, SimpleQuantity(4.0.1) Amount of medication per dose

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
haau3-sig-2 error Dosage.doseAndRate A dose's quantities are in UCUM or SNOMED CT, or carry no unit. (dose.ofType(Quantity) | dose.ofType(Range).low | dose.ofType(Range).high).all(system.empty() or system = 'http://unitsofmeasure.org' or system = 'http://snomed.info/sct')
NameFlagsCard.TypeDescription & Constraints    Filter: doco
Dosage 0..* Dosage How the medication is/was taken or should be taken
Dosage.id 0..1 string Unique id for inter-element referencing
Dosage.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Dosage.Slices for extension.extension:reviewFlag This element must be supported. 0..* (Complex) Something a person should check
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-review-flag
Dosage.Slices for extension.extension:engineVersion This element must be supported. 1..1 string Structured Sig Engine Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-engine-version
Dosage.Slices for extension.extension:vocabularyVersion This element must be supported. 1..1 string Structured Sig Vocabulary Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-vocabulary-version
Dosage.Slices for extension.extension:rxnormRelease This element must be supported. 0..1 string The RxNorm release the medication was looked up in, when it was
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-rxnorm-release
Dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.sequence This element is included in summaries. 0..1 integer The order of the dosage instructions
Dosage.text This element must be supported. This element is included in summaries. 1..1 string The directions, exactly as sent
Dosage.additionalInstruction This element must be supported. This element is included in summaries. 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
Dosage.patientInstruction This element is included in summaries. 0..1 string Patient or consumer oriented instructions
Dosage.timing This element must be supported. This element is included in summaries. 0..1 Timing When medication should be administered
Dosage.timing.id 0..1 string Unique id for inter-element referencing
Dosage.timing.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Dosage.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.timing.event This element is included in summaries. 0..* dateTime When the event occurs
Dosage.timing.repeat This element must be supported. This element is included in summaries. C 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Dosage.timing.repeat.id 0..1 string Unique id for inter-element referencing
Dosage.timing.repeat.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Dosage.timing.repeat.bounds[x] This element is included in summaries. 0..1 Length/Range of lengths, or (Start and/or end) limits
Dosage.timing.repeat.bounds[x].boundsDuration Duration
Dosage.timing.repeat.bounds[x].boundsRange Range
Dosage.timing.repeat.bounds[x].boundsPeriod Period
Dosage.timing.repeat.count This element is included in summaries. 0..1 positiveInt Number of times to repeat
Dosage.timing.repeat.countMax This element is included in summaries. 0..1 positiveInt Maximum number of times to repeat
Dosage.timing.repeat.duration This element is included in summaries. 0..1 decimal How long when it happens
Dosage.timing.repeat.durationMax This element is included in summaries. 0..1 decimal How long when it happens (Max)
Dosage.timing.repeat.durationUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Dosage.timing.repeat.frequency This element is included in summaries. 0..1 positiveInt Event occurs frequency times per period
Dosage.timing.repeat.frequencyMax This element is included in summaries. 0..1 positiveInt Event occurs up to frequencyMax times per period
Dosage.timing.repeat.period This element is included in summaries. 0..1 decimal Event occurs frequency times per period
Dosage.timing.repeat.periodMax This element is included in summaries. 0..1 decimal Upper limit of period (3-4 hours)
Dosage.timing.repeat.periodUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Dosage.timing.repeat.dayOfWeek This element is included in summaries. 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
Dosage.timing.repeat.timeOfDay This element is included in summaries. 0..* time Time of day for action
Dosage.timing.repeat.when This element is included in summaries. 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.
Dosage.timing.repeat.offset This element is included in summaries. 0..1 unsignedInt Minutes from event (before or after)
Dosage.timing.code This element must be supported. This element is included in summaries. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
Dosage.asNeeded[x] This element must be supported. This element is included in summaries. 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
Dosage.asNeeded[x].asNeededBoolean boolean
Dosage.asNeeded[x].asNeededCodeableConcept CodeableConcept
Dosage.site This element must be supported. This element is included in summaries. 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
Dosage.route This element must be supported. This element is included in summaries. 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
Dosage.method This element must be supported. This element is included in summaries. 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
Dosage.doseAndRate This element must be supported. This element is included in summaries. C 0..* Element Amount of medication administered
Constraints: haau3-sig-2
Dosage.doseAndRate.id 0..1 string Unique id for inter-element referencing
Dosage.doseAndRate.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Dosage.doseAndRate.type This element is included in summaries. 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
Dosage.doseAndRate.dose[x] This element must be supported. This element is included in summaries. 0..1 Amount of medication per dose
Dosage.doseAndRate.dose[x].doseRange Range
Dosage.doseAndRate.dose[x].doseQuantity Quantity(SimpleQuantity)
Dosage.doseAndRate.rate[x] This element is included in summaries. 0..1 Amount of medication per unit of time
Dosage.doseAndRate.rate[x].rateRatio Ratio
Dosage.doseAndRate.rate[x].rateRange Range
Dosage.doseAndRate.rate[x].rateQuantity Quantity(SimpleQuantity)
Dosage.maxDosePerPeriod This element is included in summaries. 0..1 Ratio Upper limit on medication per unit of time
Dosage.maxDosePerAdministration This element is included in summaries. C 0..1 SimpleQuantity(4.0.1) Upper limit on medication per administration
Constraints: sqty-1
Dosage.maxDosePerLifetime This element is included in summaries. C 0..1 SimpleQuantity(4.0.1) Upper limit on medication per lifetime of the patient
Constraints: sqty-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​durationUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​dayOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​when Base required EventTiming 📍4.0.1 FHIR Std.
Dosage.timing.code Base preferred TimingAbbreviation 📍4.0.1 FHIR Std.
Dosage.asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.0.1 FHIR Std.
Dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.0.1 FHIR Std.
Dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
Dosage.method Base example SNOMED CT Administration Method Codes 📍4.0.1 FHIR Std.
Dosage.doseAndRate.type Base example DoseAndRateType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
haau3-sig-2 error Dosage.doseAndRate A dose's quantities are in UCUM or SNOMED CT, or carry no unit. (dose.ofType(Quantity) | dose.ofType(Range).low | dose.ofType(Range).high).all(system.empty() or system = 'http://unitsofmeasure.org' or system = 'http://snomed.info/sct')
sqty-1 error Dosage.maxDosePerAdministration, Dosage.maxDosePerLifetime The comparator is not used on a SimpleQuantity comparator.empty()
tim-1 error Dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Dosage 0..* Dosage How the medication is/was taken or should be taken
Dosage.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Dosage.Slices for extension.extension:reviewFlag This element must be supported. 0..* (Complex) Something a person should check
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-review-flag
Dosage.Slices for extension.extension:engineVersion This element must be supported. 1..1 string Structured Sig Engine Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-engine-version
Dosage.Slices for extension.extension:vocabularyVersion This element must be supported. 1..1 string Structured Sig Vocabulary Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-vocabulary-version
Dosage.Slices for extension.extension:rxnormRelease This element must be supported. 0..1 string The RxNorm release the medication was looked up in, when it was
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-rxnorm-release
Dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.text This element must be supported. This element is included in summaries. 1..1 string The directions, exactly as sent
Dosage.additionalInstruction This element must be supported. This element is included in summaries. 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
Dosage.timing This element must be supported. This element is included in summaries. 0..1 Timing When medication should be administered
Dosage.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.timing.repeat This element must be supported. This element is included in summaries. C 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Dosage.timing.code This element must be supported. This element is included in summaries. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
Dosage.asNeeded[x] This element must be supported. This element is included in summaries. 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
Dosage.asNeeded[x].asNeededBoolean boolean
Dosage.asNeeded[x].asNeededCodeableConcept CodeableConcept
Dosage.site This element must be supported. This element is included in summaries. 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
Dosage.route This element must be supported. This element is included in summaries. 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
Dosage.method This element must be supported. This element is included in summaries. 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
Dosage.doseAndRate This element must be supported. This element is included in summaries. C 0..* Element Amount of medication administered
Constraints: haau3-sig-2
Dosage.doseAndRate.dose[x] This element must be supported. This element is included in summaries. 0..1 Amount of medication per dose
Dosage.doseAndRate.dose[x].doseRange Range
Dosage.doseAndRate.dose[x].doseQuantity Quantity(SimpleQuantity)

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.0.1 FHIR Std.
Dosage.timing.code Base preferred TimingAbbreviation 📍4.0.1 FHIR Std.
Dosage.asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.0.1 FHIR Std.
Dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.0.1 FHIR Std.
Dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
Dosage.method Base example SNOMED CT Administration Method Codes 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
haau3-sig-2 error Dosage.doseAndRate A dose's quantities are in UCUM or SNOMED CT, or carry no unit. (dose.ofType(Quantity) | dose.ofType(Range).low | dose.ofType(Range).high).all(system.empty() or system = 'http://unitsofmeasure.org' or system = 'http://snomed.info/sct')
tim-1 error Dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

Differential View

This structure is derived from Dosage

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Dosage 0..* Dosage How the medication is/was taken or should be taken
Dosage.extension 2..* Extension Extension
Dosage.Slices for extension Content/Rules for all slices
Dosage.Slices for extension.extension:reviewFlag This element must be supported. 0..* (Complex) Something a person should check
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-review-flag
Dosage.Slices for extension.extension:engineVersion This element must be supported. 1..1 string Structured Sig Engine Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-engine-version
Dosage.Slices for extension.extension:vocabularyVersion This element must be supported. 1..1 string Structured Sig Vocabulary Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-vocabulary-version
Dosage.Slices for extension.extension:rxnormRelease This element must be supported. 0..1 string The RxNorm release the medication was looked up in, when it was
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-rxnorm-release
Dosage.text This element must be supported. 1..1 string The directions, exactly as sent
Dosage.additionalInstruction This element must be supported. 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Dosage.timing This element must be supported. 0..1 Timing When medication should be administered
Dosage.timing.repeat This element must be supported. 0..1 Element When the event is to occur
Dosage.timing.code This element must be supported. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Dosage.asNeeded[x] This element must be supported. 0..1 boolean, CodeableConcept Take "as needed" (for x)
Dosage.site This element must be supported. 0..1 CodeableConcept Body site to administer to
Dosage.route This element must be supported. 0..1 CodeableConcept How drug should enter body
Dosage.method This element must be supported. 0..1 CodeableConcept Technique for administering medication
Dosage.doseAndRate This element must be supported. C 0..* Element Amount of medication administered
Constraints: haau3-sig-2
Dosage.doseAndRate.dose[x] This element must be supported. 0..1 Range, SimpleQuantity(4.0.1) Amount of medication per dose

doco Documentation for this format

Constraints

Id Grade Path(s) Description Expression
haau3-sig-2 error Dosage.doseAndRate A dose's quantities are in UCUM or SNOMED CT, or carry no unit. (dose.ofType(Quantity) | dose.ofType(Range).low | dose.ofType(Range).high).all(system.empty() or system = 'http://unitsofmeasure.org' or system = 'http://snomed.info/sct')

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: doco
Dosage 0..* Dosage How the medication is/was taken or should be taken
Dosage.id 0..1 string Unique id for inter-element referencing
Dosage.Slices for extension 2..* Extension Extension
Slice: Unordered, Open by value:url

Slicing Note: The rules on this element (including its children) apply to all the slices, but are not repeated in them
Dosage.Slices for extension.extension:reviewFlag This element must be supported. 0..* (Complex) Something a person should check
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-review-flag
Dosage.Slices for extension.extension:engineVersion This element must be supported. 1..1 string Structured Sig Engine Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-engine-version
Dosage.Slices for extension.extension:vocabularyVersion This element must be supported. 1..1 string Structured Sig Vocabulary Version
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-vocabulary-version
Dosage.Slices for extension.extension:rxnormRelease This element must be supported. 0..1 string The RxNorm release the medication was looked up in, when it was
URL: https://haau3.com/fhir/StructureDefinition/structured-sig-rxnorm-release
Dosage.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.sequence This element is included in summaries. 0..1 integer The order of the dosage instructions
Dosage.text This element must be supported. This element is included in summaries. 1..1 string The directions, exactly as sent
Dosage.additionalInstruction This element must be supported. This element is included in summaries. 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example): A coded concept identifying additional instructions such as "take with water" or "avoid operating heavy machinery".
Dosage.patientInstruction This element is included in summaries. 0..1 string Patient or consumer oriented instructions
Dosage.timing This element must be supported. This element is included in summaries. 0..1 Timing When medication should be administered
Dosage.timing.id 0..1 string Unique id for inter-element referencing
Dosage.timing.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Dosage.timing.modifierExtension This element is a modifier element. This element is included in summaries. 0..* Extension Extensions that cannot be ignored even if unrecognized
Dosage.timing.event This element is included in summaries. 0..* dateTime When the event occurs
Dosage.timing.repeat This element must be supported. This element is included in summaries. C 0..1 Element When the event is to occur
Constraints: tim-1, tim-2, tim-4, tim-5, tim-6, tim-7, tim-8, tim-9, tim-10
Dosage.timing.repeat.id 0..1 string Unique id for inter-element referencing
Dosage.timing.repeat.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Dosage.timing.repeat.bounds[x] This element is included in summaries. 0..1 Length/Range of lengths, or (Start and/or end) limits
Dosage.timing.repeat.bounds[x].boundsDuration Duration
Dosage.timing.repeat.bounds[x].boundsRange Range
Dosage.timing.repeat.bounds[x].boundsPeriod Period
Dosage.timing.repeat.count This element is included in summaries. 0..1 positiveInt Number of times to repeat
Dosage.timing.repeat.countMax This element is included in summaries. 0..1 positiveInt Maximum number of times to repeat
Dosage.timing.repeat.duration This element is included in summaries. 0..1 decimal How long when it happens
Dosage.timing.repeat.durationMax This element is included in summaries. 0..1 decimal How long when it happens (Max)
Dosage.timing.repeat.durationUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Dosage.timing.repeat.frequency This element is included in summaries. 0..1 positiveInt Event occurs frequency times per period
Dosage.timing.repeat.frequencyMax This element is included in summaries. 0..1 positiveInt Event occurs up to frequencyMax times per period
Dosage.timing.repeat.period This element is included in summaries. 0..1 decimal Event occurs frequency times per period
Dosage.timing.repeat.periodMax This element is included in summaries. 0..1 decimal Upper limit of period (3-4 hours)
Dosage.timing.repeat.periodUnit This element is included in summaries. 0..1 code s | min | h | d | wk | mo | a - unit of time (UCUM)
Binding: UnitsOfTime (required): A unit of time (units from UCUM).
Dosage.timing.repeat.dayOfWeek This element is included in summaries. 0..* code mon | tue | wed | thu | fri | sat | sun
Binding: DaysOfWeek (required)
Dosage.timing.repeat.timeOfDay This element is included in summaries. 0..* time Time of day for action
Dosage.timing.repeat.when This element is included in summaries. 0..* code Code for time period of occurrence
Binding: EventTiming (required): Real world event relating to the schedule.
Dosage.timing.repeat.offset This element is included in summaries. 0..1 unsignedInt Minutes from event (before or after)
Dosage.timing.code This element must be supported. This element is included in summaries. 0..1 CodeableConcept BID | TID | QID | AM | PM | QD | QOD | +
Binding: TimingAbbreviation (preferred): Code for a known / defined timing pattern.
Dosage.asNeeded[x] This element must be supported. This element is included in summaries. 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example): A coded concept identifying the precondition that should be met or evaluated prior to consuming or administering a medication dose. For example "pain", "30 minutes prior to sexual intercourse", "on flare-up" etc.
Dosage.asNeeded[x].asNeededBoolean boolean
Dosage.asNeeded[x].asNeededCodeableConcept CodeableConcept
Dosage.site This element must be supported. This element is included in summaries. 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example): A coded concept describing the site location the medicine enters into or onto the body.
Dosage.route This element must be supported. This element is included in summaries. 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example): A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.
Dosage.method This element must be supported. This element is included in summaries. 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example): A coded concept describing the technique by which the medicine is administered.
Dosage.doseAndRate This element must be supported. This element is included in summaries. C 0..* Element Amount of medication administered
Constraints: haau3-sig-2
Dosage.doseAndRate.id 0..1 string Unique id for inter-element referencing
Dosage.doseAndRate.extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Dosage.doseAndRate.type This element is included in summaries. 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example): The kind of dose or rate specified.
Dosage.doseAndRate.dose[x] This element must be supported. This element is included in summaries. 0..1 Amount of medication per dose
Dosage.doseAndRate.dose[x].doseRange Range
Dosage.doseAndRate.dose[x].doseQuantity Quantity(SimpleQuantity)
Dosage.doseAndRate.rate[x] This element is included in summaries. 0..1 Amount of medication per unit of time
Dosage.doseAndRate.rate[x].rateRatio Ratio
Dosage.doseAndRate.rate[x].rateRange Range
Dosage.doseAndRate.rate[x].rateQuantity Quantity(SimpleQuantity)
Dosage.maxDosePerPeriod This element is included in summaries. 0..1 Ratio Upper limit on medication per unit of time
Dosage.maxDosePerAdministration This element is included in summaries. C 0..1 SimpleQuantity(4.0.1) Upper limit on medication per administration
Constraints: sqty-1
Dosage.maxDosePerLifetime This element is included in summaries. C 0..1 SimpleQuantity(4.0.1) Upper limit on medication per lifetime of the patient
Constraints: sqty-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​durationUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​periodUnit Base required UnitsOfTime 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​dayOfWeek Base required DaysOfWeek 📍4.0.1 FHIR Std.
Dosage.timing.repeat.​when Base required EventTiming 📍4.0.1 FHIR Std.
Dosage.timing.code Base preferred TimingAbbreviation 📍4.0.1 FHIR Std.
Dosage.asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.0.1 FHIR Std.
Dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.0.1 FHIR Std.
Dosage.route Base example SNOMED CT Route Codes 📍4.0.1 FHIR Std.
Dosage.method Base example SNOMED CT Administration Method Codes 📍4.0.1 FHIR Std.
Dosage.doseAndRate.type Base example DoseAndRateType 📍4.0.1 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
ele-1 error **ALL** elements All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error **ALL** extensions Must have either extensions or value[x], not both extension.exists() != value.exists()
haau3-sig-2 error Dosage.doseAndRate A dose's quantities are in UCUM or SNOMED CT, or carry no unit. (dose.ofType(Quantity) | dose.ofType(Range).low | dose.ofType(Range).high).all(system.empty() or system = 'http://unitsofmeasure.org' or system = 'http://snomed.info/sct')
sqty-1 error Dosage.maxDosePerAdministration, Dosage.maxDosePerLifetime The comparator is not used on a SimpleQuantity comparator.empty()
tim-1 error Dosage.timing.repeat if there's a duration, there needs to be duration units duration.empty() or durationUnit.exists()
tim-2 error Dosage.timing.repeat if there's a period, there needs to be period units period.empty() or periodUnit.exists()
tim-4 error Dosage.timing.repeat duration SHALL be a non-negative value duration.exists() implies duration >= 0
tim-5 error Dosage.timing.repeat period SHALL be a non-negative value period.exists() implies period >= 0
tim-6 error Dosage.timing.repeat If there's a periodMax, there must be a period periodMax.empty() or period.exists()
tim-7 error Dosage.timing.repeat If there's a durationMax, there must be a duration durationMax.empty() or duration.exists()
tim-8 error Dosage.timing.repeat If there's a countMax, there must be a count countMax.empty() or count.exists()
tim-9 error Dosage.timing.repeat If there's an offset, there must be a when (and not C, CM, CD, CV) offset.empty() or (when.exists() and ((when in ('C' | 'CM' | 'CD' | 'CV')).not()))
tim-10 error Dosage.timing.repeat If there's a timeOfDay, there cannot be a when, or vice versa timeOfDay.empty() or when.empty()

 

Other representations of profile: CSV, Excel, Schematron