Legemiddeldata fra institusjon til Legemiddelregisteret — 1.0.6 - ci-build Norway flag

Publish Box goes here

Resource Profile: Legemiddel

Official URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/lmdi-medication Version: 1.0.6
Draft as of 2025-09-12 Computable Name: Legemiddel

Beskrivelse av legemiddel.

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.

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... text 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:classification 0..* CodeableConcept Klassifisering av legemidlet, fortrinnsvis ved bruk av ATC-kode fra WHO ATC kodesystem. Ett legemiddel kan ha inntil én ATC-kode.
URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/legemiddel-classification
Binding: ATC Kodesystem ValueSet (preferred): ATC kode fra WHO ATC kodesystem
... code 0..1 CodeableConcept Identifikator fra FEST, SNOMED CT eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
Binding: Gyldige legemiddelkoder (extensible)
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FestLegemiddeldose 0..1 Coding FEST-id for legemiddeldose
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... code 1..1 code Identifikator fra FEST
..... coding:FestLmrLopenr 0..1 Coding Fest-løpenummer som identifiserer legemiddeldose
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/lmrLopenummer
...... code 1..1 code 7‑sifret nummer
..... coding:FestLegemiddelMerkevare 0..1 Coding FEST-id for LegemiddelMerkevare
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... code 1..1 code Identifikator fra FEST
..... coding:FestLegemiddelpakning 0..1 Coding FEST-id for legemiddelpakning
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... code 1..1 code Identifikator fra FEST
..... coding:Varenummer 0..1 Coding Varenummer - Unikt produktnummer for legemiddelpakninger
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/fest-varenummer
...... code 1..1 code Varenummer
..... coding:FestVirkestoff 0..1 Coding FEST-id for legemiddel virkestoff
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... code 1..1 code Identifikator fra FEST
..... coding:LokaltLegemiddel 0..1 Coding Legemiddel fra lokal katalog
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... code 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
...... display 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
..... coding:SCT 0..1 Coding SNOMED CT-kode for legemiddel
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
...... code 1..1 code SNOMED CT-koden skal være et underbegrep av 'Legemiddel (product)' [763158003] eller 'Substans (substance)' [105590001].
.... text 0..0
... form 0..1 CodeableConcept Legemiddelform
.... Slices for coding 1..* Coding Legemiddelform
Slice: Unordered, Closed by value:system
..... coding:All Slices Content/Rules for all slices
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... coding:7448 0..1 Coding Kodeverk Legemiddelform (OID:7448) fra FEST
...... system 1..1 uri Identity of the terminology system
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... code 1..1 code Verdi fra kodeverket
...... display 0..1 string Beskrivelse av koden (navn) fra kodeverket
..... coding:SCT 0..1 Coding SNOMED CT Form Codes
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
.... text 0..0
... ingredient
.... Slices for item[x] 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
Slice: Unordered, Open by type:$this
..... item[x]:itemReference 0..1 Reference(Virkestoff | Legemiddel) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Gyldige legemiddelkoder (preferred)
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.codeextensibleLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG
Medication.ingredient.item[x]:itemCodeableConceptpreferredLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:classification 0..* CodeableConcept Klassifisering av legemidlet, fortrinnsvis ved bruk av ATC-kode fra WHO ATC kodesystem. Ett legemiddel kan ha inntil én ATC-kode.
URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/legemiddel-classification
Binding: ATC Kodesystem ValueSet (preferred): ATC kode fra WHO ATC kodesystem
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FestLegemiddeldose Σ 0..1 Coding FEST-id for legemiddeldose
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... code Σ 1..1 code Identifikator fra FEST
..... coding:FestLmrLopenr Σ 0..1 Coding Fest-løpenummer som identifiserer legemiddeldose
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/lmrLopenummer
...... code Σ 1..1 code 7‑sifret nummer
..... coding:FestLegemiddelMerkevare Σ 0..1 Coding FEST-id for LegemiddelMerkevare
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... code Σ 1..1 code Identifikator fra FEST
..... coding:FestLegemiddelpakning Σ 0..1 Coding FEST-id for legemiddelpakning
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... code Σ 1..1 code Identifikator fra FEST
..... coding:Varenummer Σ 0..1 Coding Varenummer - Unikt produktnummer for legemiddelpakninger
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/fest-varenummer
...... code Σ 1..1 code Varenummer
..... coding:FestVirkestoff Σ 0..1 Coding FEST-id for legemiddel virkestoff
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... code Σ 1..1 code Identifikator fra FEST
..... coding:LokaltLegemiddel Σ 0..1 Coding Legemiddel fra lokal katalog
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... code Σ 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
...... display Σ 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
..... coding:SCT Σ 0..1 Coding SNOMED CT-kode for legemiddel
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
...... code Σ 1..1 code SNOMED CT-koden skal være et underbegrep av 'Legemiddel (product)' [763158003] eller 'Substans (substance)' [105590001].
... 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 0..1 CodeableConcept Legemiddelform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
.... Slices for coding Σ 1..* Coding Legemiddelform
Slice: Unordered, Closed by value:system
..... coding:All Slices Content/Rules for all slices
...... system Σ 1..1 uri Identity of the terminology system
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
..... coding:7448 Σ 0..1 Coding Kodeverk Legemiddelform (OID:7448) fra FEST
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... code Σ 1..1 code Verdi fra kodeverket
...... display SΣ 0..1 string Beskrivelse av koden (navn) fra kodeverket
..... coding:SCT Σ 0..1 Coding SNOMED CT Form Codes
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.codeextensibleLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes|4.0.1
From the FHIR Standard

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:classification 0..* CodeableConcept Klassifisering av legemidlet, fortrinnsvis ved bruk av ATC-kode fra WHO ATC kodesystem. Ett legemiddel kan ha inntil én ATC-kode.
URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/legemiddel-classification
Binding: ATC Kodesystem ValueSet (preferred): ATC kode fra WHO ATC kodesystem
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept Identifikator fra FEST, SNOMED CT eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
Binding: Gyldige legemiddelkoder (extensible)
.... 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 Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FestLegemiddeldose Σ 0..1 Coding FEST-id for legemiddeldose
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestLmrLopenr Σ 0..1 Coding Fest-løpenummer som identifiserer legemiddeldose
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/lmrLopenummer
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code 7‑sifret nummer
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestLegemiddelMerkevare Σ 0..1 Coding FEST-id for LegemiddelMerkevare
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestLegemiddelpakning Σ 0..1 Coding FEST-id for legemiddelpakning
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:Varenummer Σ 0..1 Coding Varenummer - Unikt produktnummer for legemiddelpakninger
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/fest-varenummer
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Varenummer
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestVirkestoff Σ 0..1 Coding FEST-id for legemiddel virkestoff
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:LokaltLegemiddel Σ 0..1 Coding Legemiddel fra lokal katalog
...... 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
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
...... display Σ 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:SCT Σ 0..1 Coding SNOMED CT-kode for legemiddel
...... 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
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code SNOMED CT-koden skal være et underbegrep av 'Legemiddel (product)' [763158003] eller 'Substans (substance)' [105590001].
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... 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 0..1 CodeableConcept Legemiddelform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form 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 Legemiddelform
Slice: Unordered, Closed by value:system
..... coding:All Slices Content/Rules for all slices
...... 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
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:7448 Σ 0..1 Coding Kodeverk Legemiddelform (OID:7448) fra FEST
...... 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
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Verdi fra kodeverket
...... display SΣ 0..1 string Beskrivelse av koden (navn) fra kodeverket
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:SCT Σ 0..1 Coding SNOMED CT Form Codes
...... 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
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 0..* BackboneElement Active or inactive 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, Closed by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference 0..1 Reference(Virkestoff | Legemiddel) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Gyldige legemiddelkoder (preferred)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages|4.0.1
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.codeextensibleLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes|4.0.1
From the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConceptpreferredLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG

