Page Status: updated 2022-03-14

Medication

Page index

Introduction

The Medication resource, shown in the profile NLLMedication, is used for the identification and definition of a medicinal product or a medical consumable associated with a MedicationRequest or MedicationDispense. The medication resource is based on data from the VARA registry (a registry provided by the Swedish eHealth Agency).

Regarding information about how the "must support"-property is used in the Swedish National MedicationList, please refer to the page Resources

Overview

idS Σ0..1string
metaΣ0..1Meta
implicitRulesΣ ?!0..1uri
language0..1codeBinding
id0..1string
extensionI0..*Extension
statusS1..1codeBindingFixed Value
divS I1..1xhtml
contained0..*Resource
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valuePeriodPeriod
url1..1uriFixed Value
url1..1uriFixed Value
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
url1..1uriFixed Value
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
valueS Σ0..1decimal
comparatorΣ ?!0..1codeBinding
unitS Σ0..1string
systemΣ I0..1uri
codeΣ0..1code
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
url1..1uriFixed Value
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueDatedate
url1..1uriFixed Value
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueCodecode
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionΣ0..1string
codeS Σ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueStringstring
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ0..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
url1..1uriFixed Value
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
id0..1string
extensionI0..*Extension
url1..1uriFixed Value
valueBooleanboolean
url1..1uriFixed Value
url1..1uriFixed Value
modifierExtension?! I0..*Extension
id0..1string
extensionI0..*Extension
useS Σ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uriFixed Value
valueS Σ1..1string
periodΣ0..1Period
assignerΣ0..1Reference(Organization)
id0..1string
extensionI0..*Extension
useS Σ ?!0..1codeBinding
typeΣ0..1CodeableConceptBinding
systemS Σ1..1uriFixed Value
valueS Σ1..1string
periodΣ0..1Period
assignerΣ0..1Reference(Organization)
id0..1string
extensionI0..*Extension
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
id0..1string
extensionI0..*Extension
systemS Σ0..1uriFixed Value
versionS Σ0..1string
codeS Σ1..1code
displayΣ0..1string
userSelectedΣ0..1boolean
textS Σ0..1string
statusS Σ ?!0..1codeBinding
id0..1string
extensionI0..*Extension
referenceΣ I0..1string
typeΣ0..1uriBinding
identifierΣ0..1Identifier
displayS Σ0..1string
id0..1string
extensionI0..*Extension
codingΣ0..*Coding
textS Σ0..1string
id0..1string
nllDescriptionS I0..1Extension(string)
id0..1string
extensionI0..*Extension
valueS Σ0..1decimal
comparatorΣ ?!0..1codeBinding
unitS Σ0..1string
systemΣ I0..1uri
codeΣ0..1code
id0..1string
extensionI0..*Extension
valueS Σ0..1decimalFixed Value
comparatorΣ ?!0..1codeBinding
unitΣ0..1string
systemΣ I0..1uri
codeΣ0..1code
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
itemCodeableConceptCodeableConcept
itemReferenceReference(Substance | Medication)
isActive0..1boolean
strength0..1Ratio
id0..1string
extensionI0..*Extension
modifierExtensionΣ ?! I0..*Extension
lotNumber0..1string
expirationDate0..1dateTime
Medication
DefinitionThis resource is used to represent a medicinal product or a medical consumable. Medicinal products are identified by NPL-pack-id and medical consumables by item number (sv: varunummer).
Cardinality0...*
Invariants
  • dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources
    contained.contained.empty()
  • 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
    contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
  • dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
    contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
  • dom-5: If a resource is contained in another resource, it SHALL NOT have a security label
    contained.meta.security.empty()
  • dom-6: A resource should have narrative for robust management
    text.`div`.exists()
Mappings
  • rim: Entity. Role, or Act
  • script10.6: NewRx/MedicationPrescribed -or- RxFill/MedicationDispensed -or- RxHistoryResponse/MedicationDispensed -or- RxHistoryResponse/MedicationPrescribed
  • rim: ManufacturedProduct[classCode=ADMM]
Medication.id
DefinitionThe logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

The only time that a resource does not have an id is when it is being submitted to the server using a create operation.

Mappings
  • EHM: Artikel-id
Medication.meta
DefinitionThe metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.
Cardinality0...1
TypeMeta
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Medication.implicitRules
DefinitionA reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.
Cardinality0...1
Typeuri
ModifierTrue
SummaryTrue
Comments

Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Medication.language
DefinitionThe base language in which the resource is written.
Cardinality0...1
Typecode
Binding

A human language.

CommonLanguages (preferred)
Comments

Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Medication.text
DefinitionA human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.
Cardinality0...1
TypeNarrative
Must SupportTrue
Aliasnarrative, html, xhtml, display
Comments

Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a "text blob" or where text is additionally entered raw or narrated and encoded information is added later.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: Act.text?
Medication.text.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.text.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.text.status
DefinitionThe status of the narrative - whether it's entirely generated (from just the defined data or the extensions too), or whether a human authored it and it may contain additional data.
Cardinality1...1
Typecode
Binding

The status of a resource narrative.

NarrativeStatus (required)
Must SupportTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

extensions

Mappings
  • rim: N/A
Medication.text.div
DefinitionSummary including a sub-set of information. - Medicinal products: current product name, form, strength and in specific situations producer (manufacturer). - Medical consumables: current product name and a description of the product.
Cardinality1...1
Typexhtml
Must SupportTrue
Comments

Maximum string length: 80

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • txt-1: The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes
    htmlChecks()
  • txt-2: The narrative SHALL have some non-whitespace content
    htmlChecks()
Mappings
  • rim: N/A
  • EHM: Artikelbenämning
Medication.contained
DefinitionThese resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.
Cardinality0...*
TypeResource
Aliasinline resources, anonymous resources, contained resources
Comments

This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.

Mappings
  • rim: N/A
Medication.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo
DefinitionOptional Extension Element - found in all resources.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
Medication.extension:nllArticleInfo.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:medicinalProduct
DefinitionDesignates if the product is a medicinal product based on the product type
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

This value is generated by the VARA registry based on the product type

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Läkemedel
Medication.extension:nllArticleInfo.extension:medicinalProduct.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:medicinalProduct.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:medicinalProduct.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

medicinalProduct

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:medicinalProduct.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
  • EHM: Läkemedel
Medication.extension:nllArticleInfo.extension:productType
DefinitionProduct type
Cardinality0...1
TypeExtension
Bindingproduct-types (required)
Must SupportTrue
Aliasextensions, user content
Comments

Product type from the VARA registry

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productType.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productType.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productType.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

productType

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productType.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypeCodeableConcept
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productType.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productType.value[x].extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productType.value[x].coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Medication.extension:nllArticleInfo.extension:productType.value[x].coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productType.value[x].coding.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productType.value[x].coding.system
DefinitionProduct type codes used within the VARA registry
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

Läkemedelsverket is author of the product codes used within the VARA registry. The code system is generated by the Swedish eHealth Agency based on the codes in VARA.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://npl.mpa.se/CodeSystem/productclass

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Medication.extension:nllArticleInfo.extension:productType.value[x].coding.version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
Medication.extension:nllArticleInfo.extension:productType.value[x].coding.code
DefinitionProduct type codes used within the VARA registry
Cardinality0...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Läkemedelsverket is author of the product codes used within the VARA registry. The code system is generated by the Swedish eHealth Agency based on the codes in VARA. Maximum string length: 8

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • EHM: Produkttyp kod
Medication.extension:nllArticleInfo.extension:productType.value[x].coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
Medication.extension:nllArticleInfo.extension:productType.value[x].coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
Medication.extension:nllArticleInfo.extension:productType.value[x].text
DefinitionA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Maximum string length: 100

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Produkttyp klartext
Medication.extension:nllArticleInfo.extension:productName
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality1...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:currentProductName
DefinitionCurrent trade name of the product within Sweden
Cardinality1...*
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Produktnamn
Medication.extension:nllArticleInfo.extension:productName.extension:currentProductName.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:currentProductName.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:currentProductName.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

currentProductName

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.extension:currentProductName.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typestring
Comments

Maximum string length: 100

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.extension:history
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:history.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality1...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:productName
DefinitionPrevious trade name of the product in Sweden
Cardinality1...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Historiskt produktnamn
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:productName.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:productName.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:productName.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

productName

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:productName.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typestring
Comments

Maximum string length: 100

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:periodOfUse
DefinitionPeriod during which the trade name was in use.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Historiskt produktnamn giltighetsperiod
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:periodOfUse.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:periodOfUse.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:periodOfUse.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

periodOfUse

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:periodOfUse.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypePeriod
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.extension:history.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

history

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.extension:history.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

productName

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:productName.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:package
DefinitionTextual description of content in medicinal product or medical consumables
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:package.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:package.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:package.extension:packageContainer
DefinitionType of package in textual form, e.g. Blister
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Förpackningstyp
Medication.extension:nllArticleInfo.extension:package.extension:packageContainer.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:package.extension:packageContainer.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:package.extension:packageContainer.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

packageContainer

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:package.extension:packageContainer.value[x]
DefinitionMaximum string length: 40
Cardinality0...1
Typestring
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:package.extension:packageDescription
DefinitionDescription of content in package, e.g. Plastburk med krysslock, 100 tabletter
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Förpackningsinnehåll
Medication.extension:nllArticleInfo.extension:package.extension:packageDescription.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:package.extension:packageDescription.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:package.extension:packageDescription.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

packageDescription

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:package.extension:packageDescription.value[x]
DefinitionMaximum string length: 160
Cardinality0...1
Typestring
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:package.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

