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

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

Resource Profile: Profile_R5_MedicationStatement_R3

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

Formal Views of Profile Content

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:effective 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
.... extension:reason 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
.... extension:relatedClinicalInformation 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
.... extension:renderedDosageInstruction 0..1 markdown R5: Full representation of the dosage instructions (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
.... extension:adherence 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 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.
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... taken ?!Σ 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

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:effective 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
.... extension:reason 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
.... extension:relatedClinicalInformation 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
.... extension:renderedDosageInstruction 0..1 markdown R5: Full representation of the dosage instructions (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
.... extension:adherence 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
... partOf
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:partOf 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: partOf additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... context
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:encounter 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
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 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.
... informationSource
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... derivedFrom
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:derivedFrom 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

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:effective 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
.... extension:reason 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
.... extension:relatedClinicalInformation 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
.... extension:renderedDosageInstruction 0..1 markdown R5: Full representation of the dosage instructions (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
.... extension:adherence 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... basedOn Σ 0..* Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest) Fulfils plan, proposal or order
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:partOf 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: partOf additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context Σ 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with MedicationStatement
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:encounter 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
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... status ?!Σ 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.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 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.
.... value 0..1 code Primitive value for code
... category Σ 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
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... effective[x] Σ 0..1 The date/time or interval when the medication was taken
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 0..1 dateTime When the statement was asserted?
... informationSource 0..1 Reference(Patient | Practitioner | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... derivedFrom 0..* Reference(Resource) Additional supporting information
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:derivedFrom 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
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... taken ?!Σ 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
... reasonNotTaken 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
... reasonCode 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.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the medication is being/was taken
... note 0..* Annotation Further information about the statement
... dosage 0..* Dosage Details of how medication is/was taken or should be taken

doco Documentation for this format

Terminology Bindings

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.

Constraints

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')

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:effective 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
.... extension:reason 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
.... extension:relatedClinicalInformation 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
.... extension:renderedDosageInstruction 0..1 markdown R5: Full representation of the dosage instructions (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
.... extension:adherence 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 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.
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... taken ?!Σ 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

doco Documentation for this format

Terminology Bindings

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.

Constraints

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

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement Record of medication being taken by a patient
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:effective 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
.... extension:reason 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
.... extension:relatedClinicalInformation 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
.... extension:renderedDosageInstruction 0..1 markdown R5: Full representation of the dosage instructions (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
.... extension:adherence 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
... partOf
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:partOf 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: partOf additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... context
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:encounter 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
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 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.
... informationSource
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... derivedFrom
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:derivedFrom 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

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement C 0..* MedicationStatement Record of medication being taken by a patient
Constraints: mst-1
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
... contained 0..* Resource Contained, inline Resources
... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... extension:effective 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
.... extension:reason 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
.... extension:relatedClinicalInformation 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
.... extension:renderedDosageInstruction 0..1 markdown R5: Full representation of the dosage instructions (new)
URL: http://hl7.org/fhir/5.0/StructureDefinition/extension-MedicationStatement.renderedDosageInstruction
.... extension:adherence 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
... modifierExtension ?! 0..* Extension Extensions that cannot be ignored
... identifier Σ 0..* Identifier External identifier
... basedOn Σ 0..* Reference(MedicationRequest | CarePlan | ProcedureRequest | ReferralRequest) Fulfils plan, proposal or order
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:partOf 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: partOf additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... context Σ 0..1 Reference(Encounter | EpisodeOfCare) Encounter / Episode associated with MedicationStatement
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:encounter 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
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... status ?!Σ 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.
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:status 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.
.... value 0..1 code Primitive value for code
... category Σ 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
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMED CT Medication Codes (example): A coded concept identifying the substance or product being taken.
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... effective[x] Σ 0..1 The date/time or interval when the medication was taken
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 0..1 dateTime When the statement was asserted?
... informationSource 0..1 Reference(Patient | Practitioner | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..* ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: informationSource
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:subject 0..1 ?gen-e1? [CanonicalType[http://hl7.org/fhir/StructureDefinition/alternate-reference]] R5: subject additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... derivedFrom 0..* Reference(Resource) Additional supporting information
.... id 0..1 string xml:id (or equivalent in JSON)
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:derivedFrom 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
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... taken ?!Σ 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
... reasonNotTaken 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
... reasonCode 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.
... reasonReference 0..* Reference(Condition | Observation) Condition or observation that supports why the medication is being/was taken
... note 0..* Annotation Further information about the statement
... dosage 0..* Dosage Details of how medication is/was taken or should be taken

doco Documentation for this format

Terminology Bindings

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.

Constraints

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')

 

Other representations of profile: CSV, Excel, Schematron