Constraints

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

This structure is derived from Medication

Summary

Mandatory: 0 element(20 nested mandatory elements)
Must-Support: 2 elements
Prohibited: 4 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.code.coding
  • The element 1 is sliced based on the value of Medication.form.coding (Closed)
  • The element 1 is sliced based on the value of Medication.ingredient.item[x]

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... text 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:classification 0..* CodeableConcept Klassifisering av legemidlet, fortrinnsvis ved bruk av ATC-kode fra WHO ATC kodesystem. Ett legemiddel kan ha inntil én ATC-kode.
URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/legemiddel-classification
Binding: ATC Kodesystem ValueSet (preferred): ATC kode fra WHO ATC kodesystem
... code 0..1 CodeableConcept Identifikator fra FEST, SNOMED CT eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
Binding: Gyldige legemiddelkoder (extensible)
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FestLegemiddeldose 0..1 Coding FEST-id for legemiddeldose
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... code 1..1 code Identifikator fra FEST
..... coding:FestLmrLopenr 0..1 Coding Fest-løpenummer som identifiserer legemiddeldose
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/lmrLopenummer
...... code 1..1 code 7‑sifret nummer
..... coding:FestLegemiddelMerkevare 0..1 Coding FEST-id for LegemiddelMerkevare
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... code 1..1 code Identifikator fra FEST
..... coding:FestLegemiddelpakning 0..1 Coding FEST-id for legemiddelpakning
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... code 1..1 code Identifikator fra FEST
..... coding:Varenummer 0..1 Coding Varenummer - Unikt produktnummer for legemiddelpakninger
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/fest-varenummer
...... code 1..1 code Varenummer
..... coding:FestVirkestoff 0..1 Coding FEST-id for legemiddel virkestoff
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... code 1..1 code Identifikator fra FEST
..... coding:LokaltLegemiddel 0..1 Coding Legemiddel fra lokal katalog
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... code 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
...... display 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
..... coding:SCT 0..1 Coding SNOMED CT-kode for legemiddel
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
...... code 1..1 code SNOMED CT-koden skal være et underbegrep av 'Legemiddel (product)' [763158003] eller 'Substans (substance)' [105590001].
.... text 0..0
... form 0..1 CodeableConcept Legemiddelform
.... Slices for coding 1..* Coding Legemiddelform
Slice: Unordered, Closed by value:system
..... coding:All Slices Content/Rules for all slices
...... system 1..1 uri Identity of the terminology system
...... code 1..1 code Symbol in syntax defined by the system
...... display S 0..1 string Representation defined by the system
..... coding:7448 0..1 Coding Kodeverk Legemiddelform (OID:7448) fra FEST
...... system 1..1 uri Identity of the terminology system
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... code 1..1 code Verdi fra kodeverket
...... display 0..1 string Beskrivelse av koden (navn) fra kodeverket
..... coding:SCT 0..1 Coding SNOMED CT Form Codes
...... system 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
.... text 0..0
... ingredient
.... Slices for item[x] 1..1 CodeableConcept, Reference(Substance | Medication) The actual ingredient or content
Slice: Unordered, Open by type:$this
..... item[x]:itemReference 0..1 Reference(Virkestoff | Legemiddel) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Gyldige legemiddelkoder (preferred)
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet

