2nd DSTU Draft For Comment

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

4.14.6 Resource MedicationPrescription - Examples

Example Index:

General Person ExampleXMLJSON
Real-world prescription exampleXMLJSON
Real-world prescription exampleXMLJSON
Real-world prescription exampleXMLJSON
Real-world prescription exampleXMLJSON
Real-world prescription exampleXMLJSON
Real-world prescription exampleXMLJSON
Real-world prescription exampleXMLJSON
Real-world prescription exampleXMLJSON
Example for ContraindicationXMLJSON

4.14.6.1 Penicillin

XML

General Person Example (id = "example")

Raw XML

<MedicationPrescription 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>
  <status value="active"/>
  <patient>
    <reference value="Patient/example"/>
  </patient>
  <prescriber>
    <reference value="Practitioner/example"/>
  </prescriber>
  <medication>
    <reference value="Medication/example"/>
  </medication>
  <dosageInstruction>
    <scheduledTiming>
      <repeat>
        <frequency value="3"/>
        <duration value="1"/>
        <units value="d"/>
      </repeat>
    </scheduledTiming>
    <route>
      <coding>
        <system value="http://snomed.info/sct"/>
        <code value="394899003"/>
        <display value="oral administration of treatment"/>
      </coding>
    </route>
    <doseQuantity>
      <value value="5"/>
      <units value="ml"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="ml"/>
    </doseQuantity>
  </dosageInstruction>
  <dispense>
    <quantity>
      <value value="100"/>
      <units value="ml"/>
      <system value="http://unitsofmeasure.org"/>
      <code value="ml"/>
    </quantity>
  </dispense>
</MedicationPrescription>

JSON

General Person Example

Raw JSON (Canonical)

{
  "resourceType": "MedicationPrescription",
  "id": "example",
  "text": {
    "status": "generated",
    "div": "<div>!-- Snipped for Brevity --></div>"
  },
  "status": "active",
  "patient": {
    "reference": "Patient/example"
  },
  "prescriber": {
    "reference": "Practitioner/example"
  },
  "medication": {
    "reference": "Medication/example"
  },
  "dosageInstruction": [
    {
      "scheduledTiming": {
        "repeat": {
          "frequency": 3,
          "duration": 1,
          "units": "d"
        }
      },
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "394899003",
            "display": "oral administration of treatment"
          }
        ]
      },
      "doseQuantity": {
        "value": 5,
        "units": "ml",
        "system": "http://unitsofmeasure.org",
        "code": "ml"
      }
    }
  ],
  "dispense": {
    "quantity": {
      "value": 100,
      "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.