STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions . Page versions: R3 R2

Extension: The period of time between rate increments

URL for this extension:

http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval

Status: draft. Extension maintained by: Health Level Seven International (Pharmacy)

Period of time after which the rate increment should be attempted, e.g., 4 hours.

Context of Use: Use on element: MedicationOrder.dosageInstruction, MedicationDispense.dosageInstruction

usage info: insert a list of places where this extension is used

Extension Content

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1DurationURL = http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
The period of time between rate increments: Period of time after which the rate increment should be attempted, e.g., 4 hours.
Use on element: MedicationOrder.dosageInstruction, MedicationDispense.dosageInstruction

doco Documentation for this format

Fulle Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
The period of time between rate increments: Period of time after which the rate increment should be attempted, e.g., 4 hours.
Use on element: MedicationOrder.dosageInstruction, MedicationDispense.dosageInstruction
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
... valueQuantity I1..1DurationValue of extension
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.

doco Documentation for this format

XML Template

<!-- The period of time between rate increments -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval" >
  <!-- from Element: extension -->
 <valueQuantity><!-- ?? 1..1 Quantity Value of extension --></valueQuantity>
</extension>

JSON Template

{ // The period of time between rate increments
  // from Element: extension
    "url" : "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval", // R! 
    "valueQuantity" : { Quantity(Duration) } // C? R! Value of extension
  }

Summary

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1DurationURL = http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
The period of time between rate increments: Period of time after which the rate increment should be attempted, e.g., 4 hours.
Use on element: MedicationOrder.dosageInstruction, MedicationDispense.dosageInstruction

doco Documentation for this format

Full Structure

NameFlagsCard.TypeDescription & Constraintsdoco
.. extension0..1ExtensionURL = http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval
The period of time between rate increments: Period of time after which the rate increment should be attempted, e.g., 4 hours.
Use on element: MedicationOrder.dosageInstruction, MedicationDispense.dosageInstruction
... extension 0..0
... url 1..1uri"http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval"
... valueQuantity I1..1DurationValue of extension
qty-3: If a code for the unit is present, the system SHALL also be present
drt-1: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM.

doco Documentation for this format

XML Template

<!-- The period of time between rate increments -->doco

<extension xmlns="http://hl7.org/fhir"
     url="http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval" >
  <!-- from Element: extension -->
 <valueQuantity><!-- ?? 1..1 Quantity Value of extension --></valueQuantity>
</extension>

JSON Template

{ // The period of time between rate increments
  // from Element: extension
    "url" : "http://hl7.org/fhir/StructureDefinition/pharmacy-core-rateIncrementInterval", // R! 
    "valueQuantity" : { Quantity(Duration) } // C? R! Value of extension
  }

 

Constraints

  • qty-3: On Extension.valueQuantity: If a code for the unit is present, the system SHALL also be present (xpath on Extension.valueQuantity: not(exists(f:code)) or exists(f:system))
  • drt-1: On Extension.valueQuantity: There SHALL be a code if there is a value and it SHALL be an expression of time. If system is present, it SHALL be UCUM. (xpath on Extension.valueQuantity: (f:code or not(f:value)) and (not(exists(f:system)) or f:system/@value='http://unitsofmeasure.org'))