package

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:package.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:strength
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:quantity
DefinitionDefinition of strength defined in value and unit, e.g. 100 mg
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

quantity

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x]
DefinitionDefinition of strength, e.g. 100 mg
Cardinality0...1
TypeQuantity
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Styrka
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...1
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Comments

Maximum string length: 8

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
  • EHM: Styrka enhet
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
SummaryTrue
Requirements

Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

Comments

The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
Medication.extension:nllArticleInfo.extension:strength.extension:text
DefinitionTextual description of strength
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Styrkebeteckning
Medication.extension:nllArticleInfo.extension:strength.extension:text.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:text.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:strength.extension:text.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

text

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:strength.extension:text.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typestring
Comments

Maximum string length: 80

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
  • EHM: Styrkebeteckning
Medication.extension:nllArticleInfo.extension:strength.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

strength

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:strength.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:substanceDescription
DefinitionSubstance description
Cardinality0...1
TypeExtension
Aliasextensions, user content
Comments

The substance description contains patient friendly names of the active ingredients in the medicinal product. The purpose of the substance description is to facilitate the patient's understanding of the contents of the product and to be able to identify medications that contain the same active ingredients. It should be used in the communication with the patient, and for example on labels, print-outs etc.

NB! The primary purpose of the substance description is for patient communication. It may not contain detailed information about all of the active ingredients of the product. Therefore it is not suitable for use cases regarding for example searching or sorting of medicinal products in EHR systems.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Substansbeskrivning
Medication.extension:nllArticleInfo.extension:substanceDescription.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:substanceDescription.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleInfo.extension:substanceDescription.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

substanceDescription

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.extension:substanceDescription.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typestring
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
  • EHM: Substansbeskrivning
Medication.extension:nllArticleInfo.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo

Mappings
  • rim: N/A
Medication.extension:nllArticleInfo.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability
DefinitionOptional Extension Element - found in all resources.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
Medication.extension:nllArticleAvailability.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension:onTheMarket
DefinitionIndicates if the article is marketed in Sweden.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Marknadsförs
Medication.extension:nllArticleAvailability.extension:onTheMarket.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension:onTheMarket.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension:onTheMarket.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

onTheMarket

Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability.extension:onTheMarket.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability.extension:salesStopped
DefinitionIndicates if the article is temporarily sales stopped in Sweden.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Försäljningsstopp
Medication.extension:nllArticleAvailability.extension:salesStopped.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension:salesStopped.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension:salesStopped.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

salesStopped

Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability.extension:salesStopped.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability.extension:withdrawalDate
DefinitionMedicinal products: The last day the medicinal product is allowed to be sold in Sweden. Medical consumables: The last day the medical consumable is eligible for reimbursement.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Avregistreringsdatum
Medication.extension:nllArticleAvailability.extension:withdrawalDate.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension:withdrawalDate.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleAvailability.extension:withdrawalDate.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

withdrawalDate

Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability.extension:withdrawalDate.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typedate
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLArticleAvailability

Mappings
  • rim: N/A
Medication.extension:nllArticleAvailability.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations
DefinitionOptional Extension Element - found in all resources.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
Medication.extension:nllArticleRegulations.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:prescriptiveAuthorityCode
DefinitionCode describing the professsions authorized to prescribe the article.
Cardinality0...*
TypeExtension
Bindingprescriptive-authority-codes (required)
Must SupportTrue
Aliasextensions, user content
Comments

Maximum string length: 3

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Förskrivningsrätt kod
Medication.extension:nllArticleRegulations.extension:prescriptiveAuthorityCode.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:prescriptiveAuthorityCode.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:prescriptiveAuthorityCode.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

prescriptiveAuthorityCode

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:prescriptiveAuthorityCode.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typecode
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:repeatPrescription
DefinitionIndicates if a prescription of this article is possible to refill.
Cardinality0...1
TypeExtension
Bindingprescription-iteration-types (required)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:repeatPrescription.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:repeatPrescription.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:repeatPrescription.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

repeatPrescription

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypeCoding
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://npl.mpa.se/CodeSystem/prescription-repeatable-category

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].code
DefinitionIndicates if a prescription with this article is possible to refill.
Cardinality0...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Maximum string length: 3

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • EHM: Iterering
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
Medication.extension:nllArticleRegulations.extension:substitutionDetails
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:substitutionDetails.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeable
DefinitionIndicates if the article is interchangeable
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Utbytbar
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeable.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeable.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeable.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

interchangeable

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeable.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeSubstanceGroup
DefinitionName of the interchange substance group
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Substansgrupp utbytbarhet
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeSubstanceGroup.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeSubstanceGroup.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeSubstanceGroup.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

interchangeSubstanceGroup

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeSubstanceGroup.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typestring
Comments

Maximum string length: 8

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:substitutionDetails.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

substitutionDetails

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:substitutionDetails.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:dispensingRestriction
DefinitionDescribes possible dispensing restrictions
Cardinality0...1
TypeExtension
Bindingdispensing-restrictions (required)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Utlämnandebegränsning
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

dispensingRestriction

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypeCodeableConcept
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://npl.mpa.se/CodeSystem/dispensing-restriction

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.code
DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Cardinality0...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Maximum string length: 8

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • EHM: Utlämnandebegränsning kod
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].text
DefinitionA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Maximum string length: 300

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Utlämnandebegränsning klartext
Medication.extension:nllArticleRegulations.extension:controlledMedicinalProduct
DefinitionIndicates if this is a controlled medicinal product
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Särskilt läkemedel
Medication.extension:nllArticleRegulations.extension:controlledMedicinalProduct.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:controlledMedicinalProduct.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:controlledMedicinalProduct.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

controlledMedicinalProduct

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:controlledMedicinalProduct.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:narcoticClassification
DefinitionNarcotic classification according to the Swedish Medical Product Agency (Läkemedelsverket).
Cardinality0...1
TypeExtension
Bindingnarcotic-classification (required)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:narcoticClassification.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:narcoticClassification.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:narcoticClassification.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

narcoticClassification

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
TypeCodeableConcept
Bindingnarcotic-classification (required)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://npl.mpa.se/CodeSystem/narcotic-classification

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.code
DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Cardinality0...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Maximum string length: 3

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • EHM: Narkotikaklass kod
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].text
DefinitionA human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Maximum string length: 255

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Narkotikaklass klartext
Medication.extension:nllArticleRegulations.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations

Mappings
  • rim: N/A
Medication.extension:nllArticleRegulations.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllReimbursement
DefinitionOptional Extension Element - found in all resources.
Cardinality0...1
TypeExtension(Complex)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
  • rim: n/a
Medication.extension:nllReimbursement.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:eligibleForReimbursement
DefinitionIndicates if the article is eligible for reimbursement when prescribed.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Förmån
Medication.extension:nllReimbursement.extension:eligibleForReimbursement.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:eligibleForReimbursement.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:eligibleForReimbursement.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

eligibleForReimbursement

Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:eligibleForReimbursement.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:restrictedReimbursement
DefinitionThe Dental and Pharmaceutical Benefits Agency (TLV) can restrict the reimbursement for a medicine to be included in the pharmaceutical benefits scheme only for a certain area of use or a specific patient group.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Begränsad subvention
Medication.extension:nllReimbursement.extension:restrictedReimbursement.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:restrictedReimbursement.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:restrictedReimbursement.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

restrictedReimbursement

Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:restrictedReimbursement.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Comments

Maximum string length: 300

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod
Definition"Product of the month" during the current period or during the previous period.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

"Product of the month" is decided by the Dental and Pharmaceutical Benefits Agency (TLV)

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:currentPeriod
Definition"Product of the month" during the current period.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Periodens vara
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:currentPeriod.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:currentPeriod.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:currentPeriod.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

currentPeriod

Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:currentPeriod.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:unavailable
DefinitionThe article is unavailable this price period.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Beställningsstoppad
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:unavailable.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:unavailable.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:unavailable.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

unavailable

Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:unavailable.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:previousPeriod
Definition"Product of the month" during the previous period.
Cardinality0...1
TypeExtension
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • EHM: Föregående periods vara
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:previousPeriod.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:previousPeriod.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:previousPeriod.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

previousPeriod

Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:previousPeriod.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...1
Typeboolean
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

productOfThePeriod

Mappings
  • rim: N/A
Medication.extension:nllReimbursement.extension:productOfThePeriod.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.extension:nllReimbursement.url
DefinitionSource of the definition for the extension code - a logical name or a URL.
Cardinality1...1
Typeuri
Comments

The definition may point directly to a computable or human-readable definition of the extensibility codes, or it may be a logical URI as declared in some other specification. The definition SHALL be a URI for the Structure Definition defining the extension.

Fixed Value

http://electronichealth.se/fhir/StructureDefinition/NLLReimbursement

Mappings
  • rim: N/A
Medication.extension:nllReimbursement.value[x]
DefinitionValue of extension - must be one of a constrained set of the data types (see [Extensibility](extensibility.html) for a list).
Cardinality0...0
Typebase64Binary
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
Aliasextensions, user content
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
Medication.identifier
DefinitionBusiness identifier for this medication.
Cardinality1...*
TypeIdentifier
Must SupportTrue
SummaryTrue
Comments

Medicinal products is identified by an NPL-package ID and other products by a Varunr

