{

"resourceType": "MedicationDispense",
"id": "meddisp0302",
"contained": [
  {
    "resourceType": "Medication",
    "id": "med0360",
    "code": {
      "coding": [
        {
          "system": "http://hl7.org/fhir/sid/ndc",
          "code": "0169-7501-11",
          "display": "Novolog 100u/ml"
        }
      ]
    },
    "form": {
      "coding": [
        {
          "system": "http://snomed.info/sct",
          "code": "385219001",
          "display": "Injection solution (qualifier value)"
        }
      ]
    },
    "ingredient": [
      {
        "itemCodeableConcept": {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "325072002",
              "display": "Insulin Aspart (substance)"
            }
          ]
        },
        "strength": {
          "numerator": {
            "value": 100,
            "system": "http://unitsofmeasure.org",
            "code": "U"
          },
          "denominator": {
            "value": 1,
            "system": "http://unitsofmeasure.org",
            "code": "mL"
          }
        }
      }
    ],
    "batch": {
      "lotNumber": "12345",
      "expirationDate": "2019-10-31"
    }
  }
],
"status": "in-progress",
"medicationReference": {
  "reference": "#med0360",
  "display": "Novolog 100u/ml"
},
"subject": {
  "reference": "Patient/pat1",
  "display": "Donald Duck"
},
"performer": [
  {
    "function": {
      "coding": [
        {
          "system": "http://terminology.hl7.org/CodeSystem/medicationdispense-performer-function",
          "code": "finalchecker",
          "display": "Final Checker"
        }
      ]
    },
    "actor": {
      "reference": "Practitioner/f006"
    }
  }
],
"authorizingPrescription": [
  {
    "reference": "MedicationRequest/medrx0321"
  }
],
"type": {
  "coding": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
      "code": "RFP",
      "display": "Refill - Part Fill"
    }
  ]
},
"quantity": {
  "value": 10,
  "system": "http://unitsofmeasure.org",
  "code": "ml"
},
"daysSupply": {
  "value": 30,
  "unit": "Day",
  "system": "http://unitsofmeasure.org",
  "code": "d"
},
"whenPrepared": "2015-01-15T10:20:00Z",
"whenHandedOver": "2015-01-15T16:20:00Z",
"dosageInstruction": [
  {
    "sequence": 1,
    "text": "Before Breakfast",
    "additionalInstruction": [
      {
        "text": "Check sugar level before taking Novolog"
      }
    ],
    "timing": {
      "repeat": {
        "frequency": 1,
        "period": 1,
        "periodUnit": "d"
      }
    },
    "doseAndRate": [
      {
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
              "code": "ordered",
              "display": "Ordered"
            }
          ]
        },
        "doseQuantity": {
          "value": 10,
          "unit": "U",
          "system": "http://unitsofmeasure.org",
          "code": "U"
        }
      }
    ]
  },
  {
    "sequence": 1,
    "text": "15 units before lunch",
    "additionalInstruction": [
      {
        "text": "Check sugar level before taking Novolog"
      }
    ],
    "timing": {
      "repeat": {
        "frequency": 1,
        "period": 1,
        "periodUnit": "d"
      }
    },
    "doseAndRate": [
      {
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
              "code": "ordered",
              "display": "Ordered"
            }
          ]
        },
        "doseQuantity": {
          "value": 15,
          "unit": "U",
          "system": "http://unitsofmeasure.org",
          "code": "U"
        }
      }
    ]
  },
  {
    "sequence": 1,
    "text": "20 units before dinner",
    "additionalInstruction": [
      {
        "text": "Check sugar level before taking Novolog"
      }
    ],
    "timing": {
      "repeat": {
        "frequency": 1,
        "period": 1,
        "periodUnit": "d"
      }
    },
    "doseAndRate": [
      {
        "type": {
          "coding": [
            {
              "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
              "code": "ordered",
              "display": "Ordered"
            }
          ]
        },
        "doseQuantity": {
          "value": 20,
          "unit": "U",
          "system": "http://unitsofmeasure.org",
          "code": "U"
        }
      }
    ]
  }
],
"meta": {
  "tag": [
    {
      "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
      "code": "HTEST",
      "display": "test health data"
    }
  ]
}

}