Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5
0.1.0 - STU International flag

Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions

Resource Profile: Profile_R2_Medication_R5

Official URL: http://hl7.org/fhir/1.0/StructureDefinition/profile-Medication Version: 0.1.0
Standards status: Trial-use Maturity Level: 0 Computable Name: Profile_R2_Medication_R5

This cross-version profile allows DSTU2 Medication content to be represented via FHIR R5 Medication resources.

Usages:

You can also check for usages in the FHIR IG Statistics

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication(5.0.0) Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:isBrand 0..1 boolean DSTU2: True if a brand (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand
Constraints: ext-1
.... extension:batch 0..* (Complex) DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch
Constraints: ext-1
.... extension:package 0..1 (Complex) DSTU2: Details about packaged medications (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package
Constraints: ext-1
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.status Base required Medication Status Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().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-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.implicitRules, Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension, Medication.status All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication(5.0.0) Definition of a Medication
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:isBrand 0..1 boolean DSTU2: True if a brand (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand
.... extension:batch 0..* (Complex) DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch
.... extension:package 0..1 (Complex) DSTU2: Details about packaged medications (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:manufacturer 0..1 Reference(Resource) DSTU2: Manufacturer of the item additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication(5.0.0) Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:isBrand 0..1 boolean DSTU2: True if a brand (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand
Constraints: ext-1
.... extension:batch 0..* (Complex) DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch
Constraints: ext-1
.... extension:package 0..1 (Complex) DSTU2: Details about packaged medications (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.
... marketingAuthorizationHolder Σ 0..1 Reference(Organization) Organization that has authorization to market medication
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:manufacturer 0..1 Reference(Resource) DSTU2: Manufacturer of the item additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... doseForm 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
... totalVolume Σ 0..1 Quantity When the specified product code does not infer a package size, this is the specific amount of drug in the product
... ingredient 0..* BackboneElement Active or inactive ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... item 1..1 CodeableReference(Substance | Medication) The ingredient (substance or medication) that the ingredient.strength relates to
Binding: SNOMEDCTMedicationCodes (example)
.... isActive 0..1 boolean Active ingredient indicator
.... strength[x] 0..1 Quantity of ingredient present
Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient.
..... strengthRatio Ratio
..... strengthCodeableConcept CodeableConcept
..... strengthQuantity Quantity
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire
... definition 0..1 Reference(MedicationKnowledge) Knowledge about this medication

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
Medication.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Medication.language Base required All Languages 📍5.0.0 FHIR Std.
Medication.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
Medication.code Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
Medication.status Base required Medication Status Codes 📍5.0.0 FHIR Std.
Medication.marketingAuthorizationHolder.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Medication.doseForm Base example SNOMED CT Form Codes 📍5.0.0 FHIR Std.
Medication.ingredient.​item Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
Medication.ingredient.​strength[x] Base preferred Medication Ingredient Strength Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().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-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.meta, Medication.meta.extension, Medication.meta.extension:meta, Medication.meta.versionId, Medication.meta.lastUpdated, Medication.meta.source, Medication.meta.profile, Medication.meta.security, Medication.meta.tag, Medication.implicitRules, Medication.language, Medication.text, Medication.text.extension, Medication.text.extension:text, Medication.text.status, Medication.text.div, Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension, Medication.identifier, Medication.code, Medication.status, Medication.marketingAuthorizationHolder, Medication.marketingAuthorizationHolder.extension, Medication.marketingAuthorizationHolder.extension:manufacturer, Medication.marketingAuthorizationHolder.reference, Medication.marketingAuthorizationHolder.type, Medication.marketingAuthorizationHolder.identifier, Medication.marketingAuthorizationHolder.display, Medication.doseForm, Medication.totalVolume, Medication.ingredient, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.ingredient.item, Medication.ingredient.isActive, Medication.ingredient.strength[x], Medication.batch, Medication.batch.extension, Medication.batch.modifierExtension, Medication.batch.lotNumber, Medication.batch.expirationDate, Medication.definition All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.meta.extension, Medication.meta.extension:meta, Medication.text.extension, Medication.text.extension:text, Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension, Medication.marketingAuthorizationHolder.extension, Medication.marketingAuthorizationHolder.extension:manufacturer, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.batch.extension, Medication.batch.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error Medication.text.div 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 error Medication.text.div The narrative SHALL have some non-whitespace content htmlChecks()

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication(5.0.0) Definition of a Medication
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:isBrand 0..1 boolean DSTU2: True if a brand (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand
Constraints: ext-1
.... extension:batch 0..* (Complex) DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch
Constraints: ext-1
.... extension:package 0..1 (Complex) DSTU2: Details about packaged medications (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package
Constraints: ext-1
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.status Base required Medication Status Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().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-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.implicitRules, Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension, Medication.status All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from Medication

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication(5.0.0) Definition of a Medication
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.text
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:isBrand 0..1 boolean DSTU2: True if a brand (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand
.... extension:batch 0..* (Complex) DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch
.... extension:package 0..1 (Complex) DSTU2: Details about packaged medications (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:manufacturer 0..1 Reference(Resource) DSTU2: Manufacturer of the item additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. Medication 0..* Medication(5.0.0) Definition of a Medication
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 Meta DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: AllSecurityLabels . (extensible): Security Labels from the Healthcare Privacy and Security Classification System.
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example): Codes that represent various types of tags, commonly workflow-related; e.g. "Needs review by Dr. Jones".
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required): The status of a resource narrative.
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... extension:isBrand 0..1 boolean DSTU2: True if a brand (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand
Constraints: ext-1
.... extension:batch 0..* (Complex) DSTU2: (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch
Constraints: ext-1
.... extension:package 0..1 (Complex) DSTU2: Details about packaged medications (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package
Constraints: ext-1
... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored
Constraints: ext-1
... identifier Σ 0..* Identifier Business identifier for this medication
... code Σ 0..1 CodeableConcept Codes that identify this medication
Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication.
... status ?!Σ 0..1 code active | inactive | entered-in-error
Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use.
... marketingAuthorizationHolder Σ 0..1 Reference(Organization) Organization that has authorization to market medication
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:manufacturer 0..1 Reference(Resource) DSTU2: Manufacturer of the item additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient") - must be a resource in resources
Binding: ResourceType . (extensible): Aa resource (or, for logical models, the URI of the logical model).
.... identifier ΣC 0..1 Identifier Logical reference, when literal reference is not known
.... display ΣC 0..1 string Text alternative for the resource
... doseForm 0..1 CodeableConcept powder | tablets | capsule +
Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication.
... totalVolume Σ 0..1 Quantity When the specified product code does not infer a package size, this is the specific amount of drug in the product
... ingredient 0..* BackboneElement Active or inactive ingredient
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... item 1..1 CodeableReference(Substance | Medication) The ingredient (substance or medication) that the ingredient.strength relates to
Binding: SNOMEDCTMedicationCodes (example)
.... isActive 0..1 boolean Active ingredient indicator
.... strength[x] 0..1 Quantity of ingredient present
Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient.
..... strengthRatio Ratio
..... strengthCodeableConcept CodeableConcept
..... strengthQuantity Quantity
... batch 0..1 BackboneElement Details about packaged medications
.... id 0..1 string Unique id for inter-element referencing
.... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... lotNumber 0..1 string Identifier assigned to batch
.... expirationDate 0..1 dateTime When batch will expire
... definition 0..1 Reference(MedicationKnowledge) Knowledge about this medication

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
Medication.meta.security Base extensible All Security Labels . 📍5.0.0 tx.fhir.org
Medication.meta.tag Base example Common Tags 📍5.0.0 FHIR Std.
Medication.language Base required All Languages 📍5.0.0 FHIR Std.
Medication.text.status Base required NarrativeStatus 📍5.0.0 FHIR Std.
Medication.code Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
Medication.status Base required Medication Status Codes 📍5.0.0 FHIR Std.
Medication.marketingAuthorizationHolder.​type Base extensible Resource Types . 📍5.0.0 tx.fhir.org
Medication.doseForm Base example SNOMED CT Form Codes 📍5.0.0 FHIR Std.
Medication.ingredient.​item Base example SNOMED CT Medication Codes 📍5.0.0 FHIR Std.
Medication.ingredient.​strength[x] Base preferred Medication Ingredient Strength Codes 📍5.0.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
dom-2 error Medication If the resource is contained in another resource, it SHALL NOT contain nested Resources contained.contained.empty()
dom-3 error Medication If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().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-4 error Medication If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()
dom-5 error Medication If a resource is contained in another resource, it SHALL NOT have a security label contained.meta.security.empty()
dom-6 best practice Medication A resource should have narrative for robust management text.`div`.exists()
ele-1 error Medication.meta, Medication.meta.extension, Medication.meta.extension:meta, Medication.meta.versionId, Medication.meta.lastUpdated, Medication.meta.source, Medication.meta.profile, Medication.meta.security, Medication.meta.tag, Medication.implicitRules, Medication.language, Medication.text, Medication.text.extension, Medication.text.extension:text, Medication.text.status, Medication.text.div, Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension, Medication.identifier, Medication.code, Medication.status, Medication.marketingAuthorizationHolder, Medication.marketingAuthorizationHolder.extension, Medication.marketingAuthorizationHolder.extension:manufacturer, Medication.marketingAuthorizationHolder.reference, Medication.marketingAuthorizationHolder.type, Medication.marketingAuthorizationHolder.identifier, Medication.marketingAuthorizationHolder.display, Medication.doseForm, Medication.totalVolume, Medication.ingredient, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.ingredient.item, Medication.ingredient.isActive, Medication.ingredient.strength[x], Medication.batch, Medication.batch.extension, Medication.batch.modifierExtension, Medication.batch.lotNumber, Medication.batch.expirationDate, Medication.definition All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error Medication.meta.extension, Medication.meta.extension:meta, Medication.text.extension, Medication.text.extension:text, Medication.extension, Medication.extension:isBrand, Medication.extension:batch, Medication.extension:package, Medication.modifierExtension, Medication.marketingAuthorizationHolder.extension, Medication.marketingAuthorizationHolder.extension:manufacturer, Medication.ingredient.extension, Medication.ingredient.modifierExtension, Medication.batch.extension, Medication.batch.modifierExtension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error Medication.text.div 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 error Medication.text.div The narrative SHALL have some non-whitespace content htmlChecks()

 

Other representations of profile: CSV, Excel, Schematron