Common Data Models Harmonization
1.0.0 - STU 1 Publication

Publication Build: This will be filled in by the publication tooling

## Resource Profile: CdmhMedicationStatement

Defining URL: | http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-medicationstatement
Version: | 1.0.0
Name: | CdmhMedicationStatement
Title: | CDMH MedicationStatement
Status: | Draft as of 9/1/19
Definition: | This is the MedicationStatement Resource profile for the IG.
Publisher: | HL7 International - Biomedical Research and Regulation Work Group
Copyright: | Used by permission of HL7, all rights reserved Creative Commons License
Source Resource: | XML / JSON / Turtle

The official URL for this profile is:

    http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-medicationstatement

### Formal Views of Profile Content

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

- Text Summary
- Differential Table
- Snapshot Table
- Snapshot Table (Must Support)
- All

This structure is derived from MedicationStatement

Summary

Must-Support: 8 elements

Structures

This structure refers to these other structures:

- CDMH MedicationRequest (http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-medicationrequest)
- CDMH Patient (http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-patient)
- CDMH Encounter (http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-encounter)

This structure is derived from MedicationStatement

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationStatement |  | 0..* | MedicationStatement | CDMH MedicationStatement
identifier | S | 0..* | Identifier | External identifier
basedOn | S | 0..* | Reference(CDMH MedicationRequest) | Fulfils plan, proposal or order
status | S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
statusReason | S | 0..* | CodeableConcept | Reason for current status
medication[x] | S | 1..1 | CodeableConcept, Reference(Medication) | What medication was taken
subject | S | 1..1 | Reference(CDMH Patient) | Who is/was taking the medication
context | S | 0..1 | Reference(CDMH Encounter) | Encounter / Episode associated with MedicationStatement
effectivePeriod | S | 0..1 | Period | The date/time or interval when the medication is/was/will be taken
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationStatement |  | 0..* | MedicationStatement | CDMH MedicationStatement
id | Σ | 0..1 | string | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | External identifier
basedOn | S Σ | 0..* | Reference(CDMH MedicationRequest) | Fulfils plan, proposal or order
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event
status | ?!S Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
statusReason | S | 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] | S Σ | 1..1 |  | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
medicationCodeableConcept |  |  | CodeableConcept |
medicationReference |  |  | Reference(Medication) |
subject | S Σ | 1..1 | Reference(CDMH Patient) | Who is/was taking the medication
context | S Σ | 0..1 | Reference(CDMH Encounter) | Encounter / Episode associated with MedicationStatement
Slices for effective[x] | Σ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Closed by type:$this
effective[x]:effectivePeriod | S Σ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken
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
derivedFrom |  | 0..* | Reference(Resource) | Additional supporting information
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.
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
dosage |  | 0..* | Dosage | Details of how medication is/was taken or should be taken
Documentation for this format

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationStatement |  | 0..* | MedicationStatement | CDMH MedicationStatement
identifier | Σ | 0..* | Identifier | External identifier
basedOn | Σ | 0..* | Reference(CDMH MedicationRequest) | Fulfils plan, proposal or order
status | ?!Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
statusReason |  | 0..* | CodeableConcept | Reason for current status Binding: SNOMEDCTDrugTherapyStatusCodes (example): A coded concept indicating the reason for the status of the statement.
medication[x] | Σ | 1..1 |  | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
medicationCodeableConcept |  |  | CodeableConcept |
medicationReference |  |  | Reference(Medication) |
subject | Σ | 1..1 | Reference(CDMH Patient) | Who is/was taking the medication
context | Σ | 0..1 | Reference(CDMH Encounter) | Encounter / Episode associated with MedicationStatement
effective[x]:effectivePeriod | Σ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken
Documentation for this format

This structure is derived from MedicationStatement

Summary

Must-Support: 8 elements

Structures

This structure refers to these other structures:

