{

"resourceType": "MedicationDispense",
"id": "meddisp0309",
"contained": [
  {
    "resourceType": "Medication",
    "id": "med0312",
    "code": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "324689003",
          "display": "Nystatin 100,000 units/ml oral suspension (product)"
        }
      ]
    }
  }
],
"status": "entered-in-error",
"medicationReference": {
  "reference": "#med0312",
  "display": "Nystatin 100,000 units/ml oral suspension (product)"
},
"subject": {
  "reference": "Patient/pat1",
  "display": "Donald Duck "
},
"performer": [
  {
    "actor": {
      "reference": "Practitioner/f006"
    }
  }
],
"authorizingPrescription": [
  {
    "reference": "MedicationRequest/medrx0319"
  }
],
"type": {
  "coding": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code": "FF",
      "display": "First Fill"
    }
  ]
},
"quantity": {
  "value": 10,
  "unit": "ml",
  "system": "http://unitsofmeasure.org",
  "code": "ml"
},
"daysSupply": {
  "value": 10,
  "unit": "Day",
  "system": "http://unitsofmeasure.org",
  "code": "d"
},
"whenPrepared": "2015-01-15",
"whenHandedOver": "2016-01-15",
"dosageInstruction": [
  {
    "sequence": 1,
    "text": "10 drops four times daily - apply in mouth using cotton swab or finger",
    "timing": {
      "repeat": {
        "frequency": 4,
        "period": 1,
        "periodUnit": "d"
      }
    },
    "doseAndRate": [
      {
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
              "code": "ordered",
              "display": "Ordered"
            }
          ]
        },
        "doseQuantity": {
          "value": 10,
          "unit": "drop",
          "system": "http://unitsofmeasure.org",
          "code": "drop"
        }
      }
    ]
  }
],
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}