{
  "resourceType": "MedicationDispense",
  "id": "meddisp0318",
  "identifier": [
    {
      "use": "official",
      "system": "http://www.bmc.nl/portal/dispenses",
      "value": "12345689"
    }
  ],
  "status": "in-progress",
  "medication": {
    "concept": {
      "coding": [
        {
          "system": "http://hl7.org/fhir/sid/ndc",
          "code": "0378-1800-10",
          "display": "Levothyroxine Sodium, 1000 TABLET in 1 BOTTLE, PLASTIC (0378-1800-10) (package)"
        }
      ],
      "text": "Levothyroxine Sodium Tablets, USP (75mcg)"
    }
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck"
  },
  "encounter": {
    "reference": "Encounter/f001"
  },
  "performer": [
    {
      "actor": {
        "reference": "Practitioner/f006"
      }
    }
  ],
  "authorizingPrescription": [
    {
      "reference": "MedicationRequest/medrx0314"
    }
  ],
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "RFP",
        "display": "Refill - Part Fill"
      }
    ]
  },
  "quantity": {
    "value": 100,
    "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
    "code": "TAB"
  },
  "daysSupply": {
    "value": 30,
    "unit": "Day",
    "system": "http://unitsofmeasure.org",
    "code": "d"
  },
  "whenPrepared": "2015-03-16T17:13:00+05:00",
  "substitution": {
    "wasSubstituted": true,
    "type": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/v3-substanceAdminSubstitution",
          "code": "F",
          "display": "formulary"
        }
      ]
    },
    "reason": [
      {
        "coding": [
          {
            "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
            "code": "FP",
            "display": "Formulary Policy"
          }
        ]
      }
    ],
    "responsibleParty": {
      "reference": "Practitioner/f006"
    }
  },
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}