Eyematics Core Data Set
2025.0.0-alpha - ci-build Unknown region code '276'

Eyematics Core Data Set - Local Development build (v2025.0.0-alpha) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: IVI-Medikament

Official URL: https://eyematics.org/fhir/eyematics-kds/StructureDefinition/mii-eyematics-ivom-medication Version: 2025.0.0-alpha
Draft as of 2025-10-18 Computable Name: MII_EyeMatics_IVI_Medication

Die Medikation, die angesetzt, geplant oder verabreicht wird. Es kann sich um ein Fertigarzneimittel oder eine Rezeptur handeln. Auch die Angabe nur des Wirkstoffes ist möglich. Mindestens ein Wirkstoff MUSS angegeben werden.

Usages:

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: Filtersdoco
.. Medication 0..* MII_PR_Medikation_Medication Definition of a Medication
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... code SΣ 0..1 CodeableConcept Code
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Pharmazentralnummer SΣN 0..* Coding PZN Code
Binding: PZN ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code Symbol in syntax defined by the system
..... coding:atcClassDe SΣN 0..* Coding ATC Code
Binding: ATC ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
..... coding:atcClassEn SΣN 0..* Coding ATC WHO Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
.... text SΣ 0..1 string Plain text representation of the concept
... 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.
... form S 0..1 CodeableConcept Darreichungsform
Binding: IVI Medication Form (preferred)
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:EDQM SΣN 0..* Coding EDQM Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code Symbol in syntax defined by the system
... ingredient S 1..* BackboneElement Bestandteil
.... Slices for extension SN 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:Wirkstofftyp SN 0..1 Coding Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp
Binding: MII VS Medikation Wirkstofftypen (required)
..... extension:Wirkstoffrelation SN 0..* (Complex) Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstoffrelation
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] N 1..1 The actual ingredient or content
Slice: Unordered, Open by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference SN 0..1 Reference(Substance | MII PR Medikation Medication) The actual ingredient or content
..... item[x]:itemCodeableConcept SN 0..1 CodeableConcept The actual ingredient or content
...... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
....... coding:ASK SΣN 0..* Coding ASK Code
Binding: ASK ValueSet (required)

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
....... coding:UNII SΣN 0..* Coding UNII Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fdasis.nlm.nih.gov
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
....... coding:CAS SΣN 0..* Coding CAS Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/CAS
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
....... coding:SNOMED SΣN 0..* Coding SNOMED CT Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
...... text SΣ 0..1 string Plain text representation of the concept
.... strength SC 0..1 Ratio Menge|Stärke
Constraints: rat-1
..... numerator SΣC 0..1 Quantity Numerator value
Constraints: qty-3
..... denominator SΣC 0..1 Quantity Denominator value
Constraints: qty-3

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
Medication.code.coding:Pharmazentralnummer Base required PZN ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.code.coding:atcClassDe Base required ATC ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base preferred IVI Medication Form 📦2025.0.0-alpha This IG
Medication.ingredient.​item[x]:itemCodeableConcept.​coding:ASK Base required ASK ValueSet 📦1.5.4 de.basisprofil.r4 v1.5

Constraints

Id Grade Path(s) Description Expression
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()
qty-3 error Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
rat-1 error Medication.ingredient.strength Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())

This structure is derived from MII_PR_Medikation_Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MII_PR_Medikation_Medication Definition of a Medication
... form 0..1 CodeableConcept Darreichungsform
Binding: IVI Medication Form (preferred)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.form Base preferred IVI Medication Form 📦2025.0.0-alpha This IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MII_PR_Medikation_Medication Definition of a Medication
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ 0..* Identifier Business identifier for this medication
... code SΣ 0..1 CodeableConcept Code
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Pharmazentralnummer SΣN 0..* Coding PZN Code
Binding: PZN ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:atcClassDe SΣN 0..* Coding ATC Code
Binding: ATC ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:atcClassEn SΣN 0..* Coding ATC WHO Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string Plain text representation of the concept
... 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 ΣC 0..1 Reference(Organization) Manufacturer of the item
Constraints: ref-1
... form S 0..1 CodeableConcept Darreichungsform
Binding: IVI Medication Form (preferred)
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:EDQM SΣN 0..* Coding EDQM Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... amount ΣC 0..1 Ratio Amount of drug in package
Constraints: rat-1
... ingredient S 1..* BackboneElement Bestandteil
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension SN 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:Wirkstofftyp SN 0..1 Coding Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp
Binding: MII VS Medikation Wirkstofftypen (required)
..... extension:Wirkstoffrelation SN 0..* (Complex) Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstoffrelation
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] N 1..1 The actual ingredient or content
Slice: Unordered, Open by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference SN 0..1 Reference(Substance | MII PR Medikation Medication) The actual ingredient or content
..... item[x]:itemCodeableConcept SN 0..1 CodeableConcept The actual ingredient or content
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
....... coding:ASK SΣN 0..* Coding ASK Code
Binding: ASK ValueSet (required)

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:UNII SΣN 0..* Coding UNII Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fdasis.nlm.nih.gov
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:CAS SΣN 0..* Coding CAS Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/CAS
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:SNOMED SΣN 0..* Coding SNOMED CT Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text SΣ 0..1 string Plain text representation of the concept
.... isActive 0..1 boolean Active ingredient indicator
.... strength SC 0..1 Ratio Menge|Stärke
Constraints: rat-1
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... numerator SΣC 0..1 Quantity Numerator value
Constraints: qty-3
..... denominator SΣC 0..1 Quantity Denominator value
Constraints: qty-3
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... 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