SlicingUnordered, Open, by system(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.identifier
  • rim: .id
Medication.identifier:nplpackid
DefinitionUnique identifier for a packaged medicinal product (sv: läkemedelsartikel) according to NPL (Nationellt produktregister för läkemedel). A medicinal product can come in more than one package type/size. Each package type/size will have an unique NPL-pack-id but share the same NPL-id.
Cardinality0...1
TypeIdentifier
Must SupportTrue
SummaryTrue
Comments

NPL is administered by the Swedish Medical Products Agency (Läkemedelsverket) The similar concepts named SB-pack-id and SB-id are modeled as NPL-pack-id and NPL-id in this resource.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.identifier
  • rim: .id
Medication.identifier:nplpackid.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.identifier:nplpackid.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.identifier:nplpackid.use
DefinitionThe purpose of this identifier.
Cardinality0...1
Typecode
Binding

Identifies the purpose for this identifier, if known .

IdentifierUse (required)
Must SupportTrue
ModifierTrue
SummaryTrue
Requirements

Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

Comments

Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: Role.code or implied by context
Medication.identifier:nplpackid.type
DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
Cardinality0...1
TypeCodeableConcept
Binding

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier Type Codes (extensible)
SummaryTrue
Requirements

Allows users to make use of identifiers when the identifier system is not known.

Comments

This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.5
  • rim: Role.code or implied by context
Medication.identifier:nplpackid.system
DefinitionEstablishes the namespace for the value - that is, a URL that describes a set values that are unique.
Cardinality1...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

Comments

Identifier.system is always case sensitive.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/fhir/NamingSystem/nplpackid

Mappings
  • v2: CX.4 / EI-2-4
  • rim: II.root or Role.id.root
  • servd: ./IdentifierType
Medication.identifier:nplpackid.value
DefinitionThe portion of the identifier typically relevant to the user and which is unique within the context of the system.
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Maximum string length: 14

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Examples
General

123456


Mappings
  • v2: CX.1 / EI.1
  • rim: II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
  • servd: ./Value
  • EHM: NPL pack-id
Medication.identifier:nplpackid.period
DefinitionTime period during which identifier is/was valid for use.
Cardinality0...1
TypePeriod
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.7 + CX.8
  • rim: Role.effectiveTime or implied by context
  • servd: ./StartDate and ./EndDate
Medication.identifier:nplpackid.assigner
DefinitionOrganization that issued/manages the identifier.
Cardinality0...1
TypeReference(Organization)
SummaryTrue
Comments

The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.4 / (CX.4,CX.9,CX.10)
  • rim: II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • servd: ./IdentifierIssuingAuthority
Medication.identifier:varunr
DefinitionUnique identifier for medical consumables (sv: handelsvaror).
Cardinality0...*
TypeIdentifier
Must SupportTrue
SummaryTrue
Comments

For packaged medicinal products (sv: läkemedelsartiklar) item number is not always unique and can change over time.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • w5: FiveWs.identifier
  • rim: .id
Medication.identifier:varunr.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.identifier:varunr.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.identifier:varunr.use
DefinitionDefines if the value (varunr) is the current one or an old one.
Cardinality0...1
Typecode
Binding

Identifies the purpose for this identifier, if known .

IdentifierUse (required)
Must SupportTrue
ModifierTrue
SummaryTrue
Requirements

Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.

Comments

Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: N/A
  • rim: Role.code or implied by context
Medication.identifier:varunr.type
DefinitionA coded type for the identifier that can be used to determine which identifier to use for a specific purpose.
Cardinality0...1
TypeCodeableConcept
Binding

A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.

Identifier Type Codes (extensible)
SummaryTrue
Requirements

Allows users to make use of identifiers when the identifier system is not known.

Comments

This element deals only with general categories of identifiers. It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage. Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.5
  • rim: Role.code or implied by context
Medication.identifier:varunr.system
DefinitionEstablishes the namespace for the value - that is, a URL that describes a set values that are unique.
Cardinality1...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

There are many sets of identifiers. To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.

Comments

Identifier.system is always case sensitive.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/fhir/NamingSystem/varunr

Mappings
  • v2: CX.4 / EI-2-4
  • rim: II.root or Role.id.root
  • servd: ./IdentifierType
Medication.identifier:varunr.value
DefinitionThe use element defines if this is the current medical consumables Id (sv. varunummer) or an old Id.
Cardinality1...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Maximum string length: 8

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Examples
General

123456


Mappings
  • v2: CX.1 / EI.1
  • rim: II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)
  • servd: ./Value
  • EHM: Varunummer
  • EHM: Historiskt varunummer
Medication.identifier:varunr.period
DefinitionTime period during which identifier is/was valid for use.
Cardinality0...1
TypePeriod
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.7 + CX.8
  • rim: Role.effectiveTime or implied by context
  • servd: ./StartDate and ./EndDate
Medication.identifier:varunr.assigner
DefinitionOrganization that issued/manages the identifier.
Cardinality0...1
TypeReference(Organization)
SummaryTrue
Comments

The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: CX.4 / (CX.4,CX.9,CX.10)
  • rim: II.assigningAuthorityName but note that this is an improper use by the definition of the field. Also Role.scoper
  • servd: ./IdentifierIssuingAuthority
Medication.code
DefinitionA code (or set of codes) that specify this medication, or a textual description if no code is available. Usage note: This could be a standard medication code such as a code from RxNorm, SNOMED CT, IDMP etc. It could also be a national or local formulary code, optionally with translations to other code systems.
Cardinality0...1
TypeCodeableConcept
Binding

A coded concept that defines the type of a medication.

SNOMEDCTMedicationCodes (example)
Must SupportTrue
SummaryTrue
Comments

Depending on the context of use, the code that was actually selected by the user (prescriber, dispenser, etc.) will have the coding.userSelected set to true. As described in the coding datatype: "A coding may be marked as a "userSelected" if a user selected the particular coded value in a user interface (e.g. the user selects an item in a pick-list). If a user selected coding exists, it is the preferred choice for performing translations etc. Other codes can only be literal translations to alternative code systems, or codes at a lower level of granularity (e.g. a generic code for a vendor-specific primary one).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: coding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*,MedicationType)/DrugDescription
  • w5: FiveWs.class
  • v2: RXO-1.1-Requested Give Code.code / RXE-2.1-Give Code.code / RXD-2.1-Dispense/Give Code.code / RXG-4.1-Give Code.code /RXA-5.1-Administered Code.code / RXC-2.1 Component Code
  • rim: .code
Medication.code.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.code.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.code.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

SlicingUnordered, Open, by system(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Medication.code.coding:atc
DefinitionClassification of medicinal products according to the Anatomical Therapeutic Chemical (ATC) classification system.
Cardinality0...1
TypeCoding
Binding

The Anatomical Therapeutic Chemical (ATC) classification system

http://www.whocc.no/atc (required)
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Medication.code.coding:atc.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.code.coding:atc.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.code.coding:atc.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://www.whocc.no/atc

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Medication.code.coding:atc.version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
Medication.code.coding:atc.code
DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • EHM: ATC-kod
Medication.code.coding:atc.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
Medication.code.coding:atc.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
Medication.code.coding:nplId
DefinitionUnique identifier for a medicinal product (sv: läkemedelsprodukt) according to NPL (Nationellt produktregister för läkemedel). A medicinal product can come in more than one package type/size. Each package type/size will have an unique NPL package Id but share the same NPL Id.
Cardinality0...1
TypeCoding
Binding

NPL Id

http://electronichealth.se/fhir/NamingSystem/nplid (required)
Must SupportTrue
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

NPL is administered by the Swedish Medical Products Agency (Läkemedelsverket) The similar concepts named SB-pack-id and SB-id are modeled as NPL-pack-id and NPL-id in this resource.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Medication.code.coding:nplId.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.code.coding:nplId.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.code.coding:nplId.system
DefinitionThe identification of the code system that defines the meaning of the symbol in the code.
Cardinality0...1
Typeuri
Must SupportTrue
SummaryTrue
Requirements

Need to be unambiguous about the source of the definition of the symbol.

Comments

The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...). OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

http://electronichealth.se/fhir/NamingSystem/nplid

Mappings
  • v2: C*E.3
  • rim: ./codeSystem
  • orim: fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem
Medication.code.coding:nplId.version
DefinitionThe version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.7
  • rim: ./codeSystemVersion
  • orim: fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion
Medication.code.coding:nplId.code
DefinitionA symbol in syntax defined by the system. The symbol may be a predefined code or an expression in a syntax defined by the coding system (e.g. post-coordination).
Cardinality1...1
Typecode
Must SupportTrue
SummaryTrue
Requirements

Need to refer to a particular code in the system.

Comments

Maximum string length: 14

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1
  • rim: ./code
  • orim: fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code
  • EHM: NPL-id
Medication.code.coding:nplId.display
DefinitionA representation of the meaning of the code in the system, following the rules of the system.
Cardinality0...1
Typestring
SummaryTrue
Requirements

Need to be able to carry a human-readable meaning of the code for readers that do not know the system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.2 - but note this is not well followed
  • rim: CV.displayName
  • orim: fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName
Medication.code.coding:nplId.userSelected
DefinitionIndicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).
Cardinality0...1
Typeboolean
SummaryTrue
Requirements

This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.

Comments

Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: Sometimes implied by being first
  • rim: CD.codingRationale
  • orim: fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map; fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\#true a [ fhir:source "true"; fhir:target dt:CDCoding.codingRationale\#O ]
Medication.code.text
DefinitionPlain text representation of the concept as in the textual representation of the ATC code.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Maximum string length: 240

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: ATC-klartext
Medication.status
DefinitionStatus defines whether the article is available for dispense or not.
Cardinality0...1
Typecode
Binding

