Extensions for Using Data Elements from FHIR R5 in FHIR STU3 - Downloaded Version null See the Directory of published versions
| Official URL: http://hl7.org/fhir/5.0/StructureDefinition/profile-MedicationStatement | Version: 0.1.0 | |||
| Standards status: Trial-use | Maturity Level: 0 | Computable Name: Profile_R5_MedicationStatement_R3 | ||
This cross-version profile allows R5 MedicationStatement content to be represented via FHIR STU3 MedicationStatement 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: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: mst-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Timing | R5: The date/time or interval when the medication is/was/will be taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.effective | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Reason for why the medication is being/was taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.reason | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.Observation for use in FHIR STU3(0.1.0) | Observation | Cross-version Profile for R5.Condition for use in FHIR STU3(0.1.0) | Condition) | R5: Link to information relevant to the usage of a medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.relatedClinicalInformation | |
![]() ![]() ![]() |
0..1 | markdown | R5: Full representation of the dosage instructions (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction | |
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: recorded | entered-in-error | draft additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.status Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | |
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken. | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(Medication) | |||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
?!Σ | 1..1 | code | y | n | unk | na Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.status | Base | required | MedicationStatementStatus | 📍3.0.2 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| MedicationStatement.taken | Base | required | MedicationStatementTaken | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mst-1 | error | MedicationStatement | Reason not taken is only permitted if Taken is No |
reasonNotTaken.exists().not() or (taken = 'n')
|
This structure is derived from MedicationStatement
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationStatement | Record of medication being taken by a patient | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Timing | R5: The date/time or interval when the medication is/was/will be taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.effective | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Reason for why the medication is being/was taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.reason | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.Observation for use in FHIR STU3(0.1.0) | Observation | Cross-version Profile for R5.Condition for use in FHIR STU3(0.1.0) | Condition) | R5: Link to information relevant to the usage of a medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.relatedClinicalInformation | |
![]() ![]() ![]() |
0..1 | markdown | R5: Full representation of the dosage instructions (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction | |
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: partOf additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Encounter associated with MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: recorded | entered-in-error | draft additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.status Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: informationSource URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Link to information used to derive the MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
Documentation for this format | ||||
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: mst-1 | ||||
![]() ![]() |
Σ | 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: Common Languages (extensible): 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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Timing | R5: The date/time or interval when the medication is/was/will be taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.effective | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Reason for why the medication is being/was taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.reason | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.Observation for use in FHIR STU3(0.1.0) | Observation | Cross-version Profile for R5.Condition for use in FHIR STU3(0.1.0) | Condition) | R5: Link to information relevant to the usage of a medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.relatedClinicalInformation | |||||
![]() ![]() ![]() |
0..1 | markdown | R5: Full representation of the dosage instructions (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction | |||||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: partOf additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Encounter associated with MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: recorded | entered-in-error | draft additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.status Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of medication usage Binding: MedicationStatementCategory (preferred): A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered | ||||
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken. | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication was taken | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: informationSource URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Link to information used to derive the MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | y | n | unk | na Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication | ||||
![]() ![]() |
C | 0..* | CodeableConcept | True if asserting medication was not given Binding: SNOMED CT Drugs not taken/completed Codes (example): A coded concept indicating the reason why the medication was not taken | ||||
![]() ![]() |
0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/Diagnosis Codes (example): A coded concept identifying why the medication is being taken. | |||||
![]() ![]() |
0..* | Reference(Condition | Observation) | Condition or observation that supports why the medication is being/was taken | |||||
![]() ![]() |
0..* | Annotation | Further information about the statement | |||||
![]() ![]() |
0..* | Dosage | Details of how medication is/was taken or should be taken | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| MedicationStatement.status | Base | required | MedicationStatementStatus | 📍3.0.2 | FHIR Std. |
| MedicationStatement.category | Base | preferred | MedicationStatementCategory | 📍3.0.2 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| MedicationStatement.taken | Base | required | MedicationStatementTaken | 📍3.0.2 | FHIR Std. |
| MedicationStatement.reasonNotTaken | Base | example | SNOMED CT Drugs not taken/completed Codes | 📍3.0.2 | FHIR Std. |
| MedicationStatement.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mst-1 | error | MedicationStatement | Reason not taken is only permitted if Taken is No |
reasonNotTaken.exists().not() or (taken = 'n')
|
This structure is derived from MedicationStatement
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Key Elements View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: mst-1 |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Timing | R5: The date/time or interval when the medication is/was/will be taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.effective | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Reason for why the medication is being/was taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.reason | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.Observation for use in FHIR STU3(0.1.0) | Observation | Cross-version Profile for R5.Condition for use in FHIR STU3(0.1.0) | Condition) | R5: Link to information relevant to the usage of a medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.relatedClinicalInformation | |
![]() ![]() ![]() |
0..1 | markdown | R5: Full representation of the dosage instructions (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction | |
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | |
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored |
![]() ![]() |
?!Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: recorded | entered-in-error | draft additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.status Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | |
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken. | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(Medication) | |||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
?!Σ | 1..1 | code | y | n | unk | na Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication |
Documentation for this format | ||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.status | Base | required | MedicationStatementStatus | 📍3.0.2 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| MedicationStatement.taken | Base | required | MedicationStatementTaken | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mst-1 | error | MedicationStatement | Reason not taken is only permitted if Taken is No |
reasonNotTaken.exists().not() or (taken = 'n')
|
Differential View
This structure is derived from MedicationStatement
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationStatement | Record of medication being taken by a patient | |
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() |
0..1 | Timing | R5: The date/time or interval when the medication is/was/will be taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.effective | |
![]() ![]() ![]() |
0..* | (Complex) | R5: Reason for why the medication is being/was taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.reason | |
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.Observation for use in FHIR STU3(0.1.0) | Observation | Cross-version Profile for R5.Condition for use in FHIR STU3(0.1.0) | Condition) | R5: Link to information relevant to the usage of a medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.relatedClinicalInformation | |
![]() ![]() ![]() |
0..1 | markdown | R5: Full representation of the dosage instructions (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction | |
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: partOf additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Encounter associated with MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | code | R5: recorded | entered-in-error | draft additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.status Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: informationSource URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
![]() ![]() |
||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Link to information used to derive the MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |
Documentation for this format | ||||
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
C | 0..* | MedicationStatement | Record of medication being taken by a patient Constraints: mst-1 | ||||
![]() ![]() |
Σ | 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: Common Languages (extensible): 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..* | Resource | Contained, inline Resources | |||||
![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() |
0..1 | Timing | R5: The date/time or interval when the medication is/was/will be taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.effective | |||||
![]() ![]() ![]() |
0..* | (Complex) | R5: Reason for why the medication is being/was taken additional types URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.reason | |||||
![]() ![]() ![]() |
0..* | Reference(Cross-version Profile for R5.Observation for use in FHIR STU3(0.1.0) | Observation | Cross-version Profile for R5.Condition for use in FHIR STU3(0.1.0) | Condition) | R5: Link to information relevant to the usage of a medication (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.relatedClinicalInformation | |||||
![]() ![]() ![]() |
0..1 | markdown | R5: Full representation of the dosage instructions (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction | |||||
![]() ![]() ![]() |
0..1 | (Complex) | R5: Indicates whether the medication is or is not being consumed or administered (new) URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.adherence | |||||
![]() ![]() |
?! | 0..* | Extension | Extensions that cannot be ignored | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: partOf additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Encounter associated with MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | code | R5: recorded | entered-in-error | draft additional codes URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.status Binding: MedicationStatementStatus (required): A coded concept indicating the current status of a MedicationStatement. | |||||
![]() ![]() ![]() |
0..1 | code | Primitive value for code | |||||
![]() ![]() |
Σ | 0..1 | CodeableConcept | Type of medication usage Binding: MedicationStatementCategory (preferred): A coded concept identifying where the medication included in the medicationstatement is expected to be consumed or administered | ||||
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken. | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication was taken | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() |
0..1 | Reference(Patient | Practitioner | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: informationSource URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication | ||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..1 | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: subject additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||
![]() ![]() ![]() |
0..1 | string | xml:id (or equivalent in JSON) | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url | |||||
![]() ![]() ![]() ![]() |
0..* | ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] | R5: Link to information used to derive the MedicationStatement additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
?!Σ | 1..1 | code | y | n | unk | na Binding: MedicationStatementTaken (required): A coded concept identifying level of certainty if patient has taken or has not taken the medication | ||||
![]() ![]() |
C | 0..* | CodeableConcept | True if asserting medication was not given Binding: SNOMED CT Drugs not taken/completed Codes (example): A coded concept indicating the reason why the medication was not taken | ||||
![]() ![]() |
0..* | CodeableConcept | Reason for why the medication is being/was taken Binding: Condition/Problem/Diagnosis Codes (example): A coded concept identifying why the medication is being taken. | |||||
![]() ![]() |
0..* | Reference(Condition | Observation) | Condition or observation that supports why the medication is being/was taken | |||||
![]() ![]() |
0..* | Annotation | Further information about the statement | |||||
![]() ![]() |
0..* | Dosage | Details of how medication is/was taken or should be taken | |||||
Documentation for this format | ||||||||
| Path | Status | Usage | ValueSet | Version | Source |
| MedicationStatement.language | Base | extensible |
Common Languages
|
📍3.0.2 | tx.fhir.org |
| MedicationStatement.status | Base | required | MedicationStatementStatus | 📍3.0.2 | FHIR Std. |
| MedicationStatement.category | Base | preferred | MedicationStatementCategory | 📍3.0.2 | FHIR Std. |
| MedicationStatement.medication[x] | Base | example | SNOMED CT Medication Codes | 📍3.0.2 | FHIR Std. |
| MedicationStatement.taken | Base | required | MedicationStatementTaken | 📍3.0.2 | FHIR Std. |
| MedicationStatement.reasonNotTaken | Base | example | SNOMED CT Drugs not taken/completed Codes | 📍3.0.2 | FHIR Std. |
| MedicationStatement.reasonCode | Base | example | Condition/Problem/Diagnosis Codes | 📍3.0.2 | FHIR Std. |
| Id | Grade | Path(s) | Description | Expression |
| dom-1 | error | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain any narrative |
contained.text.empty()
|
| 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 |
contained.where(('#'+id in %resource.descendants().reference).not()).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()
|
| ele-1 | error | **ALL** elements | All FHIR elements must have a @value or children |
hasValue() | (children().count() > id.count())
|
| ext-1 | error | **ALL** extensions | Must have either extensions or value[x], not both |
extension.exists() != value.exists()
|
| mst-1 | error | MedicationStatement | Reason not taken is only permitted if Taken is No |
reasonNotTaken.exists().not() or (taken = 'n')
|
This structure is derived from MedicationStatement
Summary
Extensions
This structure refers to these extensions:
Maturity: 0
Other representations of profile: CSV, Excel, Schematron