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
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:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() | |||||
---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
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 | ||||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children | |||||
![]() ![]() ![]() |
Content/Rules for all slices | ||||||||
![]() ![]() ![]() ![]() |
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
| |||||
![]() ![]() ![]() ![]() |
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
| |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | ||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification" | ||||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required) ele-1: All FHIR elements must have a @value or children | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() |
?! | 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 | |||||
![]() ![]() ![]() |
OΣ | 0..1 | CodeableConcept | National product code Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. ele-1: All FHIR elements must have a @value or children
| |||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
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
| |||||
![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() ![]() |
1..1 | The actual ingredient or content Slice: Unordered, Closed by type:$this ele-1: All FHIR elements must have a @value or children | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Any) | ||||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | ||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Medication: HDR) | The actual ingredient or content ele-1: All FHIR elements must have a @value or children | ||||||
![]() ![]() ![]() ![]() ![]() |
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
| |||||
![]() |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x] | example | http://hl7.org/fhir/ValueSet/medicinal-product-classificationhttp://hl7.org/fhir/ValueSet/medicinal-product-classification | |
Medication.extension:classification.value[x]:valueCodeableConcept | required | EHDSIActiveIngredienthttp://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient from this IG | |
Medication.code | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
Medication.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-status|4.0.1 from the FHIR Standard | |
Medication.form | extensible | EHDSIDoseFormhttp://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm from this IG | |
Medication.ingredient.item[x]:itemCodeableConcept | required | EHDSISubstanceWithExceptionshttp://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | 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 : 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-4 | error | Medication | If 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-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
This structure is derived from MedicationEuHdr
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
MedicationEuHdr | |||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
O | 0..1 | MedicationProductName | Medication - Product Name
| ||||
![]() ![]() ![]() ![]() |
O | 0..* | MedicationClassification | Medication - Classification
| ||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required) | |||||
![]() ![]() ![]() |
O | 0..1 | CodeableConcept | National product code
| ||||
![]() ![]() ![]() |
O | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
| ||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Medication: HDR) | The actual ingredient or content | |||||
![]() ![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance with exceptions (required)
| ||||
![]() |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x]:valueCodeableConcept | required | EHDSIActiveIngredienthttp://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient from this IG | |
Medication.form | extensible | EHDSIDoseFormhttp://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm from this IG | |
Medication.ingredient.item[x]:itemCodeableConcept | required | EHDSISubstanceWithExceptionshttp://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions from this IG |
Name | Flags | Card. | Type | Description & Constraints![]() | |||||
---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedicationEuHdr | Definition of a Medication | ||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | |||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| ||||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | ||||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | ||||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
O | 0..1 | string | Medication - Product Name URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
| |||||
![]() ![]() ![]() ![]() |
O | 0..* | (Complex) | Medication - Classification URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
| |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() ![]() |
0..0 | ||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification" | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this Binding: medicinal-product-classification (??) (example) | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required) | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | ||||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | ||||||
![]() ![]() ![]() ![]() |
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) | ||||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product. | |||||
![]() ![]() ![]() |
OΣ | 0..1 | CodeableConcept | National product code Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
| |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | |||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | |||||
![]() ![]() ![]() |
O | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
| |||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Amount of drug in package | |||||
![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | The actual ingredient or content Slice: Unordered, Closed by type:$this | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Any) | ||||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | ||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Medication: HDR) | The actual ingredient or content | ||||||
![]() ![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance with exceptions (required)
| |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Active ingredient flag | ||||||
![]() ![]() ![]() ![]() |
0..1 | Ratio | Amount of substance in product (presentation or concentration strength) | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
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) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Numerator value | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Denominator value | |||||
![]() ![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | ||||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | ||||||
![]() |
Path | Conformance | ValueSet | URI | |||
Medication.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Medication.extension:classification.value[x] | example | http://hl7.org/fhir/ValueSet/medicinal-product-classificationhttp://hl7.org/fhir/ValueSet/medicinal-product-classification | ||||
Medication.extension:classification.value[x]:valueCodeableConcept | required | EHDSIActiveIngredienthttp://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient from this IG | ||||
Medication.code | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | ||||
Medication.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-status|4.0.1 from the FHIR Standard | ||||
Medication.form | extensible | EHDSIDoseFormhttp://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm from this IG | ||||
Medication.ingredient.item[x]:itemCodeableConcept | required | EHDSISubstanceWithExceptionshttp://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | 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 : 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-4 | error | Medication | If 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-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
This structure is derived from MedicationEuHdr
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() | |||||
---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
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 | ||||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children | |||||
![]() ![]() ![]() |
Content/Rules for all slices | ||||||||
![]() ![]() ![]() ![]() |
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
| |||||
![]() ![]() ![]() ![]() |
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
| |||||
![]() ![]() ![]() ![]() ![]() |
0..0 | ||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification" | ||||||
![]() ![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required) ele-1: All FHIR elements must have a @value or children | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() |
?! | 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 | |||||
![]() ![]() ![]() |
OΣ | 0..1 | CodeableConcept | National product code Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. ele-1: All FHIR elements must have a @value or children
| |||||
![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() |
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
| |||||
![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 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 | |||||
![]() ![]() ![]() ![]() |
1..1 | The actual ingredient or content Slice: Unordered, Closed by type:$this ele-1: All FHIR elements must have a @value or children | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Any) | ||||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | ||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Medication: HDR) | The actual ingredient or content ele-1: All FHIR elements must have a @value or children | ||||||
![]() ![]() ![]() ![]() ![]() |
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
| |||||
![]() |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x] | example | http://hl7.org/fhir/ValueSet/medicinal-product-classificationhttp://hl7.org/fhir/ValueSet/medicinal-product-classification | |
Medication.extension:classification.value[x]:valueCodeableConcept | required | EHDSIActiveIngredienthttp://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient from this IG | |
Medication.code | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
Medication.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-status|4.0.1 from the FHIR Standard | |
Medication.form | extensible | EHDSIDoseFormhttp://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm from this IG | |
Medication.ingredient.item[x]:itemCodeableConcept | required | EHDSISubstanceWithExceptionshttp://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | 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 : 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-4 | error | Medication | If 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-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
Differential View
This structure is derived from MedicationEuHdr
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
MedicationEuHdr | |||||||
![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() |
O | 0..1 | MedicationProductName | Medication - Product Name
| ||||
![]() ![]() ![]() ![]() |
O | 0..* | MedicationClassification | Medication - Classification
| ||||
![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Slice: Unordered, Open by type:$this | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required) | |||||
![]() ![]() ![]() |
O | 0..1 | CodeableConcept | National product code
| ||||
![]() ![]() ![]() |
O | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
| ||||
![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Medication: HDR) | The actual ingredient or content | |||||
![]() ![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance with exceptions (required)
| ||||
![]() |
Path | Conformance | ValueSet | URI |
Medication.extension:classification.value[x]:valueCodeableConcept | required | EHDSIActiveIngredienthttp://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient from this IG | |
Medication.form | extensible | EHDSIDoseFormhttp://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm from this IG | |
Medication.ingredient.item[x]:itemCodeableConcept | required | EHDSISubstanceWithExceptionshttp://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions from this IG |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | |||||
---|---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedicationEuHdr | Definition of a Medication | ||||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | |||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | |||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| ||||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | ||||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | ||||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() |
O | 0..1 | string | Medication - Product Name URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-productname
| |||||
![]() ![]() ![]() ![]() |
O | 0..* | (Complex) | Medication - Classification URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification
| |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() ![]() |
0..0 | ||||||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-classification" | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Slice: Unordered, Closed by type:$this Binding: medicinal-product-classification (??) (example) | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension Binding: eHDSI Active Ingredient (required) | ||||||
![]() ![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Device, typically an administration device, included in the product. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-device | ||||||
![]() ![]() ![]() ![]() |
0..* | (Complex) | Specifies other descriptive properties of the medication. URL: http://profiles.ihe.net/PHARM/MPD/StructureDefinition/ihe-ext-medication-characteristic | ||||||
![]() ![]() ![]() ![]() |
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) | ||||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | |||||
![]() ![]() ![]() |
Σ | 0..* | Identifier | Identifier for the medicinal product, its generic representation, or packaged product. | |||||
![]() ![]() ![]() |
OΣ | 0..1 | CodeableConcept | National product code Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
| |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use. | |||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Manufacturer of the item | |||||
![]() ![]() ![]() |
O | 1..1 | CodeableConcept | add expectional values and make it required Binding: eHDSI Dose Form (extensible)
| |||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Amount of drug in package | |||||
![]() ![]() ![]() |
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 | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
1..1 | The actual ingredient or content Slice: Unordered, Closed by type:$this | |||||||
![]() ![]() ![]() ![]() ![]() |
Reference(Any) | ||||||||
![]() ![]() ![]() ![]() ![]() |
CodeableConcept | ||||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Medication: HDR) | The actual ingredient or content | ||||||
![]() ![]() ![]() ![]() ![]() |
O | 0..1 | CodeableConcept | The actual ingredient or content Binding: eHDSI Substance with exceptions (required)
| |||||
![]() ![]() ![]() ![]() |
0..1 | boolean | Active ingredient flag | ||||||
![]() ![]() ![]() ![]() |
0..1 | Ratio | Amount of substance in product (presentation or concentration strength) | ||||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | ||||||
![]() ![]() ![]() ![]() ![]() ![]() |
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) | ||||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Numerator value | |||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Quantity | Denominator value | |||||
![]() ![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | ||||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | ||||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations | ||||||
![]() ![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized | |||||
![]() ![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | ||||||
![]() ![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | ||||||
![]() |
Path | Conformance | ValueSet | URI | |||
Medication.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
Medication.extension:classification.value[x] | example | http://hl7.org/fhir/ValueSet/medicinal-product-classificationhttp://hl7.org/fhir/ValueSet/medicinal-product-classification | ||||
Medication.extension:classification.value[x]:valueCodeableConcept | required | EHDSIActiveIngredienthttp://terminology.ehdsi.eu/ValueSet/eHDSIActiveIngredient from this IG | ||||
Medication.code | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | ||||
Medication.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-status|4.0.1 from the FHIR Standard | ||||
Medication.form | extensible | EHDSIDoseFormhttp://terminology.ehdsi.eu/ValueSet/eHDSIDoseForm from this IG | ||||
Medication.ingredient.item[x]:itemCodeableConcept | required | EHDSISubstanceWithExceptionshttp://fhir.ehdsi.eu/hdr/ValueSet/eHDSISubstanceWithExceptions from this IG |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | Medication | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | Medication | 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 : 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-4 | error | Medication | If 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-5 | error | Medication | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | Medication | A resource should have narrative for robust management : text.`div`.exists() | |
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() |
This structure is derived from MedicationEuHdr
Other representations of profile: CSV, Excel, Schematron