3.0.0-alpha - ci-build Norway flag

Publication Build: This will be filled in by the publication tooling

Resource Profile: no-basis-Medication

Official URL: http://hl7.no/fhir/StructureDefinition/no-basis-Medication Version: 3.0.0-alpha
Active as of 2019-07-03 Computable Name: NoBasisMedication

Basis profile for medication to be used in Norway. The profile is adapted to use FEST as source of indoseFormation.

Usage:

  • This Resource Profile is not used by any profiles in this Implementation Guide

Formal Views of Profile Content

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

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationDefinition of a Medication
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... prescriptiongroup 0..*(Complex)Describes the group the medication is within
URL: http://hl7.no/fhir/StructureDefinition/no-basis-prescriptiongroup
... code 1..1CodeableConceptCodes that identify this medication
.... Slices for coding 1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Medication 1..1CodingMedication defined in FEST
...... system 1..1uriIdentity of the terminology system
Fixed Value: http://ehelse.no/fhir/CodeSystem/FEST
...... display 1..1stringRepresentation defined by the system
..... coding:ATC 0..1CodingATC
...... system 1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code 1..1codeSymbol in syntax defined by the system
...... display 1..1stringRepresentation defined by the system
.... Slices for coding 1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Form 0..1CodingForm given by norwegian codingsystem
...... system 1..1uriIdentity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7448
...... code 1..1codeSymbol in syntax defined by the system
...... display 1..1stringRepresentation defined by the system

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationDefinition of a Medication
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... code Σ1..1CodeableConceptCodes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Medication Σ1..1CodingMedication defined in FEST
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://ehelse.no/fhir/CodeSystem/FEST
...... display ΣC1..1stringRepresentation defined by the system
..... coding:ATC Σ0..1CodingATC
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
... status ?!Σ0..1codeactive | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.

... doseForm 1..1CodeableConceptCode from volven 7448
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Form Σ0..1CodingForm given by norwegian codingsystem
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7448
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Medication.codeexampleSNOMEDCTMedicationCodes
Medication.statusrequiredMedicationStatusCodes
Medication.doseFormexampleSNOMEDCTFormCodes

Constraints

IdGradePath(s)DetailsRequirements
dom-2errorMedicationIf the resource is contained in another resource, it SHALL NOT contain nested Resources
: contained.contained.empty()
dom-3errorMedicationIf the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource
: contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().ofType(canonical) | %resource.descendants().ofType(uri) | %resource.descendants().ofType(url))) or descendants().where(reference = '#').exists() or descendants().where(ofType(canonical) = '#').exists() or descendants().where(ofType(canonical) = '#').exists()).not()).trace('unmatched', id).empty()
dom-4errorMedicationIf a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated
: contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5errorMedicationIf a resource is contained in another resource, it SHALL NOT have a security label
: contained.meta.security.empty()
dom-6best practiceMedicationA resource should have narrative for robust management
: text.`div`.exists()
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()
NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationDefinition of a Medication
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... prescriptiongroup 0..*(Complex)Describes the group the medication is within
URL: http://hl7.no/fhir/StructureDefinition/no-basis-prescriptiongroup
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier for this medication
... code Σ1..1CodeableConceptCodes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Medication Σ1..1CodingMedication defined in FEST
...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://ehelse.no/fhir/CodeSystem/FEST
...... version Σ0..1stringVersion of the system - if relevant
...... code ΣC0..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:ATC Σ0..1CodingATC
...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version Σ0..1stringVersion of the system - if relevant
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... status ?!Σ0..1codeactive | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.

... marketingAuthorizationHolder Σ0..1Reference(Organization)Organization that has authorization to market medication
... doseForm 1..1CodeableConceptCode from volven 7448
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Form Σ0..1CodingForm given by norwegian codingsystem
...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7448
...... version Σ0..1stringVersion of the system - if relevant
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... totalVolume Σ0..1QuantityWhen the specified product code does not infer a package size, this is the specific amount of drug in the product
... ingredient 0..*BackboneElementActive or inactive ingredient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... item 1..1CodeableReference(Substance | Medication)The ingredient (substance or medication) that the ingredient.strength relates to
Binding: SNOMEDCTMedicationCodes (example)
.... isActive 0..1booleanActive ingredient indicator
.... strength[x] 0..1Quantity of ingredient present
Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient.

..... strengthRatioRatio
..... strengthCodeableConceptCodeableConcept
..... strengthQuantityQuantity
... batch 0..1BackboneElementDetails about packaged medications
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... lotNumber 0..1stringIdentifier assigned to batch
.... expirationDate 0..1dateTimeWhen batch will expire
... definition 0..1Reference(MedicationKnowledge)Knowledge about this medication

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Medication.languagerequiredAllLanguages
Medication.codeexampleSNOMEDCTMedicationCodes
Medication.statusrequiredMedicationStatusCodes
Medication.doseFormexampleSNOMEDCTFormCodes
Medication.ingredient.itemexampleSNOMEDCTMedicationCodes
Medication.ingredient.strength[x]preferredMedicationIngredientStrengthCodes

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Medication

Summary

Mandatory: 7 elements (6 nested mandatory elements)
Fixed Value: 3 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Medication.code.coding is sliced based on the value of value:system
  • The element Medication.doseForm.coding is sliced based on the value of value:system

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationDefinition of a Medication
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... prescriptiongroup 0..*(Complex)Describes the group the medication is within
URL: http://hl7.no/fhir/StructureDefinition/no-basis-prescriptiongroup
... code 1..1CodeableConceptCodes that identify this medication
.... Slices for coding 1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Medication 1..1CodingMedication defined in FEST
...... system 1..1uriIdentity of the terminology system
Fixed Value: http://ehelse.no/fhir/CodeSystem/FEST
...... display 1..1stringRepresentation defined by the system
..... coding:ATC 0..1CodingATC
...... system 1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code 1..1codeSymbol in syntax defined by the system
...... display 1..1stringRepresentation defined by the system
.... Slices for coding 1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Form 0..1CodingForm given by norwegian codingsystem
...... system 1..1uriIdentity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7448
...... code 1..1codeSymbol in syntax defined by the system
...... display 1..1stringRepresentation defined by the system