A coded concept defining if the medication is in active use.

Medication Status Codes (required)
Must SupportTrue
ModifierTrue
SummaryTrue
Comments

This status is intended to identify if the medication in a local system is in active use within a drug database or inventory. For example, a pharmacy system may create a new drug file record for a compounded product "ABC Hospital Special Cream" with an active status. At some point in the future, it may be determined that the drug record was created with an error and the status is changed to "entered in error". This status is not intended to specify if a medication is part of a particular formulary. It is possible that the drug record may be referenced by multiple formularies or catalogues and each of those entries would have a separate status.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .statusCode
  • EHM: status
Medication.manufacturer
DefinitionDescribes the details of the manufacturer of the medication product. This is not intended to represent the distributor of a medication product.
Cardinality0...1
TypeReference(Organization)
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: no mapping
  • w5: FiveWs.actor
  • v2: RXD-20-Substance Manufacturer Name / RXG-21-Substance Manufacturer Name / RXA-17-Substance Manufacturer Name
  • rim: .player.scopingRole[typeCode=MANU].scoper
Medication.manufacturer.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.manufacturer.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.manufacturer.reference
DefinitionA reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.
Cardinality0...1
Typestring
SummaryTrue
Comments

Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries. Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure "/[type]/[id]" then it should be assumed that the reference is to a FHIR RESTful server.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.manufacturer.type
DefinitionThe expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent. The type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. "Patient" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).
Cardinality0...1
Typeuri
Binding

Aa resource (or, for logical models, the URI of the logical model).

ResourceType (extensible)
SummaryTrue
Comments

This element is used to indicate the type of the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
Medication.manufacturer.identifier
DefinitionAn identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.
Cardinality0...1
TypeIdentifier
SummaryTrue
Comments

When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy.

When both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference

Applications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.

Reference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference. For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport). One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .identifier
Medication.manufacturer.display
DefinitionName of the organisation responsible for the article
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Comments

Maximum string length: 160

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: N/A
  • EHM: Intressentnamn
Medication.form
DefinitionThe authorised pharmaceutical dose form in which the medicinal product is marketed, i.e. tablet, capsule.
Cardinality0...1
TypeCodeableConcept
Binding

A coded concept defining the form of a medication.

SNOMEDCTFormCodes (example)
Must SupportTrue
Comments

When Medication is referenced from MedicationRequest, this is the ordered form. When Medication is referenced within MedicationDispense, this is the dispensed form. When Medication is referenced within MedicationAdministration, this is administered form.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: coding.code = //element(*,DrugCodedType)/FormCode coding.system = //element(*,DrugCodedType)/FormSourceCode
  • v2: RXO-5-Requested Dosage Form / RXE-6-Give Dosage Form / RXD-6-Actual Dosage Form / RXG-8-Give Dosage Form / RXA-8-Administered Dosage Form
  • rim: .formCode
Medication.form.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.form.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.form.coding
DefinitionA reference to a code defined by a terminology system.
Cardinality0...*
TypeCoding
SummaryTrue
Requirements

Allows for alternative encodings within a code system, and translations to other code systems.

Comments

Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information. Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.1-8, C*E.10-22
  • rim: union(., ./translation)
  • orim: fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding
Medication.form.text
DefinitionThe authorised pharmaceutical dose form in which the medicinal product is marketed, i.e. tablet, capsule.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.

Comments

Maximum string length: 160

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: C*E.9. But note many systems use C*E.2 for this
  • rim: ./originalText[mediaType/code="text/plain"]/data
  • orim: fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText
  • EHM: Läkemedelsform
Medication.amount
DefinitionSpecific amount of the drug in the packaged product. For example, when specifying a product that has the same strength (For example, Insulin glargine 100 unit per mL solution for injection), this attribute provides additional clarification of the package amount (For example, 3 mL, 10mL, etc.).
Cardinality0...1
TypeRatio
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .quantity
  • EHM: Förpackningsmängd och enhet
Medication.amount.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.amount.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.amount.extension:nllDescription
DefinitionHuman readable description including amount and unit
Cardinality0...1
TypeExtension(string)
Must SupportTrue
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
  • rim: N/A
  • EHM: Antal klartext
Medication.amount.numerator
DefinitionAmount per package
Cardinality0...1
TypeQuantity
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .numerator
Medication.amount.numerator.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.amount.numerator.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.amount.numerator.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
  • EHM: Förpackningsmängd
Medication.amount.numerator.comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...1
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
Medication.amount.numerator.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
Must SupportTrue
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Comments

Maximum string length: 80

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
  • EHM: Förpackningsenhet
Medication.amount.numerator.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
Medication.amount.numerator.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
SummaryTrue
Requirements

Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

Comments

The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
Medication.amount.denominator
DefinitionThe denominator is set to 1 to follow the requirements for a Ratio. It can be interpreted as amount per one package.
Cardinality0...1
TypeQuantity
Must SupportTrue
SummaryTrue
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

{
  "value": 1
}

Mappings
  • rim: .denominator
Medication.amount.denominator.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.amount.denominator.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

SlicingUnordered, Open, by url(Value)
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.amount.denominator.value
DefinitionThe value of the measured amount. The value includes an implicit precision in the presentation of the value.
Cardinality0...1
Typedecimal
Must SupportTrue
SummaryTrue
Requirements

Precision is handled implicitly in almost all cases of measurement.

Comments

The implicit precision in the value should always be honored. Monetary values have their own rules for handling precision (refer to standard accounting text books).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Fixed Value

1

Mappings
  • v2: SN.2 / CQ - N/A
  • rim: PQ.value, CO.value, MO.value, IVL.high or IVL.low depending on the value
Medication.amount.denominator.comparator
DefinitionHow the value should be understood and represented - whether the actual value is greater or less than the stated value due to measurement issues; e.g. if the comparator is "<" , then the real value is < stated value.
Cardinality0...1
Typecode
Binding

How the Quantity should be understood and represented.

QuantityComparator (required)
ModifierTrue
SummaryTrue
Requirements

Need a framework for handling measures where the value is <5ug/L or >400mg/L due to the limitations of measuring methodology.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: SN.1 / CQ.1
  • rim: IVL properties
Medication.amount.denominator.unit
DefinitionA human-readable form of the unit.
Cardinality0...1
Typestring
SummaryTrue
Requirements

There are many representations for units of measure and in many contexts, particular representations are fixed and required. I.e. mcg for micrograms.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.unit
Medication.amount.denominator.system
DefinitionThe identification of the system that provides the coded form of the unit.
Cardinality0...1
Typeuri
SummaryTrue
Requirements

Need to know the system that defines the coded form of the unit.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: CO.codeSystem, PQ.translation.codeSystem
Medication.amount.denominator.code
DefinitionA computer processable form of the unit in some unit representation system.
Cardinality0...1
Typecode
SummaryTrue
Requirements

Need a computable form of the unit that is fixed across all forms. UCUM provides this for quantities, but SNOMED CT provides many units of interest.

Comments

The preferred system is UCUM, but SNOMED CT can also be used (for customary units) or ISO 4217 for currency. The context of use may additionally require a code from a particular system.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • v2: (see OBX.6 etc.) / CQ.2
  • rim: PQ.code, MO.currency, PQ.translation.code
Medication.ingredient
DefinitionIdentifies a particular constituent of interest in the product.
Cardinality0...*
TypeBackboneElement
Comments

The ingredients need not be a complete list. If an ingredient is not specified, this does not indicate whether an ingredient is present or absent. If an ingredient is specified it does not mean that all ingredients are specified. It is possible to specify both inactive and active ingredients.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: .scopesRole[typeCode=INGR]
Medication.ingredient.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.ingredient.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.ingredient.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
Medication.ingredient.item[x]
DefinitionThe actual ingredient - either a substance (simple ingredient) or another medication of a medication.
Cardinality1...1
TypeCodeableConcept
Requirements

The ingredient may reference a substance (for example, amoxicillin) or another medication (for example in the case of a compounded product, Glaxal Base).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: coding.code = //element(*,MedicationType)/DrugCoded/ProductCode coding.system = //element(*,MedicationType)/DrugCoded/ProductCodeQualifier coding.display = //element(*,MedicationType)/DrugDescription
  • v2: RXC-2-Component Code if medication: RXO-1-Requested Give Code / RXE-2-Give Code / RXD-2-Dispense/Give Code / RXG-4-Give Code / RXA-5-Administered Code
  • rim: .player
Medication.ingredient.isActive
DefinitionIndication of whether this ingredient affects the therapeutic action of the drug.
Cardinality0...1
Typeboolean
Requirements

True indicates that the ingredient affects the therapeutic action of the drug (i.e. active). False indicates that the ingredient does not affect the therapeutic action of the drug (i.e. inactive).

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • rim: NA
Medication.ingredient.strength
DefinitionSpecifies how many (or how much) of the items there are in this Medication. For example, 250 mg per tablet. This is expressed as a ratio where the numerator is 250mg and the denominator is 1 tablet.
Cardinality0...1
TypeRatio
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: //element(*,DrugCodedType)/Strength
  • v2: RXC-3-Component Amount & RXC-4-Component Units if medication: RXO-2-Requested Give Amount - Minimum & RXO-4-Requested Give Units / RXO-3-Requested Give Amount - Maximum & RXO-4-Requested Give Units / RXO-11-Requested Dispense Amount & RXO-12-Requested Dispense Units / RXE-3-Give Amount - Minimum & RXE-5-Give Units / RXE-4-Give Amount - Maximum & RXE-5-Give Units / RXE-10-Dispense Amount & RXE-10-Dispense Units
  • rim: .quantity
