The MedicationStatement API allows creating, retrieving and managing records of medications taken by patients. Healthcare developers can use it to build applications that consolidate medication history from multiple sources for a more complete view of the patient's medication adherence and response.
Object Definition
{
"resourceType": "MedicationStatement",
"id": "example001",
"text": {
"status": "generated",
"div": "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example001</p><p><b>contained</b>: </p><p><b>identifier</b>: 12345689 (OFFICIAL)</p><p><b>status</b>: active</p><p><b>category</b>: Inpatient <span>(Details : {http://terminology.hl7.org/CodeSystem/medication-statement-category code 'inpatient' = 'Inpatient', given as 'Inpatient'})</span></p><p><b>medication</b>: id: med0309; Tylenol PM <span>(Details : {http://hl7.org/fhir/sid/ndc code '50580-506-02' = '50580-506-02', given as 'Tylenol PM'})</span>; Film-coated tablet (qualifier value) <span>(Details : {SNOMED CT code '385057009' = 'Film-coated tablet', given as 'Film-coated tablet (qualifier value)'})</span></p><p><b>subject</b>: <a>Donald Duck</a></p><p><b>effective</b>: 23/01/2015</p><p><b>dateAsserted</b>: 22/02/2015</p><p><b>informationSource</b>: <a>Donald Duck</a></p><p><b>derivedFrom</b>: <a>MedicationRequest/medrx002</a></p><p><b>reasonCode</b>: Restless Legs <span>(Details : {SNOMED CT code '32914008' = 'Restless legs', given as 'Restless Legs'})</span></p><p><b>note</b>: Patient indicates they miss the occasional dose</p><p><b>dosage</b>: </p></div>"
},
"contained": [
{
"resourceType": "Medication",
"id": "med0309",
"code": {
"coding": [
{
"system": "http://hl7.org/fhir/sid/ndc",
"code": "50580-506-02",
"display": "Tylenol PM"
}
]
},
"form": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "385057009",
"display": "Film-coated tablet (qualifier value)"
}
]
},
"ingredient": [
{
"itemCodeableConcept": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "315266",
"display": "Acetaminophen 500 MG"
}
]
},
"strength": {
"numerator": {
"value": 500,
"system": "http://unitsofmeasure.org",
"code": "mg"
},
"denominator": {
"value": 1,
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
"code": "Tab"
}
}
},
{
"itemCodeableConcept": {
"coding": [
{
"system": "http://www.nlm.nih.gov/research/umls/rxnorm",
"code": "901813",
"display": "Diphenhydramine Hydrochloride 25 mg"
}
]
},
"strength": {
"numerator": {
"value": 25,
"system": "http://unitsofmeasure.org",
"code": "mg"
},
"denominator": {
"value": 1,
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
"code": "Tab"
}
}
}
],
"batch": {
"lotNumber": "9494788",
"expirationDate": "2017-05-22"
}
}
],
"identifier": [
{
"use": "official",
"system": "http://www.bmc.nl/portal/medstatements",
"value": "12345689"
}
],
"status": "active",
"category": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/medication-statement-category",
"code": "inpatient",
"display": "Inpatient"
}
]
},
"medicationReference": {
"reference": "#med0309"
},
"subject": {
"reference": "Patient/pat1",
"display": "Donald Duck"
},
"effectiveDateTime": "2015-01-23",
"dateAsserted": "2015-02-22",
"informationSource": {
"reference": "Patient/pat1",
"display": "Donald Duck"
},
"derivedFrom": [
{
"reference": "MedicationRequest/medrx002"
}
],
"reasonCode": [
{
"coding": [
{
"system": "http://snomed.info/sct",
"code": "32914008",
"display": "Restless Legs"
}
]
}
],
"note": [
{
"text": "Patient indicates they miss the occasional dose"
}
],
"dosage": [
{
"sequence": 1,
"text": "1-2 tablets once daily at bedtime as needed for restless legs",
"additionalInstruction": [
{
"text": "Taking at bedtime"
}
],
"timing": {
"repeat": {
"frequency": 1,
"period": 1,
"periodUnit": "d"
}
},
"asNeededCodeableConcept": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "32914008",
"display": "Restless Legs"
}
]
},
"route": {
"coding": [
{
"system": "http://snomed.info/sct",
"code": "26643006",
"display": "Oral Route"
}
]
},
"doseAndRate": [
{
"type": {
"coding": [
{
"system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
"code": "ordered",
"display": "Ordered"
}
]
},
"doseRange": {
"low": {
"value": 1,
"unit": "TAB",
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
"code": "TAB"
},
"high": {
"value": 2,
"unit": "TAB",
"system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
"code": "TAB"
}
}
}
]
}
],
"meta": {
"tag": [
{
"system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
"code": "HTEST",
"display": "test health data"
}
]
}
}
Data Fields
Data Field | Type | Description |
---|
resourceType | MedicationStatement | This is a MedicationStatement resource |
id | id | The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. |
meta | Meta | The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource. |
implicitRules | uri | A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. |
language | code | The base language in which the resource is written. |
text | Narrative | A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it "clinically safe" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. |
contained | BackboneElement | These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. |
extension | Extension | May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. |
modifierExtension | Extension | May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). |
identifier | Identifier | Identifiers associated with this Medication Statement that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server. |
basedOn | Reference | A plan, proposal or order that is fulfilled in whole or in part by this event. |
partOf | Reference | A larger event of which this particular event is a component or step. |
status | code | A code representing the patient or other source's judgment about the state of the medication used that this statement is about. Generally, this will be active or completed. |
statusReason | CodeableConcept | Captures the reason for the current state of the MedicationStatement. |
category | CodeableConcept | Indicates where the medication is expected to be consumed or administered. |
medicationCodeableConcept | CodeableConcept | Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. |
medicationReference | Reference | Identifies the medication being administered. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications. |
subject | Reference | The person, animal or group who is/was taking the medication. |
context | Reference | The encounter or episode of care that establishes the context for this MedicationStatement. |
effectiveDateTime | string | The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationStatement.taken element is No). |
effectivePeriod | Period | The interval of time during which it is being asserted that the patient is/was/will be taking the medication (or was not taking, when the MedicationStatement.taken element is No). |
dateAsserted | dateTime | The date when the medication statement was asserted by the information source. |
informationSource | Reference | The person or organization that provided the information about the taking of this medication. Note: Use derivedFrom when a MedicationStatement is derived from other resources, e.g. Claim or MedicationRequest. |
derivedFrom | Reference | Allows linking the MedicationStatement to the underlying MedicationRequest, or to other information that supports or is used to derive the MedicationStatement. |
reasonCode | CodeableConcept | A reason for why the medication is being/was taken. |
reasonReference | Reference | Condition or observation that supports why the medication is being/was taken. |
note | Annotation | Provides extra information about the medication statement that is not conveyed by the other attributes. |
dosage | Dosage | Indicates how the medication is/was or should be taken by the patient. |
Extensions