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

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

Resource Profile: Profile_R2_MedicationStatement_R4B

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

This cross-version profile allows DSTU2 MedicationStatement content to be represented via FHIR R4B MedicationStatement resources.

Usages:

  • This Profile is not used by any profiles in this Implementation Guide

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 0..* MedicationStatement(4.3.0) Record of medication being taken by a patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... modifierExtension:wasNotTaken ?! 0..1 boolean DSTU2: True if medication is/was not being taken (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.wasNotTaken
Constraints: ext-1
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: MedicationStatement Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
.... medication[x]All Types Content/Rules for all Types
..... Slices for extension Content/Rules for all slices
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... 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
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: patient additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍4.3.0 FHIR Std.
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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.exists() and ('#'+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(uri) = '#').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 MedicationStatement.implicitRules, MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.status, MedicationStatement.medication[x], MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient Must have either extensions or value[x], not both extension.exists() != value.exists()

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement(4.3.0) Record of medication being taken by a patient
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.text
... Slices for modifierExtension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:wasNotTaken 0..1 boolean DSTU2: True if medication is/was not being taken (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.wasNotTaken
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.identifier
... medicationReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:patient 0..1 Reference(Resource) DSTU2: patient additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... informationSource
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 Reference(Resource) DSTU2:
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... derivedFrom
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:supportingInformation 0..* Reference(Resource) DSTU2: supportingInformation additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... reasonCode
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonForUse 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R4B(0.1.0) | Condition) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.reasonForUse
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.note
... dosage
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 string DSTU2: Reported dosage information additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.text
..... extension:timing 0..1 Timing DSTU2: When/how often was medication taken additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.timing
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.asNeeded
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Where (on body) medication is/was administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.site
..... extension:route 0..1 CodeableConcept DSTU2: How the medication entered the body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.route
..... extension:method 0..1 CodeableConcept DSTU2: Technique used to administer medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.method
..... extension:quantity 0..1 SimpleQuantity(4.3.0), Range DSTU2: Amount administered in one dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.quantity
..... extension:rate 0..1 Ratio, Range DSTU2: Dose quantity per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.rate
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Maximum dose that was consumed per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.maxDosePerPeriod

doco Documentation for this format
NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement(4.3.0) Record of medication being taken by a patient
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... modifierExtension:wasNotTaken ?! 0..1 boolean DSTU2: True if medication is/was not being taken (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.wasNotTaken
Constraints: ext-1
... identifier Σ 0..* Identifier External identifier
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... basedOn Σ 0..* Reference(MedicationRequest | CarePlan | ServiceRequest) Fulfils plan, proposal or order
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: MedicationStatement Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason 0..* CodeableConcept Reason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category Σ 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.
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... medication[x]All Types Content/Rules for all Types
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: patient additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... 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
... effective[x] Σ 0..1 The date/time or interval when the medication is/was/will be taken
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 0..1 dateTime When the statement was asserted?
... informationSource 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:informationSource 0..1 Reference(Resource) DSTU2:
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... 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 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:supportingInformation 0..1 Reference(Resource) DSTU2: supportingInformation additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode 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.
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:reasonForUse 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R4B(0.1.0) | Condition) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.reasonForUse
Constraints: ext-1
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... reasonReference 0..* Reference(Condition | Observation | DiagnosticReport) Condition or observation that supports why the medication is being/was taken
... note 0..* Annotation Further information about the statement
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.note
Constraints: ext-1
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosage 0..* Dosage Details of how medication is/was taken or should be taken
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 string DSTU2: Reported dosage information additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.text
Constraints: ext-1
..... extension:timing 0..1 Timing DSTU2: When/how often was medication taken additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.timing
Constraints: ext-1
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.asNeeded
Constraints: ext-1
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Where (on body) medication is/was administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.site
Constraints: ext-1
..... extension:route 0..1 CodeableConcept DSTU2: How the medication entered the body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.route
Constraints: ext-1
..... extension:method 0..1 CodeableConcept DSTU2: Technique used to administer medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.method
Constraints: ext-1
..... extension:quantity 0..1 SimpleQuantity(4.3.0), Range DSTU2: Amount administered in one dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.quantity
Constraints: ext-1
..... extension:rate 0..1 Ratio, Range DSTU2: Dose quantity per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.rate
Constraints: ext-1
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Maximum dose that was consumed per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.maxDosePerPeriod
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example)
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.3.0 FHIR Std.
MedicationStatement.​meta.tag Base example Common Tags 📍4.3.0 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📍4.3.0 FHIR Std.
MedicationStatement.​text.status Base required NarrativeStatus 📍4.3.0 FHIR Std.
MedicationStatement.​identifier.use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationStatement.​identifier.type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍4.3.0 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📍4.3.0 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📍4.3.0 FHIR Std.
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationStatement.​informationSource.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationStatement.​derivedFrom.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.route Base example SNOMED CT Route Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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.exists() and ('#'+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(uri) = '#').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()
dom-r4b warning MedicationStatement.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error MedicationStatement.meta, MedicationStatement.meta.extension, MedicationStatement.meta.extension:meta, MedicationStatement.meta.versionId, MedicationStatement.meta.lastUpdated, MedicationStatement.meta.source, MedicationStatement.meta.profile, MedicationStatement.meta.security, MedicationStatement.meta.tag, MedicationStatement.implicitRules, MedicationStatement.language, MedicationStatement.text, MedicationStatement.text.extension, MedicationStatement.text.extension:text, MedicationStatement.text.status, MedicationStatement.text.div, MedicationStatement.extension, MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.identifier, MedicationStatement.identifier.extension, MedicationStatement.identifier.extension:identifier, MedicationStatement.identifier.use, MedicationStatement.identifier.type, MedicationStatement.identifier.system, MedicationStatement.identifier.value, MedicationStatement.identifier.period, MedicationStatement.identifier.assigner, MedicationStatement.basedOn, MedicationStatement.partOf, MedicationStatement.status, MedicationStatement.statusReason, MedicationStatement.category, MedicationStatement.medication[x], MedicationStatement.medication[x].extension, MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient, MedicationStatement.subject.reference, MedicationStatement.subject.type, MedicationStatement.subject.identifier, MedicationStatement.subject.display, MedicationStatement.context, MedicationStatement.effective[x], MedicationStatement.dateAsserted, MedicationStatement.informationSource, MedicationStatement.informationSource.extension, MedicationStatement.informationSource.extension:informationSource, MedicationStatement.informationSource.reference, MedicationStatement.informationSource.type, MedicationStatement.informationSource.identifier, MedicationStatement.informationSource.display, MedicationStatement.derivedFrom, MedicationStatement.derivedFrom.extension, MedicationStatement.derivedFrom.extension:supportingInformation, MedicationStatement.derivedFrom.reference, MedicationStatement.derivedFrom.type, MedicationStatement.derivedFrom.identifier, MedicationStatement.derivedFrom.display, MedicationStatement.reasonCode, MedicationStatement.reasonCode.extension, MedicationStatement.reasonCode.extension:reasonForUse, MedicationStatement.reasonCode.coding, MedicationStatement.reasonCode.text, MedicationStatement.reasonReference, MedicationStatement.note, MedicationStatement.note.extension, MedicationStatement.note.extension:note, MedicationStatement.note.author[x], MedicationStatement.note.time, MedicationStatement.note.text, MedicationStatement.dosage, MedicationStatement.dosage.extension, MedicationStatement.dosage.extension:text, MedicationStatement.dosage.extension:timing, MedicationStatement.dosage.extension:asNeeded, MedicationStatement.dosage.extension:site, MedicationStatement.dosage.extension:route, MedicationStatement.dosage.extension:method, MedicationStatement.dosage.extension:quantity, MedicationStatement.dosage.extension:rate, MedicationStatement.dosage.extension:maxDosePerPeriod, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.sequence, MedicationStatement.dosage.text, MedicationStatement.dosage.additionalInstruction, MedicationStatement.dosage.patientInstruction, MedicationStatement.dosage.timing, MedicationStatement.dosage.asNeeded[x], MedicationStatement.dosage.site, MedicationStatement.dosage.route, MedicationStatement.dosage.method, MedicationStatement.dosage.doseAndRate, MedicationStatement.dosage.doseAndRate.extension, MedicationStatement.dosage.doseAndRate.type, MedicationStatement.dosage.doseAndRate.dose[x], MedicationStatement.dosage.doseAndRate.rate[x], MedicationStatement.dosage.maxDosePerPeriod, MedicationStatement.dosage.maxDosePerAdministration, MedicationStatement.dosage.maxDosePerLifetime All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationStatement.meta.extension, MedicationStatement.meta.extension:meta, MedicationStatement.text.extension, MedicationStatement.text.extension:text, MedicationStatement.extension, MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.identifier.extension, MedicationStatement.identifier.extension:identifier, MedicationStatement.medication[x].extension, MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient, MedicationStatement.informationSource.extension, MedicationStatement.informationSource.extension:informationSource, MedicationStatement.derivedFrom.extension, MedicationStatement.derivedFrom.extension:supportingInformation, MedicationStatement.reasonCode.extension, MedicationStatement.reasonCode.extension:reasonForUse, MedicationStatement.note.extension, MedicationStatement.note.extension:note, MedicationStatement.dosage.extension, MedicationStatement.dosage.extension:text, MedicationStatement.dosage.extension:timing, MedicationStatement.dosage.extension:asNeeded, MedicationStatement.dosage.extension:site, MedicationStatement.dosage.extension:route, MedicationStatement.dosage.extension:method, MedicationStatement.dosage.extension:quantity, MedicationStatement.dosage.extension:rate, MedicationStatement.dosage.extension:maxDosePerPeriod, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.doseAndRate.extension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error MedicationStatement.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error MedicationStatement.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from MedicationStatement