doco Documentation for this format

Terminology Bindings (Differential)

PathConformanceValueSetURI
Medication.codeextensibleLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG
Medication.ingredient.item[x]:itemCodeableConceptpreferredLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:classification 0..* CodeableConcept Klassifisering av legemidlet, fortrinnsvis ved bruk av ATC-kode fra WHO ATC kodesystem. Ett legemiddel kan ha inntil én ATC-kode.
URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/legemiddel-classification
Binding: ATC Kodesystem ValueSet (preferred): ATC kode fra WHO ATC kodesystem
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FestLegemiddeldose Σ 0..1 Coding FEST-id for legemiddeldose
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... code Σ 1..1 code Identifikator fra FEST
..... coding:FestLmrLopenr Σ 0..1 Coding Fest-løpenummer som identifiserer legemiddeldose
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/lmrLopenummer
...... code Σ 1..1 code 7‑sifret nummer
..... coding:FestLegemiddelMerkevare Σ 0..1 Coding FEST-id for LegemiddelMerkevare
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... code Σ 1..1 code Identifikator fra FEST
..... coding:FestLegemiddelpakning Σ 0..1 Coding FEST-id for legemiddelpakning
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... code Σ 1..1 code Identifikator fra FEST
..... coding:Varenummer Σ 0..1 Coding Varenummer - Unikt produktnummer for legemiddelpakninger
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/fest-varenummer
...... code Σ 1..1 code Varenummer
..... coding:FestVirkestoff Σ 0..1 Coding FEST-id for legemiddel virkestoff
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... code Σ 1..1 code Identifikator fra FEST
..... coding:LokaltLegemiddel Σ 0..1 Coding Legemiddel fra lokal katalog
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... code Σ 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
...... display Σ 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
..... coding:SCT Σ 0..1 Coding SNOMED CT-kode for legemiddel
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
...... code Σ 1..1 code SNOMED CT-koden skal være et underbegrep av 'Legemiddel (product)' [763158003] eller 'Substans (substance)' [105590001].
... 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 0..1 CodeableConcept Legemiddelform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
.... Slices for coding Σ 1..* Coding Legemiddelform
Slice: Unordered, Closed by value:system
..... coding:All Slices Content/Rules for all slices
...... system Σ 1..1 uri Identity of the terminology system
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
..... coding:7448 Σ 0..1 Coding Kodeverk Legemiddelform (OID:7448) fra FEST
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... code Σ 1..1 code Verdi fra kodeverket
...... display SΣ 0..1 string Beskrivelse av koden (navn) fra kodeverket
..... coding:SCT Σ 0..1 Coding SNOMED CT Form Codes
...... system Σ 1..1 uri Identity of the terminology system
Required Pattern: http://snomed.info/sct
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.codeextensibleLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes|4.0.1
From the FHIR Standard