Medication.batch
DefinitionInformation that only applies to packages (not products).
Cardinality0...1
TypeBackboneElement
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: no mapping
  • rim: .player[classCode=CONT]
Medication.batch.id
DefinitionUnique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.
Cardinality0...1
Typestring
Mappings
  • rim: n/a
Medication.batch.extension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension.
Cardinality0...*
TypeExtension
Aliasextensions, user content
Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: n/a
Medication.batch.modifierExtension
DefinitionMay be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).
Cardinality0...*
TypeExtension
ModifierTrue
SummaryTrue
Aliasextensions, user content, modifiers
Requirements

Modifier extensions allow for extensions that cannot be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the definition of modifier extensions.

Comments

There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.

Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
  • ext-1: Must have either extensions or value[x], not both
    extension.exists() != value.exists()
Mappings
  • rim: N/A
Medication.batch.lotNumber
DefinitionThe assigned lot number of a batch of the specified product.
Cardinality0...1
Typestring
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: no mapping
  • v2: RXA-15 Substance Lot Number / RXG-19 Substance Lot Number
  • rim: .id
Medication.batch.expirationDate
DefinitionWhen this specific batch of product will expire.
Cardinality0...1
TypedateTime
Invariants
  • ele-1: All FHIR elements must have a @value or children
    hasValue() or (children().count() > id.count())
Mappings
  • script10.6: no mapping
  • v2: RXA-16 Substance Expiration Date / RXG-20 Substance Expiration Date
  • rim: participation[typeCode=CSM].role[classCode=INST].scopedRole.scoper[classCode=MMAT].expirationTime
<StructureDefinition xmlns="http://hl7.org/fhir">
    <url value="http://electronichealth.se/fhir/StructureDefinition/NLLMedication" />
    <version value="1.1.1" />
    <name value="NLLMedication" />
    <status value="active" />
    <date value="2024-12-20" />
    <publisher value="Swedish eHealth Agency" />
    <fhirVersion value="4.0.1" />
    <mapping>
        <identity value="EHM" />
        <name value="E-h&#228;lsomyndigheten concept" />
    </mapping>
    <kind value="resource" />
    <abstract value="false" />
    <type value="Medication" />
    <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Medication" />
    <derivation value="constraint" />
    <differential>
        <element id="Medication">
            <path value="Medication" />
            <short value="Medicinal products and medical consumables" />
            <definition value="This resource is used to represent a medicinal product or a medical consumable. Medicinal products are identified by NPL-pack-id and medical consumables by item number (sv: varunummer)." />
        </element>
        <element id="Medication.id">
            <path value="Medication.id" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Artikel-id" />
            </mapping>
        </element>
        <element id="Medication.text">
            <path value="Medication.text" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.text.status">
            <path value="Medication.text.status" />
            <fixedCode value="extensions" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.text.div">
            <path value="Medication.text.div" />
            <definition value="Summary including a sub-set of information.\n- Medicinal products:  current product name, form, strength and in specific situations producer (manufacturer).\n- Medical consumables: current product name and a description of the  product." />
            <comment value="Maximum string length: 80" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Artikelben&#228;mning" />
            </mapping>
        </element>
        <element id="Medication.extension">
            <path value="Medication.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllArticleInfo">
            <path value="Medication.extension" />
            <sliceName value="nllArticleInfo" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension">
            <path value="Medication.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:medicinalProduct">
            <path value="Medication.extension.extension" />
            <sliceName value="medicinalProduct" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productType">
            <path value="Medication.extension.extension" />
            <sliceName value="productType" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productType.value[x].coding">
            <path value="Medication.extension.extension.value[x].coding" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productType.value[x].coding.system">
            <path value="Medication.extension.extension.value[x].coding.system" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productType.value[x].coding.version">
            <path value="Medication.extension.extension.value[x].coding.version" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productType.value[x].coding.code">
            <path value="Medication.extension.extension.value[x].coding.code" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productType.value[x].text">
            <path value="Medication.extension.extension.value[x].text" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productName">
            <path value="Medication.extension.extension" />
            <sliceName value="productName" />
            <min value="0" />
            <max value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productName.extension">
            <path value="Medication.extension.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="1" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productName.extension:currentProductName">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="currentProductName" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productName.extension:history">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="history" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productName.extension:history.extension">
            <path value="Medication.extension.extension.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="1" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:productName">
            <path value="Medication.extension.extension.extension.extension" />
            <sliceName value="productName" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:periodOfUse">
            <path value="Medication.extension.extension.extension.extension" />
            <sliceName value="periodOfUse" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:package">
            <path value="Medication.extension.extension" />
            <sliceName value="package" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:package.extension">
            <path value="Medication.extension.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:package.extension:packageContainer">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="packageContainer" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:package.extension:packageDescription">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="packageDescription" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:strength">
            <path value="Medication.extension.extension" />
            <sliceName value="strength" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:strength.extension">
            <path value="Medication.extension.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:strength.extension:quantity">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="quantity" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].value">
            <path value="Medication.extension.extension.extension.value[x].value" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].unit">
            <path value="Medication.extension.extension.extension.value[x].unit" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleInfo.extension:strength.extension:text">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="text" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleAvailability">
            <path value="Medication.extension" />
            <sliceName value="nllArticleAvailability" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLArticleAvailability" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleAvailability.extension">
            <path value="Medication.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllArticleAvailability.extension:onTheMarket">
            <path value="Medication.extension.extension" />
            <sliceName value="onTheMarket" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleAvailability.extension:salesStopped">
            <path value="Medication.extension.extension" />
            <sliceName value="salesStopped" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleAvailability.extension:withdrawalDate">
            <path value="Medication.extension.extension" />
            <sliceName value="withdrawalDate" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations">
            <path value="Medication.extension" />
            <sliceName value="nllArticleRegulations" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension">
            <path value="Medication.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:prescriptiveAuthorityCode">
            <path value="Medication.extension.extension" />
            <sliceName value="prescriptiveAuthorityCode" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:repeatPrescription">
            <path value="Medication.extension.extension" />
            <sliceName value="repeatPrescription" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].system">
            <path value="Medication.extension.extension.value[x].system" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].code">
            <path value="Medication.extension.extension.value[x].code" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:substitutionDetails">
            <path value="Medication.extension.extension" />
            <sliceName value="substitutionDetails" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension">
            <path value="Medication.extension.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeable">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="interchangeable" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeSubstanceGroup">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="interchangeSubstanceGroup" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:dispensingRestriction">
            <path value="Medication.extension.extension" />
            <sliceName value="dispensingRestriction" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding">
            <path value="Medication.extension.extension.value[x].coding" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.system">
            <path value="Medication.extension.extension.value[x].coding.system" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.version">
            <path value="Medication.extension.extension.value[x].coding.version" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.code">
            <path value="Medication.extension.extension.value[x].coding.code" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].text">
            <path value="Medication.extension.extension.value[x].text" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:controlledMedicinalProduct">
            <path value="Medication.extension.extension" />
            <sliceName value="controlledMedicinalProduct" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:narcoticClassification">
            <path value="Medication.extension.extension" />
            <sliceName value="narcoticClassification" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding">
            <path value="Medication.extension.extension.value[x].coding" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.system">
            <path value="Medication.extension.extension.value[x].coding.system" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.version">
            <path value="Medication.extension.extension.value[x].coding.version" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.code">
            <path value="Medication.extension.extension.value[x].coding.code" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].text">
            <path value="Medication.extension.extension.value[x].text" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllReimbursement">
            <path value="Medication.extension" />
            <sliceName value="nllReimbursement" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLReimbursement" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension">
            <path value="Medication.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension:eligibleForReimbursement">
            <path value="Medication.extension.extension" />
            <sliceName value="eligibleForReimbursement" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension:restrictedReimbursement">
            <path value="Medication.extension.extension" />
            <sliceName value="restrictedReimbursement" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension:productOfThePeriod">
            <path value="Medication.extension.extension" />
            <sliceName value="productOfThePeriod" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension:productOfThePeriod.extension">
            <path value="Medication.extension.extension.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:currentPeriod">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="currentPeriod" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:unavailable">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="unavailable" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:previousPeriod">
            <path value="Medication.extension.extension.extension" />
            <sliceName value="previousPeriod" />
            <min value="0" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier">
            <path value="Medication.identifier" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="system" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <comment value="Medicinal products is identified by an NPL-package ID and other products by a Varunr" />
            <min value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier:nplpackid">
            <path value="Medication.identifier" />
            <sliceName value="nplpackid" />
            <short value="Medicinal product package ID" />
            <definition value="Unique identifier for a packaged medicinal product (sv: l&#228;kemedelsartikel) according to NPL (Nationellt produktregister f&#246;r l&#228;kemedel). A medicinal product can come in more than one package type/size. Each package type/size will have an unique NPL-pack-id but share the same NPL-id." />
            <comment value="NPL is administered by the Swedish Medical Products Agency (L&#228;kemedelsverket)\nThe similar concepts named SB-pack-id and SB-id are modeled as NPL-pack-id and NPL-id in this resource." />
            <max value="1" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier:nplpackid.use">
            <path value="Medication.identifier.use" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier:nplpackid.system">
            <path value="Medication.identifier.system" />
            <min value="1" />
            <fixedUri value="http://electronichealth.se/fhir/NamingSystem/nplpackid" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier:nplpackid.value">
            <path value="Medication.identifier.value" />
            <comment value="Maximum string length: 14" />
            <min value="1" />
            <maxLength value="14" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="NPL pack-id" />
            </mapping>
        </element>
        <element id="Medication.identifier:varunr">
            <path value="Medication.identifier" />
            <sliceName value="varunr" />
            <short value="Medical consumables Id" />
            <definition value="Unique identifier for medical consumables (sv: handelsvaror)." />
            <comment value="For packaged medicinal products (sv: l&#228;kemedelsartiklar) item number is not always unique and can change over time." />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier:varunr.use">
            <path value="Medication.identifier.use" />
            <short value="official | old" />
            <definition value="Defines if the value (varunr) is the current one or an old one." />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier:varunr.system">
            <path value="Medication.identifier.system" />
            <min value="1" />
            <fixedUri value="http://electronichealth.se/fhir/NamingSystem/varunr" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.identifier:varunr.value">
            <path value="Medication.identifier.value" />
            <short value="Medical consumables Id" />
            <definition value="The use element defines if this is the current medical consumables Id (sv. varunummer) or an old Id." />
            <comment value="Maximum string length: 8" />
            <min value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Varunummer" />
            </mapping>
            <mapping>
                <identity value="EHM" />
                <map value="Historiskt varunummer" />
            </mapping>
        </element>
        <element id="Medication.code">
            <path value="Medication.code" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.code.coding">
            <path value="Medication.code.coding" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="system" />
                </discriminator>
                <rules value="open" />
            </slicing>
        </element>
        <element id="Medication.code.coding:atc">
            <path value="Medication.code.coding" />
            <sliceName value="atc" />
            <short value="ATC" />
            <definition value="Classification of medicinal products according to the Anatomical Therapeutic Chemical (ATC) classification system." />
            <max value="1" />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <description value="The Anatomical Therapeutic Chemical (ATC) classification system" />
                <valueSet value="http://www.whocc.no/atc" />
            </binding>
        </element>
        <element id="Medication.code.coding:atc.system">
            <path value="Medication.code.coding.system" />
            <fixedUri value="http://www.whocc.no/atc" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.code.coding:atc.version">
            <path value="Medication.code.coding.version" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.code.coding:atc.code">
            <path value="Medication.code.coding.code" />
            <min value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="ATC-kod" />
            </mapping>
        </element>
        <element id="Medication.code.coding:nplId">
            <path value="Medication.code.coding" />
            <sliceName value="nplId" />
            <short value="Medcinal product Id" />
            <definition value="Unique identifier for a medicinal product (sv: l&#228;kemedelsprodukt) according to NPL (Nationellt produktregister f&#246;r l&#228;kemedel). A medicinal product can come in more than one package type/size. Each package type/size will have an unique NPL package Id but share the same NPL Id." />
            <comment value="NPL is administered by the Swedish Medical Products Agency (L&#228;kemedelsverket)\nThe similar concepts named SB-pack-id and SB-id are modeled as NPL-pack-id and NPL-id in this resource." />
            <max value="1" />
            <mustSupport value="true" />
            <binding>
                <strength value="required" />
                <description value="NPL Id" />
                <valueSet value="http://electronichealth.se/fhir/NamingSystem/nplid" />
            </binding>
        </element>
        <element id="Medication.code.coding:nplId.system">
            <path value="Medication.code.coding.system" />
            <fixedUri value="http://electronichealth.se/fhir/NamingSystem/nplid" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.code.coding:nplId.version">
            <path value="Medication.code.coding.version" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.code.coding:nplId.code">
            <path value="Medication.code.coding.code" />
            <comment value="Maximum string length: 14" />
            <min value="1" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="NPL-id" />
            </mapping>
        </element>
        <element id="Medication.code.text">
            <path value="Medication.code.text" />
            <definition value="Plain text representation of the concept as in the textual representation of the ATC code." />
            <comment value="Maximum string length: 240" />
            <maxLength value="240" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="ATC-klartext" />
            </mapping>
        </element>
        <element id="Medication.status">
            <path value="Medication.status" />
            <short value="active | inactive" />
            <definition value="Status defines whether the article is available for dispense or not." />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="status" />
            </mapping>
        </element>
        <element id="Medication.manufacturer">
            <path value="Medication.manufacturer" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.manufacturer.display">
            <path value="Medication.manufacturer.display" />
            <short value="Responsible organisation" />
            <definition value="Name of the organisation responsible for the article" />
            <comment value="Maximum string length: 160" />
            <maxLength value="160" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="Intressentnamn" />
            </mapping>
        </element>
        <element id="Medication.form">
            <path value="Medication.form" />
            <short value="Dose form of the medicinal product" />
            <definition value="The authorised pharmaceutical dose form in which the medicinal product is marketed, i.e. tablet, capsule." />
            <mustSupport value="true" />
        </element>
        <element id="Medication.form.text">
            <path value="Medication.form.text" />
            <short value="Dose form of the medicinal product" />
            <definition value="The authorised pharmaceutical dose form in which the medicinal product is marketed, i.e. tablet, capsule." />
            <comment value="Maximum string length: 160" />
            <maxLength value="160" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="L&#228;kemedelsform" />
            </mapping>
        </element>
        <element id="Medication.amount">
            <path value="Medication.amount" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rpackningsm&#228;ngd och enhet" />
            </mapping>
        </element>
        <element id="Medication.amount.extension">
            <path value="Medication.amount.extension" />
            <slicing>
                <discriminator>
                    <type value="value" />
                    <path value="url" />
                </discriminator>
                <rules value="open" />
            </slicing>
            <min value="0" />
        </element>
        <element id="Medication.amount.extension:nllDescription">
            <path value="Medication.amount.extension" />
            <sliceName value="nllDescription" />
            <min value="0" />
            <max value="1" />
            <type>
                <code value="Extension" />
                <profile value="http://electronichealth.se/fhir/StructureDefinition/NLLAmountDescription" />
            </type>
            <mustSupport value="true" />
        </element>
        <element id="Medication.amount.numerator">
            <path value="Medication.amount.numerator" />
            <definition value="Amount per package" />
            <mustSupport value="true" />
        </element>
        <element id="Medication.amount.numerator.value">
            <path value="Medication.amount.numerator.value" />
            <short value="Amount per package" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rpackningsm&#228;ngd" />
            </mapping>
        </element>
        <element id="Medication.amount.numerator.unit">
            <path value="Medication.amount.numerator.unit" />
            <comment value="Maximum string length: 80" />
            <maxLength value="80" />
            <mustSupport value="true" />
            <mapping>
                <identity value="EHM" />
                <map value="F&#246;rpackningsenhet" />
            </mapping>
        </element>
        <element id="Medication.amount.denominator">
            <path value="Medication.amount.denominator" />
            <definition value="The denominator is set to 1 to follow the requirements for a Ratio. It can be interpreted as amount per one package." />
            <fixedQuantity>
                <value value="1" />
            </fixedQuantity>
            <mustSupport value="true" />
        </element>
        <element id="Medication.amount.denominator.value">
            <path value="Medication.amount.denominator.value" />
            <mustSupport value="true" />
        </element>
    </differential>