Summary

Extensions

This structure refers to these extensions:

Maturity: 0

Key Elements View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement(4.3.0) Record of medication being taken by a patient
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... modifierExtension:wasNotTaken ?! 0..1 boolean DSTU2: True if medication is/was not being taken (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.wasNotTaken
Constraints: ext-1
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: MedicationStatement Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
.... medication[x]All Types Content/Rules for all Types
..... Slices for extension Content/Rules for all slices
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... 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
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: patient additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​status Base required MedicationStatement Status Codes 📍4.3.0 FHIR Std.
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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.exists() and ('#'+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(uri) = '#').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 MedicationStatement.implicitRules, MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.status, MedicationStatement.medication[x], MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient Must have either extensions or value[x], not both extension.exists() != value.exists()

Differential View

This structure is derived from MedicationStatement

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement(4.3.0) Record of medication being taken by a patient
... meta
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.meta
... text
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.text
... Slices for modifierExtension 0..* Extension Extension
Slice: Unordered, Open by value:url
.... modifierExtension:wasNotTaken 0..1 boolean DSTU2: True if medication is/was not being taken (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.wasNotTaken
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.identifier
... medicationReference
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... subject
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:patient 0..1 Reference(Resource) DSTU2: patient additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... informationSource
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:informationSource 0..1 Reference(Resource) DSTU2:
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... derivedFrom
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:supportingInformation 0..* Reference(Resource) DSTU2: supportingInformation additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
... reasonCode
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:reasonForUse 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R4B(0.1.0) | Condition) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.reasonForUse
... note
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.note
... dosage
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
..... extension:text 0..1 string DSTU2: Reported dosage information additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.text
..... extension:timing 0..1 Timing DSTU2: When/how often was medication taken additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.timing
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.asNeeded
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Where (on body) medication is/was administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.site
..... extension:route 0..1 CodeableConcept DSTU2: How the medication entered the body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.route
..... extension:method 0..1 CodeableConcept DSTU2: Technique used to administer medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.method
..... extension:quantity 0..1 SimpleQuantity(4.3.0), Range DSTU2: Amount administered in one dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.quantity
..... extension:rate 0..1 Ratio, Range DSTU2: Dose quantity per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.rate
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Maximum dose that was consumed per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.maxDosePerPeriod

doco Documentation for this format

Snapshot View

NameFlagsCard.TypeDescription & Constraints    Filter: Filtersdoco
.. MedicationStatement 0..* MedicationStatement(4.3.0) Record of medication being taken by a patient
... id Σ 0..1 id Logical id of this artifact
... meta Σ 0..1 Meta Metadata about the resource
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:meta 0..1 (Complex) DSTU2: meta additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.meta
Constraints: ext-1
.... versionId Σ 0..1 id Version specific identifier
.... lastUpdated Σ 0..1 instant When the resource version last changed
.... source Σ 0..1 uri Identifies where the resource comes from
.... profile Σ 0..* canonical(StructureDefinition) Profiles this resource claims to conform to
.... security Σ 0..* Coding Security Labels applied to this resource
Binding: All Security Labels (extensible)
.... tag Σ 0..* Coding Tags applied to this resource
Binding: CommonTags (example)
... implicitRules ?!Σ 0..1 uri A set of rules under which this content was created
... text 0..1 Narrative Text summary of the resource, for human interpretation
This profile does not constrain the narrative in regard to content, language, or traceability to data elements
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 (Complex) DSTU2: text additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.text
Constraints: ext-1
.... status 1..1 code generated | extensions | additional | empty
Binding: NarrativeStatus (required)
.... div C 1..1 xhtml Limited xhtml content
Constraints: txt-1, txt-2
... contained 0..* Resource Contained, inline Resources
Constraints: dom-r4b
... extension 0..* Extension Additional content defined by implementations
Constraints: ext-1
... Slices for modifierExtension ?! 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
.... modifierExtension:wasNotTaken ?! 0..1 boolean DSTU2: True if medication is/was not being taken (new)
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.wasNotTaken
Constraints: ext-1
... identifier Σ 0..* Identifier External identifier
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:identifier 0..* Identifier DSTU2: identifier additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.identifier
Constraints: ext-1
.... use ?!Σ 0..1 code usual | official | temp | secondary | old (If known)
Binding: IdentifierUse (required)
.... type Σ 0..1 CodeableConcept Description of identifier
Binding: Identifier Type Codes (extensible)
.... system Σ 0..1 uri The namespace for the identifier value
Example General: http://www.acme.com/identifiers/patient
.... value Σ 0..1 string The value that is unique
Example General: 123456
.... period Σ 0..1 Period Time period when id is/was valid for use
.... assigner Σ 0..1 Reference(Organization) Organization that issued id (may be just text)
... basedOn Σ 0..* Reference(MedicationRequest | CarePlan | ServiceRequest) Fulfils plan, proposal or order
... partOf Σ 0..* Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) Part of referenced event
... status ?!Σ 1..1 code active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
Binding: MedicationStatement Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
... statusReason 0..* CodeableConcept Reason for current status
Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
... category Σ 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.
... medication[x] Σ 1..1 What medication was taken
Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
.... medication[x]All Types Content/Rules for all Types
..... id 0..1 id Unique id for inter-element referencing
..... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
...... extension:alternateReference 0..1 Reference(Resource) DSTU2: medication additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... medicationCodeableConcept CodeableConcept
.... medicationReference Reference(Medication)
... subject Σ 1..1 Reference(Patient | Group) Who is/was taking the medication
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:patient 0..1 Reference(Resource) DSTU2: patient additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... 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
... effective[x] Σ 0..1 The date/time or interval when the medication is/was/will be taken
.... effectiveDateTime dateTime
.... effectivePeriod Period
... dateAsserted Σ 0..1 dateTime When the statement was asserted?
... informationSource 0..1 Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) Person or organization that provided the information about the taking of this medication
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:informationSource 0..1 Reference(Resource) DSTU2:
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... 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 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:supportingInformation 0..1 Reference(Resource) DSTU2: supportingInformation additional types
URL: http://hl7.org/fhir/StructureDefinition/alternate-reference
Constraints: ext-1
.... reference ΣC 0..1 string Literal reference, Relative, internal or absolute URL
.... type Σ 0..1 uri Type the reference refers to (e.g. "Patient")
Binding: ResourceType (extensible)
.... identifier Σ 0..1 Identifier Logical reference, when literal reference is not known
.... display Σ 0..1 string Text alternative for the resource
... reasonCode 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.
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:reasonForUse 0..1 Reference(Cross-version Profile for DSTU2.Condition for use in FHIR R4B(0.1.0) | Condition) DSTU2: additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.reasonForUse
Constraints: ext-1
.... coding Σ 0..* Coding Code defined by a terminology system
.... text Σ 0..1 string Plain text representation of the concept
... reasonReference 0..* Reference(Condition | Observation | DiagnosticReport) Condition or observation that supports why the medication is being/was taken
... note 0..* Annotation Further information about the statement
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:note 0..1 string DSTU2: note additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.note
Constraints: ext-1
.... author[x] Σ 0..1 Individual responsible for the annotation
..... authorReference Reference(Practitioner | Patient | RelatedPerson | Organization)
..... authorString string
.... time Σ 0..1 dateTime When the annotation was made
.... text Σ 1..1 markdown The annotation - text content (as markdown)
... dosage 0..* Dosage Details of how medication is/was taken or should be taken
.... id 0..1 id Unique id for inter-element referencing
.... Slices for extension 0..* Extension Extension
Slice: Unordered, Open by value:url
Constraints: ext-1
..... extension:text 0..1 string DSTU2: Reported dosage information additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.text
Constraints: ext-1
..... extension:timing 0..1 Timing DSTU2: When/how often was medication taken additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.timing
Constraints: ext-1
..... extension:asNeeded 0..1 boolean, CodeableConcept DSTU2: Take "as needed" (for x) additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.asNeeded
Constraints: ext-1
..... extension:site 0..1 CodeableConcept, Reference(Cross-version Profile for DSTU2.BodySite for use in FHIR R4B(0.1.0) | BodyStructure) DSTU2: Where (on body) medication is/was administered additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.site
Constraints: ext-1
..... extension:route 0..1 CodeableConcept DSTU2: How the medication entered the body additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.route
Constraints: ext-1
..... extension:method 0..1 CodeableConcept DSTU2: Technique used to administer medication additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.method
Constraints: ext-1
..... extension:quantity 0..1 SimpleQuantity(4.3.0), Range DSTU2: Amount administered in one dose additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.quantity
Constraints: ext-1
..... extension:rate 0..1 Ratio, Range DSTU2: Dose quantity per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.rate
Constraints: ext-1
..... extension:maxDosePerPeriod 0..1 Ratio DSTU2: Maximum dose that was consumed per unit of time additional types
URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.maxDosePerPeriod
Constraints: ext-1
.... modifierExtension ?!Σ 0..* Extension Extensions that cannot be ignored even if unrecognized
Constraints: ext-1
.... sequence Σ 0..1 integer The order of the dosage instructions
.... text Σ 0..1 string Free text dosage instructions e.g. SIG
.... additionalInstruction Σ 0..* CodeableConcept Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness"
Binding: SNOMEDCTAdditionalDosageInstructions (example)
.... patientInstruction Σ 0..1 string Patient or consumer oriented instructions
.... timing Σ 0..1 Timing When medication should be administered
.... asNeeded[x] Σ 0..1 Take "as needed" (for x)
Binding: SNOMEDCTMedicationAsNeededReasonCodes (example)
..... asNeededBoolean boolean
..... asNeededCodeableConcept CodeableConcept
.... site Σ 0..1 CodeableConcept Body site to administer to
Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example)
.... route Σ 0..1 CodeableConcept How drug should enter body
Binding: SNOMEDCTRouteCodes (example)
.... method Σ 0..1 CodeableConcept Technique for administering medication
Binding: SNOMEDCTAdministrationMethodCodes (example)
.... doseAndRate Σ 0..* Element Amount of medication administered
..... id 0..1 string Unique id for inter-element referencing
..... extension 0..* Extension Additional content defined by implementations
Slice: Unordered, Open by value:url
Constraints: ext-1
..... type Σ 0..1 CodeableConcept The kind of dose or rate specified
Binding: DoseAndRateType (example)
..... dose[x] Σ 0..1 Amount of medication per dose
...... doseRange Range
...... doseQuantity Quantity(SimpleQuantity)
..... rate[x] Σ 0..1 Amount of medication per unit of time
...... rateRatio Ratio
...... rateRange Range
...... rateQuantity Quantity(SimpleQuantity)
.... maxDosePerPeriod Σ 0..1 Ratio Upper limit on medication per unit of time
.... maxDosePerAdministration Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per administration
.... maxDosePerLifetime Σ 0..1 SimpleQuantity(4.3.0) Upper limit on medication per lifetime of the patient