- CDMH MedicationRequest (http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-medicationrequest)
- CDMH Patient (http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-patient)
- CDMH Encounter (http://hl7.org/fhir/us/cdmh/StructureDefinition/cdmh-encounter)

Differential View

This structure is derived from MedicationStatement

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationStatement |  | 0..* | MedicationStatement | CDMH MedicationStatement
identifier | S | 0..* | Identifier | External identifier
basedOn | S | 0..* | Reference(CDMH MedicationRequest) | Fulfils plan, proposal or order
status | S | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken
statusReason | S | 0..* | CodeableConcept | Reason for current status
medication[x] | S | 1..1 | CodeableConcept, Reference(Medication) | What medication was taken
subject | S | 1..1 | Reference(CDMH Patient) | Who is/was taking the medication
context | S | 0..1 | Reference(CDMH Encounter) | Encounter / Episode associated with MedicationStatement
effectivePeriod | S | 0..1 | Period | The date/time or interval when the medication is/was/will be taken
Documentation for this format

Snapshot View

Name | Flags | Card. | Type | Description & Constraints
--- | --- | --- | --- | ---
MedicationStatement |  | 0..* | MedicationStatement | CDMH MedicationStatement
id | Σ | 0..1 | string | Logical id of this artifact
meta | Σ | 0..1 | Meta | Metadata about the resource
implicitRules | ?!Σ | 0..1 | uri | A set of rules under which this content was created
language |  | 0..1 | code | Language of the resource content Binding: CommonLanguages (preferred) Max Binding: AllLanguages: A human language.
text |  | 0..1 | Narrative | Text summary of the resource, for human interpretation
contained |  | 0..* | Resource | Contained, inline Resources
extension |  | 0..* | Extension | Additional content defined by implementations
modifierExtension | ?! | 0..* | Extension | Extensions that cannot be ignored
identifier | S Σ | 0..* | Identifier | External identifier
basedOn | S Σ | 0..* | Reference(CDMH MedicationRequest) | Fulfils plan, proposal or order
partOf | Σ | 0..* | Reference(MedicationAdministration | MedicationDispense | MedicationStatement | Procedure | Observation) | Part of referenced event
status | ?!S Σ | 1..1 | code | active | completed | entered-in-error | intended | stopped | on-hold | unknown | not-taken Binding: Medication Status Codes (required): A coded concept indicating the current status of a MedicationStatement.
statusReason | S | 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] | S Σ | 1..1 |  | What medication was taken Binding: SNOMEDCTMedicationCodes (example): A coded concept identifying the substance or product being taken.
medicationCodeableConcept |  |  | CodeableConcept |
medicationReference |  |  | Reference(Medication) |
subject | S Σ | 1..1 | Reference(CDMH Patient) | Who is/was taking the medication
context | S Σ | 0..1 | Reference(CDMH Encounter) | Encounter / Episode associated with MedicationStatement
Slices for effective[x] | Σ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken Slice: Unordered, Closed by type:$this
effective[x]:effectivePeriod | S Σ | 0..1 | Period | The date/time or interval when the medication is/was/will be taken
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
derivedFrom |  | 0..* | Reference(Resource) | Additional supporting information
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.
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
dosage |  | 0..* | Dosage | Details of how medication is/was taken or should be taken
Documentation for this format

Other representations of profile: CSV, Excel, Schematron

#### Terminology Bindings

Path | Conformance | ValueSet
MedicationStatement.language | preferred | CommonLanguages Max Binding: AllLanguages
MedicationStatement.status | required | Medication Status Codes
MedicationStatement.statusReason | example | SNOMEDCTDrugTherapyStatusCodes
MedicationStatement.category | preferred | Medication usage category codes
MedicationStatement.medication[x] | example | SNOMEDCTMedicationCodes
MedicationStatement.reasonCode | example | Condition/Problem/DiagnosisCodes

#### Constraints

Id | Path | Details | Requirements
dom-2 | MedicationStatement | If the resource is contained in another resource, it SHALL NOT contain nested Resources : contained.contained.empty() |
dom-3 | MedicationStatement | If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource : contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty() |
dom-4 | 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 | MedicationStatement | If a resource is contained in another resource, it SHALL NOT have a security label : contained.meta.security.empty() |
dom-6 | MedicationStatement | A resource should have narrative for robust management : text.`div`.exists() |
ele-1 | MedicationStatement.meta | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.implicitRules | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.language | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.text | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.extension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | MedicationStatement.extension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | MedicationStatement.modifierExtension | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ext-1 | MedicationStatement.modifierExtension | Must have either extensions or value[x], not both : extension.exists() != value.exists() |
ele-1 | MedicationStatement.identifier | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.basedOn | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.partOf | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.status | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.statusReason | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.category | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.medication[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.subject | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.context | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.effective[x] | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.effective[x]:effectivePeriod | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.dateAsserted | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.informationSource | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.derivedFrom | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.reasonCode | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.reasonReference | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.note | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |
ele-1 | MedicationStatement.dosage | All FHIR elements must have a @value or children : hasValue() or (children().count() > id.count()) |