Path Status Usage ValueSet Version Source
Medication.meta.security Base extensible SecurityLabels 📦4.0.1 FHIR Std.
Medication.meta.tag Base example Common Tags 📦4.0.1 FHIR Std.
Medication.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Medication.code Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
Medication.code.coding:Pharmazentralnummer Base required PZN ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.code.coding:atcClassDe Base required ATC ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base preferred IVI Medication Form 📦2025.0.0-alpha This IG
Medication.ingredient.​item[x]:itemCodeableConcept.​coding:ASK Base required ASK ValueSet 📦1.5.4 de.basisprofil.r4 v1.5

Constraints

Id Grade Path(s) Description Expression
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()
qty-3 error Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
rat-1 error Medication.amount, Medication.ingredient.strength Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
ref-1 error Medication.manufacturer SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from MII_PR_Medikation_Medication

Summary

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MII_PR_Medikation_Medication Definition of a Medication
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... code SΣ 0..1 CodeableConcept Code
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Pharmazentralnummer SΣN 0..* Coding PZN Code
Binding: PZN ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code Symbol in syntax defined by the system
..... coding:atcClassDe SΣN 0..* Coding ATC Code
Binding: ATC ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
..... coding:atcClassEn SΣN 0..* Coding ATC WHO Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
.... text SΣ 0..1 string Plain text representation of the concept
... 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.
... form S 0..1 CodeableConcept Darreichungsform
Binding: IVI Medication Form (preferred)
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:EDQM SΣN 0..* Coding EDQM Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... system SΣ 1..1 uri Identity of the terminology system
...... code SΣ 1..1 code Symbol in syntax defined by the system
... ingredient S 1..* BackboneElement Bestandteil
.... Slices for extension SN 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:Wirkstofftyp SN 0..1 Coding Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp
Binding: MII VS Medikation Wirkstofftypen (required)
..... extension:Wirkstoffrelation SN 0..* (Complex) Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstoffrelation
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] N 1..1 The actual ingredient or content
Slice: Unordered, Open by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference SN 0..1 Reference(Substance | MII PR Medikation Medication) The actual ingredient or content
..... item[x]:itemCodeableConcept SN 0..1 CodeableConcept The actual ingredient or content
...... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
....... coding:ASK SΣN 0..* Coding ASK Code
Binding: ASK ValueSet (required)

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
....... coding:UNII SΣN 0..* Coding UNII Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fdasis.nlm.nih.gov
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
....... coding:CAS SΣN 0..* Coding CAS Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/CAS
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
....... coding:SNOMED SΣN 0..* Coding SNOMED CT Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ system SΣ 1..1 uri Identity of the terminology system
........ code SΣ 1..1 code Symbol in syntax defined by the system
...... text SΣ 0..1 string Plain text representation of the concept
.... strength SC 0..1 Ratio Menge|Stärke
Constraints: rat-1
..... numerator SΣC 0..1 Quantity Numerator value
Constraints: qty-3
..... denominator SΣC 0..1 Quantity Denominator value
Constraints: qty-3

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
Medication.code.coding:Pharmazentralnummer Base required PZN ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.code.coding:atcClassDe Base required ATC ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base preferred IVI Medication Form 📦2025.0.0-alpha This IG
Medication.ingredient.​item[x]:itemCodeableConcept.​coding:ASK Base required ASK ValueSet 📦1.5.4 de.basisprofil.r4 v1.5

Constraints

Id Grade Path(s) Description Expression
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()
qty-3 error Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
rat-1 error Medication.ingredient.strength Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())

Differential View

This structure is derived from MII_PR_Medikation_Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MII_PR_Medikation_Medication Definition of a Medication
... form 0..1 CodeableConcept Darreichungsform
Binding: IVI Medication Form (preferred)

doco Documentation for this format

Terminology Bindings (Differential)

Path Status Usage ValueSet Version Source
Medication.form Base preferred IVI Medication Form 📦2025.0.0-alpha This IG

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MII_PR_Medikation_Medication Definition of a Medication
... id SΣ 0..1 id Logical id of this artifact
... meta SΣ 0..1 Meta Metadata about the resource
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source SΣ 0..1 uri Identifies where the resource comes from
.... profile SΣ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... 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
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
... modifierExtension ?!N 0..* Extension Extensions that cannot be ignored
Slice: Unordered, Open by value:url
... identifier Σ 0..* Identifier Business identifier for this medication
... code SΣ 0..1 CodeableConcept Code
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:Pharmazentralnummer SΣN 0..* Coding PZN Code
Binding: PZN ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ifa/pzn
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:atcClassDe SΣN 0..* Coding ATC Code
Binding: ATC ValueSet (required)

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/bfarm/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:atcClassEn SΣN 0..* Coding ATC WHO Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version SΣ 1..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text SΣ 0..1 string Plain text representation of the concept
... 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 ΣC 0..1 Reference(Organization) Manufacturer of the item
Constraints: ref-1
... form S 0..1 CodeableConcept Darreichungsform
Binding: IVI Medication Form (preferred)
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding SΣN 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
..... coding:EDQM SΣN 0..* Coding EDQM Code