doco Documentation for this format

Terminology Bindings

Path Status Usage ValueSet Version Source
MedicationStatement.​meta.security Base extensible SecurityLabels 📍4.3.0 FHIR Std.
MedicationStatement.​meta.tag Base example Common Tags 📍4.3.0 FHIR Std.
MedicationStatement.​language Base preferred Common Languages 📍4.3.0 FHIR Std.
MedicationStatement.​text.status Base required NarrativeStatus 📍4.3.0 FHIR Std.
MedicationStatement.​identifier.use Base required IdentifierUse 📍4.3.0 FHIR Std.
MedicationStatement.​identifier.type Base extensible IdentifierType 📍4.3.0 FHIR Std.
MedicationStatement.​status Base required MedicationStatement Status Codes 📍4.3.0 FHIR Std.
MedicationStatement.​statusReason Base example SNOMED CT Drug Therapy Status codes 📍4.3.0 FHIR Std.
MedicationStatement.​category Base preferred Medication usage category codes 📍4.3.0 FHIR Std.
MedicationStatement.​medication[x] Base example SNOMED CT Medication Codes 📍4.3.0 FHIR Std.
MedicationStatement.​subject.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationStatement.​informationSource.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationStatement.​derivedFrom.type Base extensible ResourceType 📍4.3.0 FHIR Std.
MedicationStatement.​reasonCode Base example Condition/Problem/Diagnosis Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.additionalInstruction Base example SNOMED CT Additional Dosage Instructions 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.asNeeded[x] Base example SNOMED CT Medication As Needed Reason Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.site Base example SNOMED CT Anatomical Structure for Administration Site Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.route Base example SNOMED CT Route Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.method Base example SNOMED CT Administration Method Codes 📍4.3.0 FHIR Std.
MedicationStatement.​dosage.doseAndRate.type Base example DoseAndRateType 📍4.3.0 FHIR Std.

