eMediplan CHMED Implementation Guide
2.1.0 - CI Build Switzerland flag

eMediplan CHMED Implementation Guide, published by IG eMediplan. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/ahdis/chmed/ and changes regularly. See the Directory of published versions

Extension: CHMED Dose Quantity To

Official URL: http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-dose-quantity-to Version: 2.1.0
Active as of 2022-08-12 Computable Name: CHMEDExtensionDoseQuantityTo

Copyright/Legal: CC-BY-SA-4.0

Extension for representing the change of a dose quantity (from a starting quantity continously) to this final quantity

Context of Use

This extension may be used on the following element(s):

  • Quantity
  • Dosage.doseAndRate.doseQuantity

Usage info

Usage:

Formal Views of Extension Content

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

This structure is derived from Extension

Summary

Mandatory: 2 elements
Fixed Value: 1 element
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCHMED Dose Quantity To
... extension 0..0
... url 1..1uri"http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-dose-quantity-to"
... value[x] 1..1QuantityValue of extension
Slice: Unordered, Open by type:$this

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCHMED Dose Quantity To
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-dose-quantity-to"
.... value[x]:valueQuantity I1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format

This structure is derived from Extension

Summary

Mandatory: 2 elements
Fixed Value: 1 element
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element Extension.value[x] is sliced based on the value of type:$this

Differential View

This structure is derived from Extension

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCHMED Dose Quantity To
... extension 0..0
... url 1..1uri"http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-dose-quantity-to"
... value[x] 1..1QuantityValue of extension
Slice: Unordered, Open by type:$this

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Extension 0..*ExtensionCHMED Dose Quantity To
... id 0..1stringUnique id for inter-element referencing
... extension 0..0
... url 1..1uri"http://chmed.emediplan.ch/fhir/StructureDefinition/chmed-dose-quantity-to"
.... value[x]:valueQuantity I1..1CHEMEDQuantityWithEmedUnitsA fixed quantity (no comparator)

doco Documentation for this format

 

Other representations of profile: CSV, Excel, Schematron

Constraints

IdGradePathDetailsRequirements
ele-1errorExtensionAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1errorExtensionMust have either extensions or value[x], not both
: extension.exists() != value.exists()
ele-1errorExtension.value[x]All FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ele-1errorExtension.value[x]:valueQuantityAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
qty-3errorExtension.value[x]:valueQuantityIf a code for the unit is present, the system SHALL also be present
: code.empty() or system.exists()
sqty-1errorExtension.value[x]:valueQuantityThe comparator is not used on a SimpleQuantity
: comparator.empty()