MyHealth@Eu Hospital Discharge Report
0.0.1 - qa-preview 150

MyHealth@Eu Hospital Discharge Report - Local Development build (v0.0.1) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: Medication: HDR

Official URL: http://fhir.ehdsi.eu/hdr/StructureDefinition/medication-hdr-myhealtheu Version: 0.0.1
Standards status: Draft Maturity Level: 1 Computable Name: MedicationHdrMyHealthEu

This profile constrains the Medication resource for the purpose of this guide, adapted from the MPD work.

Usage:

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* MedicationEuHdr Definition of a Medication
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... extension:productName O 0..1 string Medication - Product Name
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
ObligationsActor
SHALL:handle HDR Handler
.... extension:classification O 0..* (Complex) Medication - Classification
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
ObligationsActor
SHALL:handle HDR Handler
..... extension 0..0
..... url 1..1 uri "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: medicinal-product-classification (??) (example)
ele-1: All FHIR elements must have a @value or children
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: eHDSI Active Ingredient (required)
ele-1: All FHIR elements must have a @value or children
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: unit-of-presentation (??) (example)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.


ele-1: All FHIR elements must have a @value or children
... form O 1..1 CodeableConcept add expectional values and make it required
Binding: eHDSI Dose Form (extensible)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle HDR Handler
... ingredient 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
..... itemReference Reference(Any)
..... itemCodeableConcept CodeableConcept
..... item[x]:itemReference 0..1 Reference(Medication: HDR) The actual ingredient or content
ele-1: All FHIR elements must have a @value or children
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: eHDSI Substance with exceptions (required)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle HDR Handler

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.extension:classification.value[x]examplehttp://hl7.org/fhir/ValueSet/medicinal-product-classification
http://hl7.org/fhir/ValueSet/medicinal-product-classification
Medication.extension:classification.value[x]:valueCodeableConceptrequiredEHDSIActiveIngredient
http://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient
from this IG
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formextensibleEHDSIDoseForm
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
from this IG
Medication.ingredient.item[x]:itemCodeableConceptrequiredEHDSISubstanceWithExceptions
http://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from MedicationEuHdr

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication MedicationEuHdr
... Slices for extension Content/Rules for all slices
.... extension:productName O 0..1 MedicationProductName Medication - Product Name
ObligationsActor
SHALL:handle HDR Handler
.... extension:classification O 0..* MedicationClassification Medication - Classification
ObligationsActor
SHALL:handle HDR Handler
..... extension 0..0
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: eHDSI Active Ingredient (required)
... code O 0..1 CodeableConcept National product code
ObligationsActor
SHALL:handle HDR Handler
... form O 1..1 CodeableConcept add expectional values and make it required
Binding: eHDSI Dose Form (extensible)
ObligationsActor
SHALL:handle HDR Handler
.... Slices for item[x] Content/Rules for all slices
..... item[x]:itemReference 0..1 Reference(Medication: HDR) The actual ingredient or content
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: eHDSI Substance with exceptions (required)
ObligationsActor
SHALL:handle HDR Handler

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.extension:classification.value[x]:valueCodeableConceptrequiredEHDSIActiveIngredient
http://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient
from this IG
Medication.formextensibleEHDSIDoseForm
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
from this IG
Medication.ingredient.item[x]:itemCodeableConceptrequiredEHDSISubstanceWithExceptions
http://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions
from this IG
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* MedicationEuHdr Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:productName O 0..1 string Medication - Product Name
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ObligationsActor
SHALL:handle HDR Handler
.... extension:classification O 0..* (Complex) Medication - Classification
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
ObligationsActor
SHALL:handle HDR Handler
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: medicinal-product-classification (??) (example)
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: eHDSI Active Ingredient (required)
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: unit-of-presentation (??) (example)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product.
... code OΣ 0..1 CodeableConcept National product code
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

