Extensions for Using Data Elements from FHIR DSTU2 in FHIR R4B - Downloaded Version null See the Directory of published versions
| 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:
You can also check for usages in the FHIR IG Statistics
Description of Profiles, Differentials, Snapshots and how the different presentations work.
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationStatement(4.3.0) | Record of medication being taken by a patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 |
![]() ![]() ![]() |
?! | 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 |
![]() ![]() |
?!Σ | 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. |
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |
![]() ![]() ![]() |
Content/Rules for all Types | |||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(Medication) | |||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: patient additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
Documentation for this format | ||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationStatement(4.3.0) | Record of medication being taken by a patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example) | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): IETF language tag
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required) | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources Constraints: dom-r4b | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 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 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Identifier | DSTU2: identifier additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() |
?!Σ | 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. | ||||
![]() ![]() |
0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||
![]() ![]() ![]() |
Content/Rules for all Types | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: patient additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication is/was/will be taken | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() |
0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: supportingInformation additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |||||
![]() ![]() |
0..* | Annotation | Further information about the statement | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: note additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.note Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() |
0..* | Dosage | Details of how medication is/was taken or should be taken | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: Reported dosage information additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.text Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) | ||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.3.0) | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.3.0) | Upper limit on medication per lifetime of the patient | ||||
Documentation for this format | ||||||||
| 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. |
| 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
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() |
|---|---|---|---|---|
![]() |
0..* | MedicationStatement(4.3.0) | Record of medication being taken by a patient | |
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created |
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 |
![]() ![]() ![]() |
?! | 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 |
![]() ![]() |
?!Σ | 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. |
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |
![]() ![]() ![]() |
Content/Rules for all Types | |||
![]() ![]() ![]() ![]() |
Content/Rules for all slices | |||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
![]() ![]() ![]() |
CodeableConcept | |||
![]() ![]() ![]() |
Reference(Medication) | |||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication |
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: patient additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |
Documentation for this format | ||||
| 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. |
| 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
Snapshot View
| Name | Flags | Card. | Type | Description & Constraints Filter: ![]() ![]() | ||||
|---|---|---|---|---|---|---|---|---|
![]() |
0..* | MedicationStatement(4.3.0) | Record of medication being taken by a patient | |||||
![]() ![]() |
Σ | 0..1 | id | Logical id of this artifact | ||||
![]() ![]() |
Σ | 0..1 | Meta | Metadata about the resource | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: meta additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.meta Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | id | Version specific identifier | ||||
![]() ![]() ![]() |
Σ | 0..1 | instant | When the resource version last changed | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Identifies where the resource comes from | ||||
![]() ![]() ![]() |
Σ | 0..* | canonical(StructureDefinition) | Profiles this resource claims to conform to | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Security Labels applied to this resource Binding: All Security Labels (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Tags applied to this resource Binding: CommonTags (example) | ||||
![]() ![]() |
?!Σ | 0..1 | uri | A set of rules under which this content was created | ||||
![]() ![]() |
0..1 | code | Language of the resource content Binding: CommonLanguages (preferred): IETF language tag
| |||||
![]() ![]() |
0..1 | Narrative | Text summary of the resource, for human interpretation This profile does not constrain the narrative in regard to content, language, or traceability to data elements | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | (Complex) | DSTU2: text additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.text Constraints: ext-1 | |||||
![]() ![]() ![]() |
1..1 | code | generated | extensions | additional | empty Binding: NarrativeStatus (required) | |||||
![]() ![]() ![]() |
C | 1..1 | xhtml | Limited xhtml content Constraints: txt-1, txt-2 | ||||
![]() ![]() |
0..* | Resource | Contained, inline Resources Constraints: dom-r4b | |||||
![]() ![]() |
0..* | Extension | Additional content defined by implementations Constraints: ext-1 | |||||
![]() ![]() |
?! | 0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | ||||
![]() ![]() ![]() |
?! | 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 | ||||
![]() ![]() |
Σ | 0..* | Identifier | External identifier | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..* | Identifier | DSTU2: identifier additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.identifier Constraints: ext-1 | |||||
![]() ![]() ![]() |
?!Σ | 0..1 | code | usual | official | temp | secondary | old (If known) Binding: IdentifierUse (required) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Description of identifier Binding: Identifier Type Codes (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | The namespace for the identifier value Example General: http://www.acme.com/identifiers/patient | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | The value that is unique Example General: 123456 | ||||
![]() ![]() ![]() |
Σ | 0..1 | Period | Time period when id is/was valid for use | ||||
![]() ![]() ![]() |
Σ | 0..1 | Reference(Organization) | Organization that issued id (may be just text) | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationRequest | CarePlan | ServiceRequest) | Fulfils plan, proposal or order | ||||
![]() ![]() |
Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event | ||||
![]() ![]() |
?!Σ | 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. | ||||
![]() ![]() |
0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement. | |||||
![]() ![]() |
Σ | 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. | ||||
![]() ![]() |
Σ | 1..1 | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken. | |||||
![]() ![]() ![]() |
Content/Rules for all Types | |||||||
![]() ![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: medication additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Reference(Medication) | |||||||
![]() ![]() |
Σ | 1..1 | Reference(Patient | Group) | Who is/was taking the medication | ||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: patient additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
Σ | 0..1 | Reference(Encounter | EpisodeOfCare) | Encounter / Episode associated with MedicationStatement | ||||
![]() ![]() |
Σ | 0..1 | The date/time or interval when the medication is/was/will be taken | |||||
![]() ![]() ![]() |
dateTime | |||||||
![]() ![]() ![]() |
Period | |||||||
![]() ![]() |
Σ | 0..1 | dateTime | When the statement was asserted? | ||||
![]() ![]() |
0..1 | Reference(Patient | Practitioner | PractitionerRole | RelatedPerson | Organization) | Person or organization that provided the information about the taking of this medication | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
0..* | Reference(Resource) | Additional supporting information | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | Reference(Resource) | DSTU2: supportingInformation additional types URL: http://hl7.org/fhir/StructureDefinition/alternate-reference Constraints: ext-1 | |||||
![]() ![]() ![]() |
ΣC | 0..1 | string | Literal reference, Relative, internal or absolute URL | ||||
![]() ![]() ![]() |
Σ | 0..1 | uri | Type the reference refers to (e.g. "Patient") Binding: ResourceType (extensible) | ||||
![]() ![]() ![]() |
Σ | 0..1 | Identifier | Logical reference, when literal reference is not known | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Text alternative for the resource | ||||
![]() ![]() |
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. | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
Σ | 0..* | Coding | Code defined by a terminology system | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Plain text representation of the concept | ||||
![]() ![]() |
0..* | Reference(Condition | Observation | DiagnosticReport) | Condition or observation that supports why the medication is being/was taken | |||||
![]() ![]() |
0..* | Annotation | Further information about the statement | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: note additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.note Constraints: ext-1 | |||||
![]() ![]() ![]() |
Σ | 0..1 | Individual responsible for the annotation | |||||
![]() ![]() ![]() ![]() |
Reference(Practitioner | Patient | RelatedPerson | Organization) | |||||||
![]() ![]() ![]() ![]() |
string | |||||||
![]() ![]() ![]() |
Σ | 0..1 | dateTime | When the annotation was made | ||||
![]() ![]() ![]() |
Σ | 1..1 | markdown | The annotation - text content (as markdown) | ||||
![]() ![]() |
0..* | Dosage | Details of how medication is/was taken or should be taken | |||||
![]() ![]() ![]() |
0..1 | id | Unique id for inter-element referencing | |||||
![]() ![]() ![]() |
0..* | Extension | Extension Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
0..1 | string | DSTU2: Reported dosage information additional types URL: http://hl7.org/fhir/1.0/StructureDefinition/extension-MedicationStatement.dosage.text Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() ![]() |
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 | |||||
![]() ![]() ![]() |
?!Σ | 0..* | Extension | Extensions that cannot be ignored even if unrecognized Constraints: ext-1 | ||||
![]() ![]() ![]() |
Σ | 0..1 | integer | The order of the dosage instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Free text dosage instructions e.g. SIG | ||||
![]() ![]() ![]() |
Σ | 0..* | CodeableConcept | Supplemental instruction or warnings to the patient - e.g. "with meals", "may cause drowsiness" Binding: SNOMEDCTAdditionalDosageInstructions (example) | ||||
![]() ![]() ![]() |
Σ | 0..1 | string | Patient or consumer oriented instructions | ||||
![]() ![]() ![]() |
Σ | 0..1 | Timing | When medication should be administered | ||||
![]() ![]() ![]() |
Σ | 0..1 | Take "as needed" (for x) Binding: SNOMEDCTMedicationAsNeededReasonCodes (example) | |||||
![]() ![]() ![]() ![]() |
boolean | |||||||
![]() ![]() ![]() ![]() |
CodeableConcept | |||||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Body site to administer to Binding: SNOMEDCTAnatomicalStructureForAdministrationSiteCodes (example) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | How drug should enter body Binding: SNOMEDCTRouteCodes (example) | ||||
![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | Technique for administering medication Binding: SNOMEDCTAdministrationMethodCodes (example) | ||||
![]() ![]() ![]() |
Σ | 0..* | Element | Amount of medication administered | ||||
![]() ![]() ![]() ![]() |
0..1 | string | Unique id for inter-element referencing | |||||
![]() ![]() ![]() ![]() |
0..* | Extension | Additional content defined by implementations Slice: Unordered, Open by value:url Constraints: ext-1 | |||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | CodeableConcept | The kind of dose or rate specified Binding: DoseAndRateType (example) | ||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per dose | |||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() ![]() |
Σ | 0..1 | Amount of medication per unit of time | |||||
![]() ![]() ![]() ![]() ![]() |
Ratio | |||||||
![]() ![]() ![]() ![]() ![]() |
Range | |||||||
![]() ![]() ![]() ![]() ![]() |
Quantity(SimpleQuantity) | |||||||
![]() ![]() ![]() |
Σ | 0..1 | Ratio | Upper limit on medication per unit of time | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.3.0) | Upper limit on medication per administration | ||||
![]() ![]() ![]() |
Σ | 0..1 | SimpleQuantity(4.3.0) | Upper limit on medication per lifetime of the patient | ||||
Documentation for this format | ||||||||
| 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. |
| 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