Medication, published by HL7 Belgium. This guide is not an authorized publication; it is the continuous build for version 1.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/hl7-be/medication/tree/prescription and changes regularly. See the Directory of published versions
Official URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/BeMedicationLine | Version: 1.1.0 | |||
Draft as of 2025-04-09 | Computable Name: BeMedicationLine |
Medication Line profile - contains the overview information for a single medication item
Usage:
Description of Profiles, Differentials, Snapshots and how the different presentations work.
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationStatement | Record of medication being taken by a patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
SC | 0..1 | (Complex) | MedicationRequest - Off-label use URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both offLabel-reason-required: If isOffLabelUse is true, reason must be provided |
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Indicates that the recommended dosage was overridden ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "isOffLabelUse" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | The reason why the recommended dosage was overridden ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel" | |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Exposure category URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/ExposureCategory Binding: Medication exposure intent (extensible) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indication of whether a dispense request is needed for delivering the medication URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DispenseRequestNeededCategory ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The business version of the medication line - this version changes when the content update is considered clinically relevant URL: http://hl7.org/fhir/StructureDefinition/artifact-version ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | The business-relevant recorded date - the date the medication line was created or changed URL: http://hl7.org/fhir/StructureDefinition/artifact-date ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Indicates whether the medication is or is not being consumed or administered URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
SΣ | 1..* | Identifier | External identifier Slice: Unordered, Open by pattern:system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | VIDIS identifier ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Required Pattern: http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | The value that is unique ele-1: All FHIR elements must have a @value or children Example General: 123456 |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of medication usage Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Reference(Medication) | |||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(BePatient) | Who is/was taking the medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | The date/time or interval when the medication is/was/will be taken ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the statement was asserted? ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient | BePractitioner | BePractitionerRole | RelatedPerson | BeOrganization) | Person or organization that provided the information about the taking of this medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information about the statement ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | Dosage | Details of how medication is/was taken or should be taken ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
MedicationStatement.identifier:vidis.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
MedicationStatement.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1 from the FHIR Standard | |
MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codes from the FHIR Standard | |
MedicationStatement.category | preferred | Medication usage category codeshttp://hl7.org/fhir/ValueSet/medication-statement-category from the FHIR Standard | |
MedicationStatement.medication[x] | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationStatement | 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 | error | MedicationStatement | 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 | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationStatement | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
offLabel-reason-required | error | MedicationStatement.extension:offLabel | If isOffLabelUse is true, reason must be provided : extension.where(url = 'isOffLabelUse').value.ofType(boolean).where($this = true).exists() implies extension.where(url = 'reason').exists() |
This structure is derived from MedicationStatement
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
MedicationStatement | |||
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | MedicationRequest - Off-label use URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Indicates that the recommended dosage was overridden | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | The reason why the recommended dosage was overridden | |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Exposure category URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/ExposureCategory Binding: Medication exposure intent (extensible) |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indication of whether a dispense request is needed for delivering the medication URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DispenseRequestNeededCategory |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The business version of the medication line - this version changes when the content update is considered clinically relevant URL: http://hl7.org/fhir/StructureDefinition/artifact-version |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | The business-relevant recorded date - the date the medication line was created or changed URL: http://hl7.org/fhir/StructureDefinition/artifact-date |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Indicates whether the medication is or is not being consumed or administered URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence |
![]() ![]() ![]() |
S | 1..* | Identifier | External identifier Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
S | 0..1 | Identifier | VIDIS identifier |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | The value that is unique |
![]() ![]() ![]() |
S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for current status |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of medication usage |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept, Reference(Medication) | What medication was taken |
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient) | Who is/was taking the medication |
![]() ![]() ![]() |
S | 1..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
S | 0..1 | dateTime | When the statement was asserted? |
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient | BePractitioner | BePractitionerRole | RelatedPerson | BeOrganization) | Person or organization that provided the information about the taking of this medication |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for why the medication is being/was taken |
![]() ![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information about the statement |
![]() ![]() ![]() |
S | 0..* | Dosage | Details of how medication is/was taken or should be taken |
![]() |
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedicationStatement | Record of medication being taken by a patient | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SC | 0..1 | (Complex) | MedicationRequest - Off-label use URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel offLabel-reason-required: If isOffLabelUse is true, reason must be provided | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Indicates that the recommended dosage was overridden | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "isOffLabelUse" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | The reason why the recommended dosage was overridden | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel" | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Exposure category URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/ExposureCategory Binding: Medication exposure intent (extensible) | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indication of whether a dispense request is needed for delivering the medication URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DispenseRequestNeededCategory | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | The business version of the medication line - this version changes when the content update is considered clinically relevant URL: http://hl7.org/fhir/StructureDefinition/artifact-version | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | The business-relevant recorded date - the date the medication line was created or changed URL: http://hl7.org/fhir/StructureDefinition/artifact-date | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Indicates whether the medication is or is not being consumed or administered URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | External identifier Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | VIDIS identifier | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of medication usage Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(BePatient) | Who is/was taking the medication | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() ![]() |
SΣ | 1..1 | The date/time or interval when the medication is/was/will be taken | |||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient | BePractitioner | BePractitionerRole | RelatedPerson | BeOrganization) | Person or organization that provided the information about the taking of this medication | ||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | ||||
![]() ![]() ![]() |
S | 0..* | Annotation | Further information about the statement | ||||
![]() ![]() ![]() |
S | 0..* | Dosage | Details of how medication is/was taken or should be taken | ||||
![]() |
Path | Conformance | ValueSet | URI | |||
MedicationStatement.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
MedicationStatement.identifier:vidis.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
MedicationStatement.identifier:vidis.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
MedicationStatement.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1 from the FHIR Standard | ||||
MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codes from the FHIR Standard | ||||
MedicationStatement.category | preferred | Medication usage category codeshttp://hl7.org/fhir/ValueSet/medication-statement-category from the FHIR Standard | ||||
MedicationStatement.medication[x] | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | ||||
MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationStatement | 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 | error | MedicationStatement | 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 | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationStatement | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
offLabel-reason-required | error | MedicationStatement.extension:offLabel | If isOffLabelUse is true, reason must be provided : extension.where(url = 'isOffLabelUse').value.ofType(boolean).where($this = true).exists() implies extension.where(url = 'reason').exists() |
This structure is derived from MedicationStatement
Summary
Mandatory: 5 elements(1 nested mandatory element)
Must-Support: 21 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Key Elements View
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
0..* | MedicationStatement | Record of medication being taken by a patient dom-2: If the resource is contained in another resource, it SHALL NOT contain nested Resources dom-3: If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource dom-4: If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated dom-5: If a resource is contained in another resource, it SHALL NOT have a security label dom-6: A resource should have narrative for robust management | |
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() |
SC | 0..1 | (Complex) | MedicationRequest - Off-label use URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both offLabel-reason-required: If isOffLabelUse is true, reason must be provided |
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Indicates that the recommended dosage was overridden ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "isOffLabelUse" | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | The reason why the recommended dosage was overridden ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both | |
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel" | |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Exposure category URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/ExposureCategory Binding: Medication exposure intent (extensible) ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indication of whether a dispense request is needed for delivering the medication URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DispenseRequestNeededCategory ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The business version of the medication line - this version changes when the content update is considered clinically relevant URL: http://hl7.org/fhir/StructureDefinition/artifact-version ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | The business-relevant recorded date - the date the medication line was created or changed URL: http://hl7.org/fhir/StructureDefinition/artifact-date ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Indicates whether the medication is or is not being consumed or administered URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored ele-1: All FHIR elements must have a @value or children ext-1: Must have either extensions or value[x], not both |
![]() ![]() ![]() |
SΣ | 1..* | Identifier | External identifier Slice: Unordered, Open by pattern:system ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | VIDIS identifier ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value ele-1: All FHIR elements must have a @value or children Required Pattern: http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline |
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | The value that is unique ele-1: All FHIR elements must have a @value or children Example General: 123456 |
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of medication usage Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() ![]() |
Reference(Medication) | |||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(BePatient) | Who is/was taking the medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
SΣ | 1..1 | The date/time or interval when the medication is/was/will be taken ele-1: All FHIR elements must have a @value or children | |
![]() ![]() ![]() ![]() |
dateTime | |||
![]() ![]() ![]() ![]() |
Period | |||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the statement was asserted? ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient | BePractitioner | BePractitionerRole | RelatedPerson | BeOrganization) | Person or organization that provided the information about the taking of this medication ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information about the statement ele-1: All FHIR elements must have a @value or children |
![]() ![]() ![]() |
S | 0..* | Dosage | Details of how medication is/was taken or should be taken ele-1: All FHIR elements must have a @value or children |
![]() |
Path | Conformance | ValueSet | URI |
MedicationStatement.identifier:vidis.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | |
MedicationStatement.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1 from the FHIR Standard | |
MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codes from the FHIR Standard | |
MedicationStatement.category | preferred | Medication usage category codeshttp://hl7.org/fhir/ValueSet/medication-statement-category from the FHIR Standard | |
MedicationStatement.medication[x] | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | |
MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationStatement | 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 | error | MedicationStatement | 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 | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationStatement | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
offLabel-reason-required | error | MedicationStatement.extension:offLabel | If isOffLabelUse is true, reason must be provided : extension.where(url = 'isOffLabelUse').value.ofType(boolean).where($this = true).exists() implies extension.where(url = 'reason').exists() |
Differential View
This structure is derived from MedicationStatement
Name | Flags | Card. | Type | Description & Constraints![]() |
---|---|---|---|---|
![]() ![]() |
MedicationStatement | |||
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
S | 0..1 | (Complex) | MedicationRequest - Off-label use URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel |
![]() ![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Indicates that the recommended dosage was overridden | |
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | The reason why the recommended dosage was overridden | |
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Exposure category URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/ExposureCategory Binding: Medication exposure intent (extensible) |
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indication of whether a dispense request is needed for delivering the medication URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DispenseRequestNeededCategory |
![]() ![]() ![]() ![]() |
S | 1..1 | string | The business version of the medication line - this version changes when the content update is considered clinically relevant URL: http://hl7.org/fhir/StructureDefinition/artifact-version |
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | The business-relevant recorded date - the date the medication line was created or changed URL: http://hl7.org/fhir/StructureDefinition/artifact-date |
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Indicates whether the medication is or is not being consumed or administered URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence |
![]() ![]() ![]() |
S | 1..* | Identifier | External identifier Slice: Unordered, Open by pattern:system |
![]() ![]() ![]() ![]() |
S | 0..1 | Identifier | VIDIS identifier |
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | The namespace for the identifier value Required Pattern: http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline | |
![]() ![]() ![]() ![]() ![]() |
S | 0..1 | string | The value that is unique |
![]() ![]() ![]() |
S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for current status |
![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Type of medication usage |
![]() ![]() ![]() |
S | 1..1 | CodeableConcept, Reference(Medication) | What medication was taken |
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient) | Who is/was taking the medication |
![]() ![]() ![]() |
S | 1..1 | dateTime, Period | The date/time or interval when the medication is/was/will be taken |
![]() ![]() ![]() |
S | 0..1 | dateTime | When the statement was asserted? |
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient | BePractitioner | BePractitionerRole | RelatedPerson | BeOrganization) | Person or organization that provided the information about the taking of this medication |
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for why the medication is being/was taken |
![]() ![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken |
![]() ![]() ![]() |
S | 0..* | Annotation | Further information about the statement |
![]() ![]() ![]() |
S | 0..* | Dosage | Details of how medication is/was taken or should be taken |
![]() |
Snapshot View
Name | Flags | Card. | Type | Description & Constraints![]() | ||||
---|---|---|---|---|---|---|---|---|
![]() ![]() |
0..* | MedicationStatement | Record of medication being taken by a patient | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): A human language.
| |||||
![]() ![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation | |||||
![]() ![]() ![]() |
0..* | Resource | Contained, inline Resources | |||||
![]() ![]() ![]() |
2..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
SC | 0..1 | (Complex) | MedicationRequest - Off-label use URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel offLabel-reason-required: If isOffLabelUse is true, reason must be provided | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
1..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | Extension | Indicates that the recommended dosage was overridden | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "isOffLabelUse" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | boolean | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() ![]() |
0..* | Extension | The reason why the recommended dosage was overridden | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..0 | |||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "reason" | |||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() |
0..1 | CodeableConcept | Value of extension | |||||
![]() ![]() ![]() ![]() ![]() |
1..1 | uri | "https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/be-ext-OffLabel" | |||||
![]() ![]() ![]() ![]() |
S | 0..1 | CodeableConcept | Exposure category URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/ExposureCategory Binding: Medication exposure intent (extensible) | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | boolean | Indication of whether a dispense request is needed for delivering the medication URL: https://www.ehealth.fgov.be/standards/fhir/medication/StructureDefinition/DispenseRequestNeededCategory | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | string | The business version of the medication line - this version changes when the content update is considered clinically relevant URL: http://hl7.org/fhir/StructureDefinition/artifact-version | ||||
![]() ![]() ![]() ![]() |
S | 0..1 | dateTime | The business-relevant recorded date - the date the medication line was created or changed URL: http://hl7.org/fhir/StructureDefinition/artifact-date | ||||
![]() ![]() ![]() ![]() |
S | 1..1 | (Complex) | Indicates whether the medication is or is not being consumed or administered URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | ||||
![]() ![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() ![]() |
SΣ | 1..* | Identifier | External identifier Slice: Unordered, Open by pattern:system | ||||
![]() ![]() ![]() ![]() |
SΣ | 0..1 | Identifier | VIDIS identifier | ||||
![]() ![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required): Identifies the purpose for this identifier, if known . | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible): A coded type for an identifier that can be used to determine which identifier to use for a specific purpose. | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 1..1 | uri | The namespace for the identifier value Required Pattern: http://ehealth.fgov.be/standards/fhir/medication/NamingSystem/be-ns-medicationline | ||||
![]() ![]() ![]() ![]() ![]() |
SΣ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() ![]() |
?!SΣ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement. | ||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | ||||
![]() ![]() ![]() |
SΣ | 0..1 | CodeableConcept | Type of medication usage Binding: Medication usage category codes (preferred): A coded concept identifying where the medication included in the MedicationStatement is expected to be consumed or administered. | ||||
![]() ![]() ![]() |
SΣ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() ![]() |
SΣ | 1..1 | Reference(BePatient) | Who is/was taking the medication | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() ![]() |
SΣ | 1..1 | The date/time or interval when the medication is/was/will be taken | |||||
![]() ![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() ![]() |
Period | |||||||
![]() ![]() ![]() |
SΣ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() ![]() |
S | 1..1 | Reference(BePatient | BePractitioner | BePractitionerRole | RelatedPerson | BeOrganization) | Person or organization that provided the information about the taking of this medication | ||||
![]() ![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||
![]() ![]() ![]() |
S | 0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/DiagnosisCodes (example): A coded concept identifying why the medication is being taken. | ||||
![]() ![]() ![]() |
S | 0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | ||||
![]() ![]() ![]() |
S | 0..* | Annotation | Further information about the statement | ||||
![]() ![]() ![]() |
S | 0..* | Dosage | Details of how medication is/was taken or should be taken | ||||
![]() |
Path | Conformance | ValueSet | URI | |||
MedicationStatement.language | preferred | CommonLanguageshttp://hl7.org/fhir/ValueSet/languages from the FHIR Standard
| ||||
MedicationStatement.identifier:vidis.use | required | IdentifierUsehttp://hl7.org/fhir/ValueSet/identifier-use|4.0.1 from the FHIR Standard | ||||
MedicationStatement.identifier:vidis.type | extensible | Identifier Type Codeshttp://hl7.org/fhir/ValueSet/identifier-type from the FHIR Standard | ||||
MedicationStatement.status | required | Medication Status Codeshttp://hl7.org/fhir/ValueSet/medication-statement-status|4.0.1 from the FHIR Standard | ||||
MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodeshttp://hl7.org/fhir/ValueSet/reason-medication-status-codes from the FHIR Standard | ||||
MedicationStatement.category | preferred | Medication usage category codeshttp://hl7.org/fhir/ValueSet/medication-statement-category from the FHIR Standard | ||||
MedicationStatement.medication[x] | example | SNOMEDCTMedicationCodeshttp://hl7.org/fhir/ValueSet/medication-codes from the FHIR Standard | ||||
MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodeshttp://hl7.org/fhir/ValueSet/condition-code from the FHIR Standard |
Id | Grade | Path(s) | Details | Requirements |
dom-2 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() | |
dom-3 | error | MedicationStatement | 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 | error | MedicationStatement | 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 | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() | |
dom-6 | best practice | MedicationStatement | A resource should have narrative for robust management : text.`div`.exists() | |
ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) | |
ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both : extension.exists() != value.exists() | |
offLabel-reason-required | error | MedicationStatement.extension:offLabel | If isOffLabelUse is true, reason must be provided : extension.where(url = 'isOffLabelUse').value.ofType(boolean).where($this = true).exists() implies extension.where(url = 'reason').exists() |
This structure is derived from MedicationStatement
Summary
Mandatory: 5 elements(1 nested mandatory element)
Must-Support: 21 elements
Structures
This structure refers to these other structures:
Extensions
This structure refers to these extensions:
Slices
This structure defines the following Slices:
Other representations of profile: CSV, Excel, Schematron