ObligationsActor
SHALL:handle HDR Handler
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer Σ 0..1 Reference(Organization) Manufacturer of the item
... form O 1..1 CodeableConcept add expectional values and make it required
Binding: eHDSI Dose Form (extensible)
ObligationsActor
SHALL:handle HDR Handler
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... itemReference Reference(Any)
..... itemCodeableConcept CodeableConcept
..... item[x]:itemReference 0..1 Reference(Medication: HDR) The actual ingredient or content
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: eHDSI Substance with exceptions (required)
ObligationsActor
SHALL:handle HDR Handler
.... isActive 0..1 boolean Active ingredient flag
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:strengthSubstance 0..1 CodeableConcept Substance for which the strength is provided (this could be different from the precise active ingredient).
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
Binding: substance-codes (??) (example)
..... numerator Σ 0..1 Quantity Numerator value
..... denominator Σ 0..1 Quantity Denominator value
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.extension:classification.value[x]examplehttp://hl7.org/fhir/ValueSet/medicinal-product-classification
http://hl7.org/fhir/ValueSet/medicinal-product-classification
Medication.extension:classification.value[x]:valueCodeableConceptrequiredEHDSIActiveIngredient
http://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient
from this IG
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formextensibleEHDSIDoseForm
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
from this IG
Medication.ingredient.item[x]:itemCodeableConceptrequiredEHDSISubstanceWithExceptions
http://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from MedicationEuHdr

Summary

Mandatory: 2 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.extension.value[x]

Maturity: 1

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* MedicationEuHdr Definition of a Medication
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension Content/Rules for all slices
.... extension:productName O 0..1 string Medication - Product Name
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
ObligationsActor
SHALL:handle HDR Handler
.... extension:classification O 0..* (Complex) Medication - Classification
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
ObligationsActor
SHALL:handle HDR Handler
..... extension 0..0
..... url 1..1 uri "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: medicinal-product-classification (??) (example)
ele-1: All FHIR elements must have a @value or children
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: eHDSI Active Ingredient (required)
ele-1: All FHIR elements must have a @value or children
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: unit-of-presentation (??) (example)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.


ele-1: All FHIR elements must have a @value or children
... form O 1..1 CodeableConcept add expectional values and make it required
Binding: eHDSI Dose Form (extensible)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle HDR Handler
... ingredient 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
ele-1: All FHIR elements must have a @value or children
..... itemReference Reference(Any)
..... itemCodeableConcept CodeableConcept
..... item[x]:itemReference 0..1 Reference(Medication: HDR) The actual ingredient or content
ele-1: All FHIR elements must have a @value or children
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: eHDSI Substance with exceptions (required)
ele-1: All FHIR elements must have a @value or children
ObligationsActor
SHALL:handle HDR Handler

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.extension:classification.value[x]examplehttp://hl7.org/fhir/ValueSet/medicinal-product-classification
http://hl7.org/fhir/ValueSet/medicinal-product-classification
Medication.extension:classification.value[x]:valueCodeableConceptrequiredEHDSIActiveIngredient
http://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient
from this IG
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formextensibleEHDSIDoseForm
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
from this IG
Medication.ingredient.item[x]:itemCodeableConceptrequiredEHDSISubstanceWithExceptions
http://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

Differential View

