This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0.  For a full list of available versions, see the Directory of published versions  . Page versions: R5 R4B R4 R3 R2
. Page versions: R5 R4B R4 R3 R2
Example Index:
| Example of medicationstatement | XML | JSON | 
XML
Example of medicationstatement (id = "example")
<MedicationStatement xmlns="http://hl7.org/fhir"> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"> <p>Penicillin VK 10ml suspension administered by oral route at 14:30 on 1 June 2012</p> <p>to patient ref: a23</p> </div> </text> <!-- --> <patient> <reference value="Patient/example"/> </patient> <whenGiven> <start value="2012-06-01T14:30:00"/> <end value="2012-06-01T14:30:00"/> </whenGiven> <medication> <reference value="Medication/example"/> </medication> <dosage> <route> <coding> <system value="http://snomed.info/sct"/> <code value="394899003"/> <display value="oral administration of treatment"/> </coding> </route> <quantity> <value value="10"/> <units value="ml"/> <system value="http://unitsofmeasure.org"/> <code value="ml"/> </quantity> </dosage> </MedicationStatement>
JSON
Example of medicationstatement
{
  "resourceType": "MedicationStatement",
  "text": {
    "status": "generated",
    "div": "<div>\n      <p>Penicillin VK 10ml suspension administered by oral route at 14:30 on 1 June 2012</p>\n      <p>to patient ref: a23</p>\n    </div>"
  },
  "patient": {
    "reference": "Patient/example"
  },
  "whenGiven": {
    "start": "2012-06-01T14:30:00",
    "end": "2012-06-01T14:30:00"
  },
  "medication": {
    "reference": "Medication/example"
  },
  "dosage": [
    {
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "394899003",
            "display": "oral administration of treatment"
          }
        ]
      },
      "quantity": {
        "value": 10,
        "units": "ml",
        "system": "http://unitsofmeasure.org",
        "code": "ml"
      }
    }
  ]
}