Legemiddeldata fra institusjon til Legemiddelregisteret — 1.0.3 - 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.3
Draft as of 2025-04-11 Computable Name: Legemiddel

Beskrivelse av legemiddel.

Usage:

Formal Views of Profile Content

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

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* Medication Definition of a Medication
... text 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open 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 eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:FestDose 0..1 Coding FEST-id for legemiddel DOSE
...... 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:FestMerkevare 0..1 Coding FEST-id for legemiddel MERKEVARE
...... 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:FestPakning 0..1 Coding FEST-id for legemiddel PAKNING
...... 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: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
...... Slices for extension Content/Rules for all slices
....... extension:lokalLegemiddelkatalog 0..1 Coding Lokal Legemiddelkatalog
URL: http://fhi.no/fhir/lmr/lokal-legemiddel-katalog
Binding: Lokal Legemiddelkatalog Values (required)
...... 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
.... text 0..0
... form 0..1 CodeableConcept Legemiddelform
.... Slices for coding 1..* Coding Legemiddelform
Slice: Unordered, Closed by pattern: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 (7448) fra FEST/eResept
...... 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
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Legemiddel)
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* Medication Definition of a Medication
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... 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


ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:FestDose Σ 0..1 Coding FEST-id for legemiddel DOSE
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:FestMerkevare Σ 0..1 Coding FEST-id for legemiddel MERKEVARE
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:FestPakning Σ 0..1 Coding FEST-id for legemiddel PAKNING
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:FestVirkestoff Σ 0..1 Coding FEST-id for legemiddel VIRKESTOFF
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:LokaltLegemiddel Σ 0..1 Coding Legemiddel fra lokal katalog
ele-1: All FHIR elements must have a @value or children
...... Slices for extension Content/Rules for all slices
....... extension:lokalLegemiddelkatalog 0..1 Coding Lokal Legemiddelkatalog
URL: http://fhi.no/fhir/lmr/lokal-legemiddel-katalog
Binding: Lokal Legemiddelkatalog Values (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... code Σ 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
ele-1: All FHIR elements must have a @value or children
...... display Σ 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
ele-1: All FHIR elements must have a @value or children
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.


ele-1: All FHIR elements must have a @value or children
... form 0..1 CodeableConcept Legemiddelform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 1..* Coding Legemiddelform
Slice: Unordered, Closed by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:All Slices Content/Rules for all slices
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:7448 Σ 0..1 Coding Kodeverk Legemiddelform (7448) fra FEST/eResept
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... code Σ 1..1 code Verdi fra kodeverket
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Beskrivelse av koden (navn) fra kodeverket
ele-1: All FHIR elements must have a @value or children
..... coding:SCT Σ 0..1 Coding SNOMED CT Form Codes
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://snomed.info/sct
...... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
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 & Constraintsdoco
.. 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, Open 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 eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
Binding: SNOMEDCTMedicationCodes (example): 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 Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:FestDose Σ 0..1 Coding FEST-id for legemiddel DOSE
...... 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:FestMerkevare Σ 0..1 Coding FEST-id for legemiddel MERKEVARE
...... 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:FestPakning Σ 0..1 Coding FEST-id for legemiddel PAKNING
...... 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: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
...... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:lokalLegemiddelkatalog 0..1 Coding Lokal Legemiddelkatalog
URL: http://fhi.no/fhir/lmr/lokal-legemiddel-katalog
Binding: Lokal Legemiddelkatalog Values (required)
...... 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
... 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 pattern: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 (7448) fra FEST/eResept
...... 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
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Legemiddel)
.... 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
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
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()

This structure is derived from Medication

Summary

