{
  "resourceType": "MedicationDispense",
  "id": "meddisp0315",
  "text": {
    "status": "generated",
    "div": "\u003cdiv xmlns\u003d\"http://www.w3.org/1999/xhtml\"\u003e\u003cp\u003e\u003cb\u003eGenerated Narrative: MedicationDispense\u003c/b\u003e\u003ca name\u003d\"meddisp0315\"\u003e \u003c/a\u003e\u003c/p\u003e\u003cdiv style\u003d\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"\u003e\u003cp style\u003d\"margin-bottom: 0px\"\u003eResource MedicationDispense \u0026quot;meddisp0315\u0026quot; \u003c/p\u003e\u003c/div\u003e\u003cp\u003e\u003cb\u003estatus\u003c/b\u003e: in-progress\u003c/p\u003e\u003ch3\u003eMedications\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eReference\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e\u003cspan title\u003d\"  Linked to a RESOURCE Medication  \"\u003e\u003ca name\u003d\"med0314\"\u003e \u003c/a\u003e\u003c/span\u003e\u003cblockquote\u003e\u003cp/\u003e\u003cp\u003e\u003ca name\u003d\"med0314\"\u003e \u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ecode\u003c/b\u003e: Alprazolam 0.25mg (Xanax) \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-rxNorm.html\"\u003eRxNorm\u003c/a\u003e#562721)\u003c/span\u003e\u003c/p\u003e\u003c/blockquote\u003e\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cp\u003e\u003cb\u003esubject\u003c/b\u003e: \u003ca href\u003d\"patient-example-a.html\"\u003ePatient/pat1: Donald Duck \u003c/a\u003e \u0026quot;Donald DUCK\u0026quot;\u003c/p\u003e\u003ch3\u003ePerformers\u003c/h3\u003e\u003ctable class\u003d\"grid\"\u003e\u003ctr\u003e\u003ctd\u003e-\u003c/td\u003e\u003ctd\u003e\u003cb\u003eActor\u003c/b\u003e\u003c/td\u003e\u003c/tr\u003e\u003ctr\u003e\u003ctd\u003e*\u003c/td\u003e\u003ctd\u003e\u003ca href\u003d\"practitioner-example-f006-rvdb.html\"\u003ePractitioner/f006\u003c/a\u003e \u0026quot;Rob VAN DEN BERK\u0026quot;\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\u003cp\u003e\u003cb\u003eauthorizingPrescription\u003c/b\u003e: \u003ca href\u003d\"medicationrequest0305.html\"\u003eMedicationRequest/medrx0305\u003c/a\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etype\u003c/b\u003e: Refill - Part Fill \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"http://terminology.hl7.org/5.1.0/CodeSystem-v3-ActCode.html\"\u003eActCode\u003c/a\u003e#RFP)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003equantity\u003c/b\u003e: 30(unit TAB from http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm)\u003cspan style\u003d\"background: LightGoldenRodYellow\"\u003e (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB \u003d \u0027Tablet\u0027)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003edaysSupply\u003c/b\u003e: 10 Day\u003cspan style\u003d\"background: LightGoldenRodYellow\"\u003e (Details: UCUM code d \u003d \u0027d\u0027)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003ewhenPrepared\u003c/b\u003e: 2015-06-25T07:13:00+05:00\u003c/p\u003e\u003cp\u003e\u003cb\u003ewhenHandedOver\u003c/b\u003e: 2015-06-26T07:13:00+05:00\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003edosageInstruction\u003c/b\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003esequence\u003c/b\u003e: 1\u003c/p\u003e\u003cp\u003e\u003cb\u003etext\u003c/b\u003e: 0.25mg PO every 6-12 hours as needed for menses from Jan 15-20, 2015.  Do not exceed more than 4mg per day\u003c/p\u003e\u003cp\u003e\u003cb\u003eadditionalInstruction\u003c/b\u003e: Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value) \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"https://browser.ihtsdotools.org/\"\u003eSNOMED CT\u003c/a\u003e#418914006)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003etiming\u003c/b\u003e: Starting 2015-01-15, Once per 6-12 hours, Until 2015-01-20\u003c/p\u003e\u003cp\u003e\u003cb\u003easNeededFor\u003c/b\u003e: Dysmenorrhea (disorder) \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"https://browser.ihtsdotools.org/\"\u003eSNOMED CT\u003c/a\u003e#266599000)\u003c/span\u003e\u003c/p\u003e\u003cp\u003e\u003cb\u003eroute\u003c/b\u003e: Oral Route \u003cspan style\u003d\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"\u003e (\u003ca href\u003d\"https://browser.ihtsdotools.org/\"\u003eSNOMED CT\u003c/a\u003e#26643006)\u003c/span\u003e\u003c/p\u003e\u003cblockquote\u003e\u003cp\u003e\u003cb\u003edoseAndRate\u003c/b\u003e\u003c/p\u003e\u003c/blockquote\u003e\u003c/blockquote\u003e\u003c/div\u003e"
  },
  "contained": [
    {
      "resourceType": "Medication",
      "id": "med0314",
      "code": {
        "coding": [
          {
            "system": "http://www.nlm.nih.gov/research/umls/rxnorm",
            "code": "562721",
            "display": "Alprazolam 0.25mg (Xanax)"
          }
        ]
      }
    }
  ],
  "status": "in-progress",
  "medication": {
    "reference": {
      "reference": "#med0314",
      "display": "Alprazolam 0.25mg (Xanax)"
    }
  },
  "subject": {
    "reference": "Patient/pat1",
    "display": "Donald Duck "
  },
  "performer": [
    {
      "actor": {
        "reference": "Practitioner/f006"
      }
    }
  ],
  "authorizingPrescription": [
    {
      "reference": "MedicationRequest/medrx0305"
    }
  ],
  "type": {
    "coding": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode",
        "code": "RFP",
        "display": "Refill - Part Fill"
      }
    ]
  },
  "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": "2015-06-25T07:13:00+05:00",
  "whenHandedOver": "2015-06-26T07:13:00+05:00",
  "dosageInstruction": [
    {
      "sequence": 1,
      "text": "0.25mg PO every 6-12 hours as needed for menses from Jan 15-20, 2015.  Do not exceed more than 4mg per day",
      "additionalInstruction": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "418914006",
              "display": "Warning. May cause drowsiness. If affected do not drive or operate machinery. Avoid alcoholic drink (qualifier value)"
            }
          ]
        }
      ],
      "timing": {
        "repeat": {
          "boundsPeriod": {
            "start": "2015-01-15",
            "end": "2015-01-20"
          },
          "frequency": 1,
          "period": 6,
          "periodMax": 12,
          "periodUnit": "h"
        }
      },
      "asNeededFor": [
        {
          "coding": [
            {
              "system": "http://snomed.info/sct",
              "code": "266599000",
              "display": "Dysmenorrhea (disorder)"
            }
          ]
        }
      ],
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral Route"
          }
        ]
      },
      "doseAndRate": [
        {
          "type": {
            "coding": [
              {
                "system": "http://terminology.hl7.org/CodeSystem/dose-rate-type",
                "code": "ordered",
                "display": "Ordered"
              }
            ]
          },
          "doseQuantity": {
            "value": 1,
            "unit": "TAB",
            "system": "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm",
            "code": "TAB"
          }
        }
      ]
    }
  ],
  "meta": {
    "tag": [
      {
        "system": "http://terminology.hl7.org/CodeSystem/v3-ActReason",
        "code": "HTEST",
        "display": "test health data"
      }
    ]
  }
}