</StructureDefinition>
{
    "resourceType": "StructureDefinition",
    "url": "http://electronichealth.se/fhir/StructureDefinition/NLLMedication",
    "version": "1.1.1",
    "name": "NLLMedication",
    "status": "active",
    "date": "2024-12-20",
    "publisher": "Swedish eHealth Agency",
    "fhirVersion": "4.0.1",
    "mapping":  [
        {
            "identity": "EHM",
            "name": "E-hälsomyndigheten concept"
        }
    ],
    "kind": "resource",
    "abstract": false,
    "type": "Medication",
    "baseDefinition": "http://hl7.org/fhir/StructureDefinition/Medication",
    "derivation": "constraint",
    "differential": {
        "element":  [
            {
                "id": "Medication",
                "path": "Medication",
                "short": "Medicinal products and medical consumables",
                "definition": "This resource is used to represent a medicinal product or a medical consumable. Medicinal products are identified by NPL-pack-id and medical consumables by item number (sv: varunummer)."
            },
            {
                "id": "Medication.id",
                "path": "Medication.id",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Artikel-id"
                    }
                ]
            },
            {
                "id": "Medication.text",
                "path": "Medication.text",
                "mustSupport": true
            },
            {
                "id": "Medication.text.status",
                "path": "Medication.text.status",
                "fixedCode": "extensions",
                "mustSupport": true
            },
            {
                "id": "Medication.text.div",
                "path": "Medication.text.div",
                "definition": "Summary including a sub-set of information.\n- Medicinal products:  current product name, form, strength and in specific situations producer (manufacturer).\n- Medical consumables: current product name and a description of the  product.",
                "comment": "Maximum string length: 80",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Artikelbenämning"
                    }
                ]
            },
            {
                "id": "Medication.extension",
                "path": "Medication.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllArticleInfo",
                "path": "Medication.extension",
                "sliceName": "nllArticleInfo",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLArticleInfo"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension",
                "path": "Medication.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:medicinalProduct",
                "path": "Medication.extension.extension",
                "sliceName": "medicinalProduct",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productType",
                "path": "Medication.extension.extension",
                "sliceName": "productType",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productType.value[x].coding",
                "path": "Medication.extension.extension.value[x].coding",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productType.value[x].coding.system",
                "path": "Medication.extension.extension.value[x].coding.system",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productType.value[x].coding.version",
                "path": "Medication.extension.extension.value[x].coding.version",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productType.value[x].coding.code",
                "path": "Medication.extension.extension.value[x].coding.code",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productType.value[x].text",
                "path": "Medication.extension.extension.value[x].text",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productName",
                "path": "Medication.extension.extension",
                "sliceName": "productName",
                "min": 0,
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productName.extension",
                "path": "Medication.extension.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productName.extension:currentProductName",
                "path": "Medication.extension.extension.extension",
                "sliceName": "currentProductName",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productName.extension:history",
                "path": "Medication.extension.extension.extension",
                "sliceName": "history",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productName.extension:history.extension",
                "path": "Medication.extension.extension.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 1
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:productName",
                "path": "Medication.extension.extension.extension.extension",
                "sliceName": "productName",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:productName.extension:history.extension:periodOfUse",
                "path": "Medication.extension.extension.extension.extension",
                "sliceName": "periodOfUse",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:package",
                "path": "Medication.extension.extension",
                "sliceName": "package",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:package.extension",
                "path": "Medication.extension.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:package.extension:packageContainer",
                "path": "Medication.extension.extension.extension",
                "sliceName": "packageContainer",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:package.extension:packageDescription",
                "path": "Medication.extension.extension.extension",
                "sliceName": "packageDescription",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:strength",
                "path": "Medication.extension.extension",
                "sliceName": "strength",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:strength.extension",
                "path": "Medication.extension.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:strength.extension:quantity",
                "path": "Medication.extension.extension.extension",
                "sliceName": "quantity",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].value",
                "path": "Medication.extension.extension.extension.value[x].value",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:strength.extension:quantity.value[x].unit",
                "path": "Medication.extension.extension.extension.value[x].unit",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleInfo.extension:strength.extension:text",
                "path": "Medication.extension.extension.extension",
                "sliceName": "text",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleAvailability",
                "path": "Medication.extension",
                "sliceName": "nllArticleAvailability",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLArticleAvailability"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleAvailability.extension",
                "path": "Medication.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllArticleAvailability.extension:onTheMarket",
                "path": "Medication.extension.extension",
                "sliceName": "onTheMarket",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleAvailability.extension:salesStopped",
                "path": "Medication.extension.extension",
                "sliceName": "salesStopped",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleAvailability.extension:withdrawalDate",
                "path": "Medication.extension.extension",
                "sliceName": "withdrawalDate",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations",
                "path": "Medication.extension",
                "sliceName": "nllArticleRegulations",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLArticleRegulations"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension",
                "path": "Medication.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:prescriptiveAuthorityCode",
                "path": "Medication.extension.extension",
                "sliceName": "prescriptiveAuthorityCode",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:repeatPrescription",
                "path": "Medication.extension.extension",
                "sliceName": "repeatPrescription",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].system",
                "path": "Medication.extension.extension.value[x].system",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:repeatPrescription.value[x].code",
                "path": "Medication.extension.extension.value[x].code",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:substitutionDetails",
                "path": "Medication.extension.extension",
                "sliceName": "substitutionDetails",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension",
                "path": "Medication.extension.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeable",
                "path": "Medication.extension.extension.extension",
                "sliceName": "interchangeable",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:substitutionDetails.extension:interchangeSubstanceGroup",
                "path": "Medication.extension.extension.extension",
                "sliceName": "interchangeSubstanceGroup",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:dispensingRestriction",
                "path": "Medication.extension.extension",
                "sliceName": "dispensingRestriction",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding",
                "path": "Medication.extension.extension.value[x].coding",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.system",
                "path": "Medication.extension.extension.value[x].coding.system",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.version",
                "path": "Medication.extension.extension.value[x].coding.version",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].coding.code",
                "path": "Medication.extension.extension.value[x].coding.code",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:dispensingRestriction.value[x].text",
                "path": "Medication.extension.extension.value[x].text",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:controlledMedicinalProduct",
                "path": "Medication.extension.extension",
                "sliceName": "controlledMedicinalProduct",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:narcoticClassification",
                "path": "Medication.extension.extension",
                "sliceName": "narcoticClassification",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding",
                "path": "Medication.extension.extension.value[x].coding",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.system",
                "path": "Medication.extension.extension.value[x].coding.system",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.version",
                "path": "Medication.extension.extension.value[x].coding.version",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].coding.code",
                "path": "Medication.extension.extension.value[x].coding.code",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllArticleRegulations.extension:narcoticClassification.value[x].text",
                "path": "Medication.extension.extension.value[x].text",
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllReimbursement",
                "path": "Medication.extension",
                "sliceName": "nllReimbursement",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLReimbursement"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllReimbursement.extension",
                "path": "Medication.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllReimbursement.extension:eligibleForReimbursement",
                "path": "Medication.extension.extension",
                "sliceName": "eligibleForReimbursement",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllReimbursement.extension:restrictedReimbursement",
                "path": "Medication.extension.extension",
                "sliceName": "restrictedReimbursement",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllReimbursement.extension:productOfThePeriod",
                "path": "Medication.extension.extension",
                "sliceName": "productOfThePeriod",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllReimbursement.extension:productOfThePeriod.extension",
                "path": "Medication.extension.extension.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:currentPeriod",
                "path": "Medication.extension.extension.extension",
                "sliceName": "currentPeriod",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:unavailable",
                "path": "Medication.extension.extension.extension",
                "sliceName": "unavailable",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.extension:nllReimbursement.extension:productOfThePeriod.extension:previousPeriod",
                "path": "Medication.extension.extension.extension",
                "sliceName": "previousPeriod",
                "min": 0,
                "mustSupport": true
            },
            {
                "id": "Medication.identifier",
                "path": "Medication.identifier",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                },
                "comment": "Medicinal products is identified by an NPL-package ID and other products by a Varunr",
                "min": 1,
                "mustSupport": true
            },
            {
                "id": "Medication.identifier:nplpackid",
                "path": "Medication.identifier",
                "sliceName": "nplpackid",
                "short": "Medicinal product package ID",
                "definition": "Unique identifier for a packaged medicinal product (sv: läkemedelsartikel) according to NPL (Nationellt produktregister för läkemedel). A medicinal product can come in more than one package type/size. Each package type/size will have an unique NPL-pack-id but share the same NPL-id.",
                "comment": "NPL is administered by the Swedish Medical Products Agency (Läkemedelsverket)\nThe similar concepts named SB-pack-id and SB-id are modeled as NPL-pack-id and NPL-id in this resource.",
                "max": "1",
                "mustSupport": true
            },
            {
                "id": "Medication.identifier:nplpackid.use",
                "path": "Medication.identifier.use",
                "mustSupport": true
            },
            {
                "id": "Medication.identifier:nplpackid.system",
                "path": "Medication.identifier.system",
                "min": 1,
                "fixedUri": "http://electronichealth.se/fhir/NamingSystem/nplpackid",
                "mustSupport": true
            },
            {
                "id": "Medication.identifier:nplpackid.value",
                "path": "Medication.identifier.value",
                "comment": "Maximum string length: 14",
                "min": 1,
                "maxLength": 14,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "NPL pack-id"
                    }
                ]
            },
            {
                "id": "Medication.identifier:varunr",
                "path": "Medication.identifier",
                "sliceName": "varunr",
                "short": "Medical consumables Id",
                "definition": "Unique identifier for medical consumables (sv: handelsvaror).",
                "comment": "For packaged medicinal products (sv: läkemedelsartiklar) item number is not always unique and can change over time.",
                "mustSupport": true
            },
            {
                "id": "Medication.identifier:varunr.use",
                "path": "Medication.identifier.use",
                "short": "official | old",
                "definition": "Defines if the value (varunr) is the current one or an old one.",
                "mustSupport": true
            },
            {
                "id": "Medication.identifier:varunr.system",
                "path": "Medication.identifier.system",
                "min": 1,
                "fixedUri": "http://electronichealth.se/fhir/NamingSystem/varunr",
                "mustSupport": true
            },
            {
                "id": "Medication.identifier:varunr.value",
                "path": "Medication.identifier.value",
                "short": "Medical consumables Id",
                "definition": "The use element defines if this is the current medical consumables Id (sv. varunummer) or an old Id.",
                "comment": "Maximum string length: 8",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Varunummer"
                    },
                    {
                        "identity": "EHM",
                        "map": "Historiskt varunummer"
                    }
                ]
            },
            {
                "id": "Medication.code",
                "path": "Medication.code",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding",
                "path": "Medication.code.coding",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "system"
                        }
                    ],
                    "rules": "open"
                }
            },
            {
                "id": "Medication.code.coding:atc",
                "path": "Medication.code.coding",
                "sliceName": "atc",
                "short": "ATC",
                "definition": "Classification of medicinal products according to the Anatomical Therapeutic Chemical (ATC) classification system.",
                "max": "1",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "description": "The Anatomical Therapeutic Chemical (ATC) classification system",
                    "valueSet": "http://www.whocc.no/atc"
                }
            },
            {
                "id": "Medication.code.coding:atc.system",
                "path": "Medication.code.coding.system",
                "fixedUri": "http://www.whocc.no/atc",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:atc.version",
                "path": "Medication.code.coding.version",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:atc.code",
                "path": "Medication.code.coding.code",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "ATC-kod"
                    }
                ]
            },
            {
                "id": "Medication.code.coding:nplId",
                "path": "Medication.code.coding",
                "sliceName": "nplId",
                "short": "Medcinal product Id",
                "definition": "Unique identifier for a medicinal product (sv: läkemedelsprodukt) according to NPL (Nationellt produktregister för läkemedel). A medicinal product can come in more than one package type/size. Each package type/size will have an unique NPL package Id but share the same NPL Id.",
                "comment": "NPL is administered by the Swedish Medical Products Agency (Läkemedelsverket)\nThe similar concepts named SB-pack-id and SB-id are modeled as NPL-pack-id and NPL-id in this resource.",
                "max": "1",
                "mustSupport": true,
                "binding": {
                    "strength": "required",
                    "description": "NPL Id",
                    "valueSet": "http://electronichealth.se/fhir/NamingSystem/nplid"
                }
            },
            {
                "id": "Medication.code.coding:nplId.system",
                "path": "Medication.code.coding.system",
                "fixedUri": "http://electronichealth.se/fhir/NamingSystem/nplid",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:nplId.version",
                "path": "Medication.code.coding.version",
                "mustSupport": true
            },
            {
                "id": "Medication.code.coding:nplId.code",
                "path": "Medication.code.coding.code",
                "comment": "Maximum string length: 14",
                "min": 1,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "NPL-id"
                    }
                ]
            },
            {
                "id": "Medication.code.text",
                "path": "Medication.code.text",
                "definition": "Plain text representation of the concept as in the textual representation of the ATC code.",
                "comment": "Maximum string length: 240",
                "maxLength": 240,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "ATC-klartext"
                    }
                ]
            },
            {
                "id": "Medication.status",
                "path": "Medication.status",
                "short": "active | inactive",
                "definition": "Status defines whether the article is available for dispense or not.",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "status"
                    }
                ]
            },
            {
                "id": "Medication.manufacturer",
                "path": "Medication.manufacturer",
                "mustSupport": true
            },
            {
                "id": "Medication.manufacturer.display",
                "path": "Medication.manufacturer.display",
                "short": "Responsible organisation",
                "definition": "Name of the organisation responsible for the article",
                "comment": "Maximum string length: 160",
                "maxLength": 160,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Intressentnamn"
                    }
                ]
            },
            {
                "id": "Medication.form",
                "path": "Medication.form",
                "short": "Dose form of the medicinal product",
                "definition": "The authorised pharmaceutical dose form in which the medicinal product is marketed, i.e. tablet, capsule.",
                "mustSupport": true
            },
            {
                "id": "Medication.form.text",
                "path": "Medication.form.text",
                "short": "Dose form of the medicinal product",
                "definition": "The authorised pharmaceutical dose form in which the medicinal product is marketed, i.e. tablet, capsule.",
                "comment": "Maximum string length: 160",
                "maxLength": 160,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Läkemedelsform"
                    }
                ]
            },
            {
                "id": "Medication.amount",
                "path": "Medication.amount",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förpackningsmängd och enhet"
                    }
                ]
            },
            {
                "id": "Medication.amount.extension",
                "path": "Medication.amount.extension",
                "slicing": {
                    "discriminator":  [
                        {
                            "type": "value",
                            "path": "url"
                        }
                    ],
                    "rules": "open"
                },
                "min": 0
            },
            {
                "id": "Medication.amount.extension:nllDescription",
                "path": "Medication.amount.extension",
                "sliceName": "nllDescription",
                "min": 0,
                "max": "1",
                "type":  [
                    {
                        "code": "Extension",
                        "profile":  [
                            "http://electronichealth.se/fhir/StructureDefinition/NLLAmountDescription"
                        ]
                    }
                ],
                "mustSupport": true
            },
            {
                "id": "Medication.amount.numerator",
                "path": "Medication.amount.numerator",
                "definition": "Amount per package",
                "mustSupport": true
            },
            {
                "id": "Medication.amount.numerator.value",
                "path": "Medication.amount.numerator.value",
                "short": "Amount per package",
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förpackningsmängd"
                    }
                ]
            },
            {
                "id": "Medication.amount.numerator.unit",
                "path": "Medication.amount.numerator.unit",
                "comment": "Maximum string length: 80",
                "maxLength": 80,
                "mustSupport": true,
                "mapping":  [
                    {
                        "identity": "EHM",
                        "map": "Förpackningsenhet"
                    }
                ]
            },
            {
                "id": "Medication.amount.denominator",
                "path": "Medication.amount.denominator",
                "definition": "The denominator is set to 1 to follow the requirements for a Ratio. It can be interpreted as amount per one package.",
                "fixedQuantity": {
                    "value": 1
                },
                "mustSupport": true
            },
            {
                "id": "Medication.amount.denominator.value",
                "path": "Medication.amount.denominator.value",
                "mustSupport": true
            }
        ]
    }
}
Medication..
Medication.id..
Medication.text..
Medication.text.status..
Medication.text.div..
Medication.extension0..
Medication.extensionExtension0..1
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension.value[x]..
Medication.extension.extension.value[x].coding..
Medication.extension.extension.value[x].coding.system..
Medication.extension.extension.value[x].coding.version..
Medication.extension.extension.value[x].coding.code..
Medication.extension.extension.value[x].text..
Medication.extension.extension0..1
Medication.extension.extension.extension1..
Medication.extension.extension.extension1..
Medication.extension.extension.extension0..
Medication.extension.extension.extension.extension1..
Medication.extension.extension.extension.extension1..
Medication.extension.extension.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension.value[x]..
Medication.extension.extension.extension.value[x].value..
Medication.extension.extension.extension.value[x].unit..
Medication.extension.extension.extension0..
Medication.extensionExtension0..1
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extensionExtension0..1
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension.value[x]..
Medication.extension.extension.value[x].system..
Medication.extension.extension.value[x].code..
Medication.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension.value[x]..
Medication.extension.extension.value[x].coding..
Medication.extension.extension.value[x].coding.system..
Medication.extension.extension.value[x].coding.version..
Medication.extension.extension.value[x].coding.code..
Medication.extension.extension.value[x].text..
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension.value[x]..
Medication.extension.extension.value[x].coding..
Medication.extension.extension.value[x].coding.system..
Medication.extension.extension.value[x].coding.version..
Medication.extension.extension.value[x].coding.code..
Medication.extension.extension.value[x].text..
Medication.extensionExtension0..1
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.extension.extension.extension0..
Medication.identifier1..
Medication.identifier..1
Medication.identifier.use..
Medication.identifier.system1..
Medication.identifier.value1..
Medication.identifier..
Medication.identifier.use..
Medication.identifier.system1..
Medication.identifier.value1..
Medication.code..
Medication.code.coding..
Medication.code.coding..1
Medication.code.coding.system..
Medication.code.coding.version..
Medication.code.coding.code1..
Medication.code.coding..1
Medication.code.coding.system..
Medication.code.coding.version..
Medication.code.coding.code1..
Medication.code.text..
Medication.status..
Medication.manufacturer..
Medication.manufacturer.display..
Medication.form..
Medication.form.text..
Medication.amount..
Medication.amount.extension0..
Medication.amount.extensionExtension0..1
Medication.amount.numerator..
Medication.amount.numerator.value..
Medication.amount.numerator.unit..
Medication.amount.denominator..
Medication.amount.denominator.value..