Mandatory: 0 element(14 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)

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* Medication Definition of a Medication
... text 0..0
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open 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 eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
.... Slices for coding 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:FestDose 0..1 Coding FEST-id for legemiddel DOSE
...... 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:FestMerkevare 0..1 Coding FEST-id for legemiddel MERKEVARE
...... 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:FestPakning 0..1 Coding FEST-id for legemiddel PAKNING
...... 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: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
...... Slices for extension Content/Rules for all slices
....... extension:lokalLegemiddelkatalog 0..1 Coding Lokal Legemiddelkatalog
URL: http://fhi.no/fhir/lmr/lokal-legemiddel-katalog
Binding: Lokal Legemiddelkatalog Values (required)
...... 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
.... text 0..0
... form 0..1 CodeableConcept Legemiddelform
.... Slices for coding 1..* Coding Legemiddelform
Slice: Unordered, Closed by pattern: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 (7448) fra FEST/eResept
...... 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
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Legemiddel)
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..* Medication Definition of a Medication
dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
dom-6: A resource should have narrative for robust management
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
ele-1: All FHIR elements must have a @value or children
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... 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


ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
.... Slices for coding Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:FestDose Σ 0..1 Coding FEST-id for legemiddel DOSE
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelDose
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:FestMerkevare Σ 0..1 Coding FEST-id for legemiddel MERKEVARE
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelMerkevare
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:FestPakning Σ 0..1 Coding FEST-id for legemiddel PAKNING
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelPakning
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:FestVirkestoff Σ 0..1 Coding FEST-id for legemiddel VIRKESTOFF
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://dmp.no/fhir/NamingSystem/festLegemiddelVirkestoff
...... code Σ 1..1 code Identifikator fra FEST
ele-1: All FHIR elements must have a @value or children
..... coding:LokaltLegemiddel Σ 0..1 Coding Legemiddel fra lokal katalog
ele-1: All FHIR elements must have a @value or children
...... Slices for extension Content/Rules for all slices
....... extension:lokalLegemiddelkatalog 0..1 Coding Lokal Legemiddelkatalog
URL: http://fhi.no/fhir/lmr/lokal-legemiddel-katalog
Binding: Lokal Legemiddelkatalog Values (required)
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://fh.no/fhir/NamingSystem/lokaltVirkemiddel
...... code Σ 1..1 code Identifikator fra lokal legemiddelkatalog/legemiddelregister
ele-1: All FHIR elements must have a @value or children
...... display Σ 1..1 string Beskrivelse (f.eks. varenavn) for legemiddel fra lokal legemiddelkatalog/legemiddelregister
ele-1: All FHIR elements must have a @value or children
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: Medication Status Codes (required): A coded concept defining if the medication is in active use.


ele-1: All FHIR elements must have a @value or children
... form 0..1 CodeableConcept Legemiddelform
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.


ele-1: All FHIR elements must have a @value or children
.... Slices for coding Σ 1..* Coding Legemiddelform
Slice: Unordered, Closed by pattern:system
ele-1: All FHIR elements must have a @value or children
..... coding:All Slices Content/Rules for all slices
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
...... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
..... coding:7448 Σ 0..1 Coding Kodeverk Legemiddelform (7448) fra FEST/eResept
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: urn:oid:2.16.578.1.12.4.1.1.7448
...... code Σ 1..1 code Verdi fra kodeverket
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Beskrivelse av koden (navn) fra kodeverket
ele-1: All FHIR elements must have a @value or children
..... coding:SCT Σ 0..1 Coding SNOMED CT Form Codes
ele-1: All FHIR elements must have a @value or children
...... system Σ 1..1 uri Identity of the terminology system
ele-1: All FHIR elements must have a @value or children
Required Pattern: http://snomed.info/sct
...... code Σ 1..1 code Symbol in syntax defined by the system
ele-1: All FHIR elements must have a @value or children
...... display SΣ 0..1 string Representation defined by the system
ele-1: All FHIR elements must have a @value or children
... batch S 0..1 BackboneElement Batch-nummer for legemiddelet
ele-1: All FHIR elements must have a @value or children
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
ele-1: All FHIR elements must have a @value or children
ext-1: Must have either extensions or value[x], not both

doco Documentation for this format

Terminology Bindings

PathConformanceValueSetURI
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
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 & Constraintsdoco
.. 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, Open 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 eller LokalLegemiddelkatalog. Hvis ikke fylt ut, skal ingredient ha verdi. Hvis LokaltLegemiddel er fylt ut bør ingredient ha verdi.
Binding: SNOMEDCTMedicationCodes (example): 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 Σ 0..* Coding Code defined by a terminology system
Slice: Unordered, Open by pattern:system
..... coding:FestDose Σ 0..1 Coding FEST-id for legemiddel DOSE
...... 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:FestMerkevare Σ 0..1 Coding FEST-id for legemiddel MERKEVARE
...... 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:FestPakning Σ 0..1 Coding FEST-id for legemiddel PAKNING
...... 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: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
...... Slices for extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
....... extension:lokalLegemiddelkatalog 0..1 Coding Lokal Legemiddelkatalog
URL: http://fhi.no/fhir/lmr/lokal-legemiddel-katalog
Binding: Lokal Legemiddelkatalog Values (required)
...... 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
... 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 pattern: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 (7448) fra FEST/eResept
...... 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
.... item[x] 1..1 The actual ingredient or content
..... itemCodeableConcept CodeableConcept
..... itemReference Reference(Substance | Legemiddel)
.... 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
from the FHIR Standard
Additional Bindings Purpose
AllLanguages Max Binding
Medication.codeexampleSNOMEDCTMedicationCodes
http://hl7.org/fhir/ValueSet/medication-codes
from the FHIR Standard
Medication.statusrequiredMedication Status Codes
http://hl7.org/fhir/ValueSet/medication-status|4.0.1
from the FHIR Standard
Medication.formexampleSNOMEDCTFormCodes
http://hl7.org/fhir/ValueSet/medication-form-codes
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()

This structure is derived from Medication

Summary

Mandatory: 0 element(14 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)

 

Other representations of profile: CSV, Excel, Schematron