This page is part of the FHIR Specification (v0.4.0: DSTU 2 Draft). 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
Example Index:
Comparison with MedicationAdministration | XML | JSON |
Over-the-counter example (used by Contraindication) | XML | JSON |
XML
Comparison with MedicationAdministration (id = "example")
<MedicationStatement xmlns="http://hl7.org/fhir"> <id value="example"/> <text> <status value="generated"/> <div xmlns="http://www.w3.org/1999/xhtml"><!-- Snipped for brevity --></div> </text><!-- --> <patient> <reference value="Patient/example"/> </patient> <status value="completed"/> <effectiveDateTime value="2012-06-01T14:30:00+14:00"/> <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
Comparison with MedicationAdministration
{ "resourceType": "MedicationStatement", "id": "example", "text": { "status": "generated", "div": "<div>!-- Snipped for Brevity --></div>" }, "patient": { "reference": "Patient/example" }, "status": "completed", "effectiveDateTime": "2012-06-01T14:30:00+14: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" } } ] }
Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.