Constraints

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

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Closed by value:url
.... extension:classification 0..* CodeableConcept Klassifisering av legemidlet, fortrinnsvis ved bruk av ATC-kode fra WHO ATC kodesystem. Ett legemiddel kan ha inntil én ATC-kode.
URL: http://hl7.no/fhir/ig/lmdi/StructureDefinition/legemiddel-classification
Binding: ATC Kodesystem ValueSet (preferred): ATC kode fra WHO ATC kodesystem
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept Identifikator fra FEST, SNOMED CT eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
Binding: Gyldige legemiddelkoder (extensible)
.... 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 Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FestLegemiddeldose Σ 0..1 Coding FEST-id for legemiddeldose
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestLmrLopenr Σ 0..1 Coding Fest-løpenummer som identifiserer legemiddeldose
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/lmrLopenummer
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code 7‑sifret nummer
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestLegemiddelMerkevare Σ 0..1 Coding FEST-id for LegemiddelMerkevare
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestLegemiddelpakning Σ 0..1 Coding FEST-id for legemiddelpakning
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:Varenummer Σ 0..1 Coding Varenummer - Unikt produktnummer for legemiddelpakninger
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/fest-varenummer
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Varenummer
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:FestVirkestoff Σ 0..1 Coding FEST-id for legemiddel virkestoff
...... 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
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra FEST
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:LokaltLegemiddel Σ 0..1 Coding Legemiddel fra lokal katalog
...... 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
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
...... display Σ 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:SCT Σ 0..1 Coding SNOMED CT-kode for legemiddel
...... 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
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code SNOMED CT-koden skal være et underbegrep av 'Legemiddel (product)' [763158003] eller 'Substans (substance)' [105590001].
...... display Σ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... 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 0..1 CodeableConcept Legemiddelform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form 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 Legemiddelform
Slice: Unordered, Closed by value:system
..... coding:All Slices Content/Rules for all slices
...... 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
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:7448 Σ 0..1 Coding Kodeverk Legemiddelform (OID:7448) fra FEST
...... 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
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Verdi fra kodeverket
...... display SΣ 0..1 string Beskrivelse av koden (navn) fra kodeverket
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
..... coding:SCT Σ 0..1 Coding SNOMED CT Form Codes
...... 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
Required Pattern: http://snomed.info/sct
...... version Σ 0..1 string Version of the system - if relevant
...... code Σ 1..1 code Symbol in syntax defined by the system
...... display SΣ 0..1 string Representation defined by the system
...... userSelected Σ 0..1 boolean If this coding was chosen directly by the user
... amount Σ 0..1 Ratio Amount of drug in package
... ingredient 0..* BackboneElement Active or inactive 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, Closed by type:$this
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Medication)
..... item[x]:itemReference 0..1 Reference(Virkestoff | Legemiddel) The actual ingredient or content
..... item[x]:itemCodeableConcept 0..1 CodeableConcept The actual ingredient or content
Binding: Gyldige legemiddelkoder (preferred)
.... isActive 0..1 boolean Active ingredient indicator
.... strength 0..1 Ratio Quantity of ingredient present
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.languagepreferredCommonLanguages
http://hl7.org/fhir/ValueSet/languages|4.0.1
From the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.codeextensibleLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
From the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes|4.0.1
From the FHIR Standard
Medication.ingredient.item[x]:itemCodeableConceptpreferredLegemiddelKoder
http://hl7.no/fhir/ig/lmdi/ValueSet/legemiddel-koder
From this IG

Constraints

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

This structure is derived from Medication

Summary

Mandatory: 0 element(20 nested mandatory elements)
Must-Support: 2 elements
Prohibited: 4 elements

Structures

This structure refers to these other structures:

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element 1 is sliced based on the value of Medication.code.coding
  • The element 1 is sliced based on the value of Medication.form.coding (Closed)
  • The element 1 is sliced based on the value of Medication.ingredient.item[x]

 

Other representations of profile: CSV, Excel, Schematron