Details

Description of all elements can be found here, Element descriptions.

Mapping of FHIR element names to the National Medication List names can be found here, Element language mappings.

Known error in Medication.amount implementation

There is a known error regarding the handling of the attribute Medication.amount. In the implementation of the attribute it is treated as an array and not as a single object. As the correction is not backwards compatible the work around available is a possibility to request a Medication on the correct format using the prefer header: Prefer: nllOption=CompliantMedication. The default behaviour (when no header is provided) is still a Medication where Medication.amount is treated as an array. This is planned to be corrected in the next major release.

Also see the section "Outcome/Managing returned content" on this page: FHIR and REST

Medication statuses

The available statuses for the medication resource mirror the statuses used by the Swedish Medical Products Agency (sv Läkemedelsverket) and the VARA registry. The following statuses are used within the National Medication List for the medication resource.

Code Definition
active Dispenseable at the pharmacy (sv: möjlig att expediera)
inactive Not dispenseable at the pharmacy (sv: inte möjlig att expediera)
entered-in-error The medication was entered in error (sv: felaktigt registrerad artikel)
This code is not used at the moment but remains in the value set for future use

See Value Set Medication Status Codes.

Medication identifiers

The following business identifiers are used within the National Medication List for medicinal products and medical consumables.

Attribute Definition
nplpackid Unique identifier for a packaged medicinal product (sv: läkemedelsartikel)
varunr Unique identifier for a medical consumable (sv:handelsvara)