This structure is derived from MedicationEuHdr

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication MedicationEuHdr
... Slices for extension Content/Rules for all slices
.... extension:productName O 0..1 MedicationProductName Medication - Product Name
ObligationsActor
SHALL:handle HDR Handler
.... extension:classification O 0..* MedicationClassification Medication - Classification
ObligationsActor
SHALL:handle HDR Handler
..... extension 0..0
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Open by type:$this
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: eHDSI Active Ingredient (required)
... code O 0..1 CodeableConcept National product code
ObligationsActor
SHALL:handle HDR Handler
... form O 1..1 CodeableConcept add expectional values and make it required
Binding: eHDSI Dose Form (extensible)
ObligationsActor
SHALL:handle HDR Handler
.... Slices for item[x] Content/Rules for all slices
..... item[x]:itemReference 0..1 Reference(Medication: HDR) The actual ingredient or content
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: eHDSI Substance with exceptions (required)
ObligationsActor
SHALL:handle HDR Handler

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.extension:classification.value[x]:valueCodeableConceptrequiredEHDSIActiveIngredient
http://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient
from this IG
Medication.formextensibleEHDSIDoseForm
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
from this IG
Medication.ingredient.item[x]:itemCodeableConceptrequiredEHDSISubstanceWithExceptions
http://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions
from this IG

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* MedicationEuHdr Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:productName O 0..1 string Medication - Product Name
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
ObligationsActor
SHALL:handle HDR Handler
.... extension:classification O 0..* (Complex) Medication - Classification
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
ObligationsActor
SHALL:handle HDR Handler
..... id 0..1 id Unique id for inter-element referencing
..... extension 0..0
..... url 1..1 uri "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification"
..... Slices for value[x] 0..1 CodeableConcept Value of extension
Slice: Unordered, Closed by type:$this
Binding: medicinal-product-classification (??) (example)
...... value[x]:valueCodeableConcept 0..1 CodeableConcept Value of extension
Binding: eHDSI Active Ingredient (required)
.... extension:sizeOfItem 0..1 Quantity Size of one item (for example, in a pack of 5 vials, this would represent the size of 1 vial)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-sizeofitem
.... extension:device 0..* (Complex) Device, typically an administration device, included in the product.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device
.... extension:characteristic 0..* (Complex) Specifies other descriptive properties of the medication.
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic
.... extension:unitOfPresentation 0..1 CodeableConcept Unit of presentation of the product (e.g. tablet, vial, ampoule, etc)
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-unitofpresentation
Binding: unit-of-presentation (??) (example)
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Identifier for the medicinal product, its generic representation, or packaged product.
... code OΣ 0..1 CodeableConcept National product code
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

ObligationsActor
SHALL:handle HDR Handler
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.

... manufacturer Σ 0..1 Reference(Organization) Manufacturer of the item
... form O 1..1 CodeableConcept add expectional values and make it required
Binding: eHDSI Dose Form (extensible)
ObligationsActor
SHALL:handle HDR Handler
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 1..* BackboneElement Ingredient or a part product. For combination packs, each ingredient can be a separate manufactured item with its own ingredients, dose form, and strength
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Closed by type:$this
..... itemReference Reference(Any)
..... itemCodeableConcept CodeableConcept
..... item[x]:itemReference 0..1 Reference(Medication: HDR) The actual ingredient or content
..... item[x]:itemCodeableConcept O 0..1 CodeableConcept The actual ingredient or content
Binding: eHDSI Substance with exceptions (required)
ObligationsActor
SHALL:handle HDR Handler
.... isActive 0..1 boolean Active ingredient flag
.... strength 0..1 Ratio Amount of substance in product (presentation or concentration strength)
..... id 0..1 string Unique id for inter-element referencing
..... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... extension:strengthSubstance 0..1 CodeableConcept Substance for which the strength is provided (this could be different from the precise active ingredient).
URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-strengthsubstance
Binding: substance-codes (??) (example)
..... numerator Σ 0..1 Quantity Numerator value
..... denominator Σ 0..1 Quantity Denominator value
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.extension:classification.value[x]examplehttp://hl7.org/fhir/ValueSet/medicinal-product-classification
http://hl7.org/fhir/ValueSet/medicinal-product-classification
Medication.extension:classification.value[x]:valueCodeableConceptrequiredEHDSIActiveIngredient
http://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient
from this IG
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formextensibleEHDSIDoseForm
http://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm
from this IG
Medication.ingredient.item[x]:itemCodeableConceptrequiredEHDSISubstanceWithExceptions
http://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions
from this IG

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from MedicationEuHdr

Summary

Mandatory: 2 elements
Prohibited: 1 element

Structures

This structure refers to these other structures:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.extension.value[x]

Maturity: 1

 

Other representations of profile: CSV, Excel, Schematron