FHIR Implementatiegids voor de Nederlandse Kankerregistratie
1.4.0 - release

FHIR Implementatiegids voor de Nederlandse Kankerregistratie - Local Development build (v1.4.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile: NcrEhrMedication

Official URL: http://fhir.iknl.nl/fhir/iknl-ncr-ehr-r4/StructureDefinition/ncr-ehr-medication Version: 1.4.0
Draft as of 2026-01-22 Computable Name: NcrEhrMedication

Copyright/Legal: Copyright and related rights waived via CC0, https://creativecommons.org/publicdomain/zero/1.0/. This does not apply to information from third parties, for example a medical terminology system. The implementer alone is responsible for identifying and obtaining any necessary licenses or authorizations to utilize third party IP in connection with the specification or otherwise.

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..* MpPharmaceuticalProduct PharmaceuticalProduct
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:description N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalProduct.Description
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ziCoding Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.840.1.113883.2.4.4.8
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
..... coding:atcCoding SΣ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
... 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.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base extensible ProductCodeCodelijsten 📦2023-02-13T12:02:50 FHIR implementation of Medication Process 9 v2.0
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.

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 Medication.extension:description, Medication.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MpPharmaceuticalProduct

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MpPharmaceuticalProduct PharmaceuticalProduct
... code
.... Slices for coding 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ziCoding 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.840.1.113883.2.4.4.8
...... code 1..1 code Symbol in syntax defined by the system
...... display 1..1 string Representation defined by the system
..... coding:atcCoding S 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code 1..1 code Symbol in syntax defined by the system
...... display 1..1 string Representation defined by the system

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MpPharmaceuticalProduct PharmaceuticalProduct
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:description N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalProduct.Description
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept MedicationCode
Binding: ProductCodeCodelijsten (extensible): A coded concept that defines the type of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ziCoding Σ 0..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.840.1.113883.2.4.4.8
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:atcCoding SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... 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 Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Medication
... 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 0..1 CodeableConcept PharmaceuticalForm
Binding: FarmaceutischeVormCodelijst (required): A coded concept defining the form of a medication.
... amount ΣC 0..1 Ratio Amount of drug in package
Constraints: rat-1
... ingredient 0..* BackboneElement Ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Open by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept 0..1 CodeableConcept SubstanceCode
Binding: IngredientCodeCodelijsten (required)
.... isActive 0..1 boolean Active ingredient indicator
.... strength C 0..1 Ratio Concentration
Constraints: rat-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... numerator ΣC 0..1 PatternGstdSimpleQuantity IngredientAmount
Constraints: qty-3, sqty-1
..... denominator ΣC 0..1 PatternGstdSimpleQuantity ProductAmount
Constraints: qty-3, sqty-1
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Medication.code Base extensible ProductCodeCodelijsten 📦2023-02-13T12:02:50 FHIR implementation of Medication Process 9 v2.0
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base required FarmaceutischeVormCodelijst 📦2020-09-01T00:00:00 FHIR implementation of zibs 2020 v0.12
Medication.ingredient.​item[x]:itemCodeableConcept Base required IngredientCodeCodelijsten 📦2020-09-01T00:00:00 FHIR implementation of zibs 2020 v0.12

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
ref-1 error Medication.manufacturer SHALL have a contained resource if a local reference is provided
sqty-1 error Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MpPharmaceuticalProduct

Summary

Mandatory: 0 element(8 nested mandatory elements)
Must-Support: 1 element
Fixed: 2 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.code.coding

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MpPharmaceuticalProduct PharmaceuticalProduct
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension Content/Rules for all slices
.... extension:description N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalProduct.Description
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ziCoding Σ 0..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.840.1.113883.2.4.4.8
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
..... coding:atcCoding SΣ 1..1 Coding Code defined by a terminology system
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
... 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.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.code Base extensible ProductCodeCodelijsten 📦2023-02-13T12:02:50 FHIR implementation of Medication Process 9 v2.0
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.

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 Medication.extension:description, Medication.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from MpPharmaceuticalProduct

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MpPharmaceuticalProduct PharmaceuticalProduct
... code
.... Slices for coding 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ziCoding 0..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.840.1.113883.2.4.4.8
...... code 1..1 code Symbol in syntax defined by the system
...... display 1..1 string Representation defined by the system
..... coding:atcCoding S 1..1 Coding Code defined by a terminology system
...... system 1..1 uri Identity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code 1..1 code Symbol in syntax defined by the system
...... display 1..1 string Representation defined by the system

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* MpPharmaceuticalProduct PharmaceuticalProduct
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... extension:description N 0..1 string Optional Extensions Element
URL: http://nictiz.nl/fhir/StructureDefinition/ext-PharmaceuticalProduct.Description
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept MedicationCode
Binding: ProductCodeCodelijsten (extensible): A coded concept that defines the type of a medication.
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ 1..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:ziCoding Σ 0..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ 1..1 uri Identity of the terminology system
Fixed Value: urn:oid:2.16.840.1.113883.2.4.4.8
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:atcCoding SΣ 1..1 Coding Code defined by a terminology system
...... id 0..1 string Unique id for inter-element referencing
...... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
...... 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 Σ 1..1 code Symbol in syntax defined by the system
...... display Σ 1..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
.... text Σ 0..1 string Medication
... 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 0..1 CodeableConcept PharmaceuticalForm
Binding: FarmaceutischeVormCodelijst (required): A coded concept defining the form of a medication.
... amount ΣC 0..1 Ratio Amount of drug in package
Constraints: rat-1
... ingredient 0..* BackboneElement Ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... Slices for item[x] 1..1 The actual ingredient or content
Slice: Unordered, Open by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemCodeableConcept 0..1 CodeableConcept SubstanceCode
Binding: IngredientCodeCodelijsten (required)
.... isActive 0..1 boolean Active ingredient indicator
.... strength C 0..1 Ratio Concentration
Constraints: rat-1
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
..... numerator ΣC 0..1 PatternGstdSimpleQuantity IngredientAmount
Constraints: qty-3, sqty-1
..... denominator ΣC 0..1 PatternGstdSimpleQuantity ProductAmount
Constraints: qty-3, sqty-1
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.language Base preferred Common Languages 📦4.0.1 FHIR Std.
Medication.code Base extensible ProductCodeCodelijsten 📦2023-02-13T12:02:50 FHIR implementation of Medication Process 9 v2.0
Medication.status Base required Medication status codes 📍4.0.1 FHIR Std.
Medication.form Base required FarmaceutischeVormCodelijst 📦2020-09-01T00:00:00 FHIR implementation of zibs 2020 v0.12
Medication.ingredient.​item[x]:itemCodeableConcept Base required IngredientCodeCodelijsten 📦2020-09-01T00:00:00 FHIR implementation of zibs 2020 v0.12

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
ref-1 error Medication.manufacturer SHALL have a contained resource if a local reference is provided
sqty-1 error Medication.ingredient.strength.numerator, Medication.ingredient.strength.denominator The comparator is not used on a SimpleQuantity comparator.empty()

This structure is derived from MpPharmaceuticalProduct

Summary

Mandatory: 0 element(8 nested mandatory elements)
Must-Support: 1 element
Fixed: 2 elements

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.code.coding

 

Other representations of profile: CSV, Excel, Schematron