doco Documentation for this format

Key Elements View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationDefinition of a Medication
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... code Σ1..1CodeableConceptCodes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Medication Σ1..1CodingMedication defined in FEST
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://ehelse.no/fhir/CodeSystem/FEST
...... display ΣC1..1stringRepresentation defined by the system
..... coding:ATC Σ0..1CodingATC
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
... status ?!Σ0..1codeactive | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.

... doseForm 1..1CodeableConceptCode from volven 7448
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Form Σ0..1CodingForm given by norwegian codingsystem
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7448
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Medication.codeexampleSNOMEDCTMedicationCodes
Medication.statusrequiredMedicationStatusCodes
Medication.doseFormexampleSNOMEDCTFormCodes

Constraints

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

Snapshot View

NameFlagsCard.TypeDescription & Constraintsdoco
.. Medication 0..*MedicationDefinition of a Medication
... id Σ0..1idLogical id of this artifact
... meta Σ0..1MetaMetadata about the resource
... implicitRules ?!Σ0..1uriA set of rules under which this content was created
... text 0..1NarrativeText summary of the resource, for human interpretation
... contained 0..*ResourceContained, inline Resources
... Slices for extension 0..*ExtensionExtension
Slice: Unordered, Open by value:url
... prescriptiongroup 0..*(Complex)Describes the group the medication is within
URL: http://hl7.no/fhir/StructureDefinition/no-basis-prescriptiongroup
... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored
... identifier Σ0..*IdentifierBusiness identifier for this medication
... code Σ1..1CodeableConceptCodes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.

.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Medication Σ1..1CodingMedication defined in FEST
...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://ehelse.no/fhir/CodeSystem/FEST
...... version Σ0..1stringVersion of the system - if relevant
...... code ΣC0..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
..... coding:ATC Σ0..1CodingATC
...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: http://www.whocc.no/atc
...... version Σ0..1stringVersion of the system - if relevant
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... status ?!Σ0..1codeactive | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.

... marketingAuthorizationHolder Σ0..1Reference(Organization)Organization that has authorization to market medication
... doseForm 1..1CodeableConceptCode from volven 7448
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.

.... id 0..1idUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
.... Slices for coding Σ1..*CodingCode defined by a terminology system
Slice: Unordered, Open by value:system
..... coding:FEST-Form Σ0..1CodingForm given by norwegian codingsystem
...... id 0..1idUnique id for inter-element referencing
...... extension 0..*ExtensionAdditional content defined by implementations
Slice: Unordered, Open by value:url
...... system Σ1..1uriIdentity of the terminology system
Fixed Value: urn:oid:2.16.578.1.12.4.1.1.7448
...... version Σ0..1stringVersion of the system - if relevant
...... code ΣC1..1codeSymbol in syntax defined by the system
...... display ΣC1..1stringRepresentation defined by the system
...... userSelected Σ0..1booleanIf this coding was chosen directly by the user
.... text Σ0..1stringPlain text representation of the concept
... totalVolume Σ0..1QuantityWhen the specified product code does not infer a package size, this is the specific amount of drug in the product
... ingredient 0..*BackboneElementActive or inactive ingredient
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... item 1..1CodeableReference(Substance | Medication)The ingredient (substance or medication) that the ingredient.strength relates to
Binding: SNOMEDCTMedicationCodes (example)
.... isActive 0..1booleanActive ingredient indicator
.... strength[x] 0..1Quantity of ingredient present
Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient.

..... strengthRatioRatio
..... strengthCodeableConceptCodeableConcept
..... strengthQuantityQuantity
... batch 0..1BackboneElementDetails about packaged medications
.... id 0..1stringUnique id for inter-element referencing
.... extension 0..*ExtensionAdditional content defined by implementations
.... modifierExtension ?!Σ0..*ExtensionExtensions that cannot be ignored even if unrecognized
.... lotNumber 0..1stringIdentifier assigned to batch
.... expirationDate 0..1dateTimeWhen batch will expire
... definition 0..1Reference(MedicationKnowledge)Knowledge about this medication

doco Documentation for this format

Terminology Bindings

PathConformanceValueSet
Medication.languagerequiredAllLanguages
Medication.codeexampleSNOMEDCTMedicationCodes
Medication.statusrequiredMedicationStatusCodes
Medication.doseFormexampleSNOMEDCTFormCodes
Medication.ingredient.itemexampleSNOMEDCTMedicationCodes
Medication.ingredient.strength[x]preferredMedicationIngredientStrengthCodes

Constraints

IdGradePath(s)DetailsRequirements
ele-1error**ALL** elementsAll FHIR elements must have a @value or children
: hasValue() or (children().count() > id.count())
ext-1error**ALL** extensionsMust have either extensions or value[x], not both
: extension.exists() != value.exists()

This structure is derived from Medication

Summary

Mandatory: 7 elements (6 nested mandatory elements)
Fixed Value: 3 elements

Extensions

This structure refers to these extensions:

Slices

This structure defines the following Slices:

  • The element Medication.code.coding is sliced based on the value of value:system
  • The element Medication.doseForm.coding is sliced based on the value of value:system

 

Other representations of profile: CSV, Excel, Schematron