Extensions for Using Data Elements from FHIR DSTU2 in FHIR R5 - Downloaded Version null See the Directory of published versions
| 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
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication(5.0.0) | Definition of a Medication | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | boolean | DSTU2: True if a brand (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | (Complex) | DSTU2: (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Details about packaged medications (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.status | Base | required | Medication Status Codes | 📍5.0.0 | FHIR Std. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication(5.0.0) | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | boolean | DSTU2: True if a brand (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | DSTU2: (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Details about packaged medications (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this medication | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Codes that identify this medication Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that has authorization to market medication | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Manufacturer of the item additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. | |||||
![]() ![]() |
Σ | 0..1 | Quantity | When the specified product code does not infer a package size, this is the specific amount of drug in the product | ||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableReference(Substance | Medication) | The ingredient (substance or medication) that the ingredient.strength relates to Binding: SNOMEDCTMedicationCodes (example) | |||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Quantity of ingredient present Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. | ||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
![]() ![]() |
0..1 | Reference(MedicationKnowledge) | Knowledge about this medication | |||||
Documentation for this format | ||||||||
| 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. |
| 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()
|
This structure is derived from Medication
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | Medication(5.0.0) | Definition of a Medication | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Resource | Contained, inline Resources | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | boolean | DSTU2: True if a brand (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand Constraints: ext-1 | |
![]() ![]() ![]() |
0..* | (Complex) | DSTU2: (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch Constraints: ext-1 | |
![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Details about packaged medications (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package Constraints: ext-1 | |
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 |
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use. |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| Medication.status | Base | required | Medication Status Codes | 📍5.0.0 | FHIR Std. |
| 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
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | Medication(5.0.0) | Definition of a Medication | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Meta | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: AllSecurityLabels (extensible): Security Labels from the Healthcare Privacy and Security Classification System. | ||||
![]() ![]() ![]() |
Σ | 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". | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: AllLanguages (required): IETF language tag for a human language
| |||||
![]() ![]() |
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 | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required): The status of a resource narrative. | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | boolean | DSTU2: True if a brand (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.isBrand Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..* | (Complex) | DSTU2: (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.product.batch Constraints: ext-1 | |||||
![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: Details about packaged medications (new) URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-Medication.package Constraints: ext-1 | |||||
![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored Constraints: ext-1 | ||||
![]() ![]() |
Σ | 0..* | Identifier | Business identifier for this medication | ||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Codes that identify this medication Binding: SNOMEDCTMedicationCodes (example): A coded concept that defines the type of a medication. | ||||
![]() ![]() |
?!Σ | 0..1 | code | active | inactive | entered-in-error Binding: MedicationStatusCodes (required): A coded concept defining if the medication is in active use. | ||||
![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that has authorization to market medication | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: Manufacturer of the item additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 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). | ||||
![]() ![]() ![]() |
ΣC | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..1 | CodeableConcept | powder | tablets | capsule + Binding: SNOMEDCTFormCodes (example): A coded concept defining the form of a medication. | |||||
![]() ![]() |
Σ | 0..1 | Quantity | When the specified product code does not infer a package size, this is the specific amount of drug in the product | ||||
![]() ![]() |
0..* | BackboneElement | Active or inactive ingredient | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
1..1 | CodeableReference(Substance | Medication) | The ingredient (substance or medication) that the ingredient.strength relates to Binding: SNOMEDCTMedicationCodes (example) | |||||
![]() ![]() ![]() |
0..1 | boolean | Active ingredient indicator | |||||
![]() ![]() ![]() |
0..1 | Quantity of ingredient present Binding: MedicationIngredientStrengthCodes (preferred): A coded concpet defining the strength of an ingredient. | ||||||
![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Quantity | |||||||
![]() ![]() |
0..1 | BackboneElement | Details about packaged medications | |||||
![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
0..1 | string | Identifier assigned to batch | |||||
![]() ![]() ![]() |
0..1 | dateTime | When batch will expire | |||||
![]() ![]() |
0..1 | Reference(MedicationKnowledge) | Knowledge about this medication | |||||
Documentation for this format | ||||||||
| 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. |
| 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()
|
This structure is derived from Medication
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron