{
  "resourceType": "MedicationDispense",
  "id": "meddisp0303",
  "contained": [
    {
      "resourceType": "Medication",
      "id": "med0310",
      "code": {
        "coding": [
          {
            "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
            "code": "1049623",
            "display": "oxycodone hydrochloride 5 MG Oral Tablet [Roxicodone]"
          }
        ]
      }
    }
  ],
  "partOf": [
    {
      "reference": "Procedure/biopsy"
    }
  ],
  "status": "on-hold",
  "notPerformedReason": {
    "reference": {
      "reference": "DetectedIssue/allergy"
    }
  },
  "category": [
    {
      "coding": [
        {
          "system": "http://terminology.hl7.org/fhir/CodeSystem/medicationdispense-category",
          "code": "outpatient",
          "display": "Outpatient"
        }
      ]
    }
  ],
  "medication": {
    "reference": {
      "reference": "#med0310"
    }
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck"
  },
  "encounter": {
    "reference": "Encounter/f001"
  },
  "performer": [
    {
      "actor": {
        "reference": "Practitioner/f006"
      }
    }
  ],
  "authorizingPrescription": [
    {
      "reference": "MedicationRequest/medrx0310"
    }
  ],
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "EM",
        "display": "Emergency Supply"
      }
    ]
  },
  "quantity": {
    "value": 30,
    "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
    "code": "TAB"
  },
  "daysSupply": {
    "value": 10,
    "unit": "Day",
    "system": "http://unitsofmeasure.org",
    "code": "d"
  },
  "whenPrepared": "2016-04-15T07:14:00+05:00",
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}