Required Pattern: At least the following
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://standardterms.edqm.eu
...... version 0..1 string Version of the system - if relevant
...... code 0..1 code Symbol in syntax defined by the system
...... display 0..1 string Representation defined by the system
...... userSelected 0..1 boolean If this coding was chosen directly by the user
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system SΣ 1..1 uri Identity of the terminology system
...... version Σ 0..1 string Version of the system - if relevant
...... code SΣ 1..1 code Symbol in syntax defined by the system
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Plain text representation of the concept
... amount ΣC 0..1 Ratio Amount of drug in package
Constraints: rat-1
... ingredient S 1..* BackboneElement Bestandteil
.... id 0..1 string Unique id for inter-element referencing
.... Slices for extension SN 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... extension:Wirkstofftyp SN 0..1 Coding Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstofftyp
Binding: MII VS Medikation Wirkstofftypen (required)
..... extension:Wirkstoffrelation SN 0..* (Complex) Optional Extensions Element
URL: https://www.medizininformatik-initiative.de/fhir/core/modul-medikation/StructureDefinition/wirkstoffrelation
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] N 1..1 The actual ingredient or content
Slice: Unordered, Open by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference SN 0..1 Reference(Substance | MII PR Medikation Medication) The actual ingredient or content
..... item[x]:itemCodeableConcept SN 0..1 CodeableConcept The actual ingredient or content
...... id 0..1 string Unique id for inter-element referencing
...... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... Slices for coding SΣN 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:$this
....... coding:ASK SΣN 0..* Coding ASK Code
Binding: ASK ValueSet (required)

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fhir.de/CodeSystem/ask
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:UNII SΣN 0..* Coding UNII Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://fdasis.nlm.nih.gov
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:CAS SΣN 0..* Coding CAS Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://terminology.hl7.org/CodeSystem/CAS
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
....... coding:SNOMED SΣN 0..* Coding SNOMED CT Code

Required Pattern: At least the following
........ id 0..1 string Unique id for inter-element referencing
........ extension 0..* Extension Additional content defined by implementations
........ system 1..1 uri Identity of the terminology system
Fixed Value: http://snomed.info/sct
........ version 0..1 string Version of the system - if relevant
........ code 0..1 code Symbol in syntax defined by the system
........ display 0..1 string Representation defined by the system
........ userSelected 0..1 boolean If this coding was chosen directly by the user
........ id 0..1 string Unique id for inter-element referencing
........ extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
........ system SΣ 1..1 uri Identity of the terminology system
........ version Σ 0..1 string Version of the system - if relevant
........ code SΣ 1..1 code Symbol in syntax defined by the system
........ display Σ 0..1 string Representation defined by the system
........ userSelected Σ 0..1 boolean If this coding was chosen directly by the user
...... text SΣ 0..1 string Plain text representation of the concept
.... isActive 0..1 boolean Active ingredient indicator
.... strength SC 0..1 Ratio Menge|Stärke
Constraints: rat-1
..... id 0..1 string Unique id for inter-element referencing
..... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... numerator SΣC 0..1 Quantity Numerator value
Constraints: qty-3
..... denominator SΣC 0..1 Quantity Denominator value
Constraints: qty-3
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension N 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... 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

Path Status Usage ValueSet Version Source
Medication.meta.security Base extensible SecurityLabels 📦4.0.1 FHIR Std.
Medication.meta.tag Base example Common Tags 📦4.0.1 FHIR Std.
Medication.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Medication.code Base example SNOMED CT Medication Codes 📦4.0.1 FHIR Std.
Medication.code.coding:Pharmazentralnummer Base required PZN ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.code.coding:atcClassDe Base required ATC ValueSet 📦1.5.4 de.basisprofil.r4 v1.5
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base preferred IVI Medication Form 📦2025.0.0-alpha This IG
Medication.ingredient.​item[x]:itemCodeableConcept.​coding:ASK Base required ASK ValueSet 📦1.5.4 de.basisprofil.r4 v1.5

Constraints

Id Grade Path(s) Description Expression
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()
qty-3 error Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator If a code for the unit is present, the system SHALL also be present code.empty() or system.exists()
rat-1 error Medication.amount, Medication.ingredient.strength Numerator and denominator SHALL both be present, or both are absent. If both are absent, there SHALL be some extension present (numerator.empty() xor denominator.exists()) and (numerator.exists() or extension.exists())
ref-1 error Medication.manufacturer SHALL have a contained resource if a local reference is provided reference.startsWith('#').not() or (reference.substring(1).trace('url') in %rootResource.contained.id.trace('ids'))

This structure is derived from MII_PR_Medikation_Medication

Summary

 

Other representations of profile: CSV, Excel, Schematron