Constraints

Id Grade Path(s) Description Expression
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.exists() and ('#'+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(uri) = '#').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()
dom-r4b warning MedicationStatement.contained Containing new R4B resources within R4 resources may cause interoperability issues if instances are shared with R4 systems ($this is Citation or $this is Evidence or $this is EvidenceReport or $this is EvidenceVariable or $this is MedicinalProductDefinition or $this is PackagedProductDefinition or $this is AdministrableProductDefinition or $this is Ingredient or $this is ClinicalUseDefinition or $this is RegulatedAuthorization or $this is SubstanceDefinition or $this is SubscriptionStatus or $this is SubscriptionTopic) implies (%resource is Citation or %resource is Evidence or %resource is EvidenceReport or %resource is EvidenceVariable or %resource is MedicinalProductDefinition or %resource is PackagedProductDefinition or %resource is AdministrableProductDefinition or %resource is Ingredient or %resource is ClinicalUseDefinition or %resource is RegulatedAuthorization or %resource is SubstanceDefinition or %resource is SubscriptionStatus or %resource is SubscriptionTopic)
ele-1 error MedicationStatement.meta, MedicationStatement.meta.extension, MedicationStatement.meta.extension:meta, MedicationStatement.meta.versionId, MedicationStatement.meta.lastUpdated, MedicationStatement.meta.source, MedicationStatement.meta.profile, MedicationStatement.meta.security, MedicationStatement.meta.tag, MedicationStatement.implicitRules, MedicationStatement.language, MedicationStatement.text, MedicationStatement.text.extension, MedicationStatement.text.extension:text, MedicationStatement.text.status, MedicationStatement.text.div, MedicationStatement.extension, MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.identifier, MedicationStatement.identifier.extension, MedicationStatement.identifier.extension:identifier, MedicationStatement.identifier.use, MedicationStatement.identifier.type, MedicationStatement.identifier.system, MedicationStatement.identifier.value, MedicationStatement.identifier.period, MedicationStatement.identifier.assigner, MedicationStatement.basedOn, MedicationStatement.partOf, MedicationStatement.status, MedicationStatement.statusReason, MedicationStatement.category, MedicationStatement.medication[x], MedicationStatement.medication[x].extension, MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient, MedicationStatement.subject.reference, MedicationStatement.subject.type, MedicationStatement.subject.identifier, MedicationStatement.subject.display, MedicationStatement.context, MedicationStatement.effective[x], MedicationStatement.dateAsserted, MedicationStatement.informationSource, MedicationStatement.informationSource.extension, MedicationStatement.informationSource.extension:informationSource, MedicationStatement.informationSource.reference, MedicationStatement.informationSource.type, MedicationStatement.informationSource.identifier, MedicationStatement.informationSource.display, MedicationStatement.derivedFrom, MedicationStatement.derivedFrom.extension, MedicationStatement.derivedFrom.extension:supportingInformation, MedicationStatement.derivedFrom.reference, MedicationStatement.derivedFrom.type, MedicationStatement.derivedFrom.identifier, MedicationStatement.derivedFrom.display, MedicationStatement.reasonCode, MedicationStatement.reasonCode.extension, MedicationStatement.reasonCode.extension:reasonForUse, MedicationStatement.reasonCode.coding, MedicationStatement.reasonCode.text, MedicationStatement.reasonReference, MedicationStatement.note, MedicationStatement.note.extension, MedicationStatement.note.extension:note, MedicationStatement.note.author[x], MedicationStatement.note.time, MedicationStatement.note.text, MedicationStatement.dosage, MedicationStatement.dosage.extension, MedicationStatement.dosage.extension:text, MedicationStatement.dosage.extension:timing, MedicationStatement.dosage.extension:asNeeded, MedicationStatement.dosage.extension:site, MedicationStatement.dosage.extension:route, MedicationStatement.dosage.extension:method, MedicationStatement.dosage.extension:quantity, MedicationStatement.dosage.extension:rate, MedicationStatement.dosage.extension:maxDosePerPeriod, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.sequence, MedicationStatement.dosage.text, MedicationStatement.dosage.additionalInstruction, MedicationStatement.dosage.patientInstruction, MedicationStatement.dosage.timing, MedicationStatement.dosage.asNeeded[x], MedicationStatement.dosage.site, MedicationStatement.dosage.route, MedicationStatement.dosage.method, MedicationStatement.dosage.doseAndRate, MedicationStatement.dosage.doseAndRate.extension, MedicationStatement.dosage.doseAndRate.type, MedicationStatement.dosage.doseAndRate.dose[x], MedicationStatement.dosage.doseAndRate.rate[x], MedicationStatement.dosage.maxDosePerPeriod, MedicationStatement.dosage.maxDosePerAdministration, MedicationStatement.dosage.maxDosePerLifetime All FHIR elements must have a @value or children hasValue() or (children().count() > id.count())
ext-1 error MedicationStatement.meta.extension, MedicationStatement.meta.extension:meta, MedicationStatement.text.extension, MedicationStatement.text.extension:text, MedicationStatement.extension, MedicationStatement.modifierExtension, MedicationStatement.modifierExtension:wasNotTaken, MedicationStatement.identifier.extension, MedicationStatement.identifier.extension:identifier, MedicationStatement.medication[x].extension, MedicationStatement.medication[x].extension:alternateReference, MedicationStatement.subject.extension, MedicationStatement.subject.extension:patient, MedicationStatement.informationSource.extension, MedicationStatement.informationSource.extension:informationSource, MedicationStatement.derivedFrom.extension, MedicationStatement.derivedFrom.extension:supportingInformation, MedicationStatement.reasonCode.extension, MedicationStatement.reasonCode.extension:reasonForUse, MedicationStatement.note.extension, MedicationStatement.note.extension:note, MedicationStatement.dosage.extension, MedicationStatement.dosage.extension:text, MedicationStatement.dosage.extension:timing, MedicationStatement.dosage.extension:asNeeded, MedicationStatement.dosage.extension:site, MedicationStatement.dosage.extension:route, MedicationStatement.dosage.extension:method, MedicationStatement.dosage.extension:quantity, MedicationStatement.dosage.extension:rate, MedicationStatement.dosage.extension:maxDosePerPeriod, MedicationStatement.dosage.modifierExtension, MedicationStatement.dosage.doseAndRate.extension Must have either extensions or value[x], not both extension.exists() != value.exists()
txt-1 error MedicationStatement.text.div The narrative SHALL contain only the basic html formatting elements and attributes described in chapters 7-11 (except section 4 of chapter 9) and 15 of the HTML 4.0 standard, <a> elements (either name or href), images and internally contained style attributes htmlChecks()
txt-2 error MedicationStatement.text.div The narrative SHALL have some non-whitespace content htmlChecks()

This structure is derived from MedicationStatement

Summary

Extensions

This structure refers to these extensions:

Maturity: 0

 

Other representations of profile: CSV, Excel, Schematron