Note that nplid is not an unique identifier of a medication resource and therefore not a valid business identifier. A medicinal product can come in more than one package type/size. Each package type/size will have an unique NPL package Id but share the same NPL Id.

Supported operations

HTTP methods

Operation Supported Comment
Search (GET, POST) yes See below for supported search options.
Insert (POST) no
Update (PUT) no
Delete (DEL) no
Operation (GET, POST) no

When interacting with this resource a set of HTTP-headers must be included in the request, see HTTP Header and Authorization.

Query operations

Supported queries

The following query alternatives are available for this resource.

  1. ../Medication/[id]

  2. ../Medication?[parameters]
    Parameter chains:

    Chain 1
    nplPackId=[id]{,[id]...}

    Chain 2
    varunr=[id]{,[id]...}

Compartment searches

Compartments are not supported by this resource.

Include & reverse includes

Include and revinclude are not supported by this resource.

Search parameters

The table below shows all supported search parameters.

Search parameter Description Comment
Medication/[id] A read based on the logical ID (UUID) of a product
../Medication/<uuid>
nplPackId NPL pack-id of a medicinal product
..?nplPackId=19590101100023,20010720100892
varunr Medical consumables Id of a consumables product
..?varunr=185124

Other operations (extensions)

This resource has no extended operations.