{
  "id" : "T9fm3pisMEdVK8ne0uiWfEMQn9B244oUFLlGHmUhxB4cB",
  "medicationReference" : {
    "display" : "clindamycin 1% Lotion",
    "reference" : "https://apiservices.sutterhealth.org/ifs/api/FHIR/DSTU2/Medication/TCITUU5u1l3AnzGbUL8pPcQB"
  },
  "resourceType" : "MedicationOrder",
  "dateWritten" : "2012-09-13",
  "contained" : [
    {
      "code" : {
        "text" : "CLINDAMYCIN PHOSPHATE 1 % EX LOTN",
        "coding" : [
          {
            "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
            "display" : "CLINDAMYCIN PHOSPHATE 1 % EX LOTN",
            "code" : "197519"
          }
        ]
      },
      "id" : "TCITUU5u1l3AnzGbUL8pPcQB",
      "resourceType" : "Medication",
      "product" : {
        "form" : {
          "text" : "Lotion",
          "coding" : [
            {
              "system" : "urn:oid:1.2.840.114350.1.13.76.2.7.4.698288.310",
              "display" : "Lotion",
              "code" : "34"
            }
          ]
        }
      }
    }
  ],
  "identifier" : [
    {
      "use" : "usual",
      "system" : "urn:oid:1.2.840.114350.1.13.76.2.7.2.798268",
      "value" : "231128334"
    },
    {
      "use" : "usual",
      "system" : "urn:oid:1.2.840.114350.1.13.76.2.7.3.798268.801",
      "value" : "231128334OID76"
    }
  ],
  "reasonEnded" : {
    "text" : "Therapy completed",
    "coding" : [
      {
        "system" : "urn:oid:1.2.840.114350.1.13.76.2.7.4.798268.7074",
        "display" : "Therapy completed",
        "code" : "10"
      }
    ]
  },
  "extension" : [
    {
      "url" : "http://hl7.org/fhir/3.0/StructureDefinition/extension-MedicationRequest.category",
      "valueCodeableConcept" : {
        "text" : "Community",
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/medication-request-category",
            "display" : "Community",
            "code" : "community"
          }
        ]
      }
    }
  ],
  "dosageInstruction" : [
    {
      "asNeededBoolean" : false,
      "timing" : {
        "repeat" : {
          "boundsPeriod" : {
            "start" : "2012-09-13",
            "end" : "2019-04-25"
          },
          "frequency" : 2,
          "period" : 1,
          "periodUnits" : "d"
        },
        "code" : {
          "text" : "twice daily"
        }
      },
      "doseQuantity" : {
        "value" : 1,
        "unit" : "application"
      },
      "route" : {
        "text" : "Topical",
        "coding" : [
          {
            "system" : "urn:oid:1.2.840.114350.1.13.76.2.7.4.698288.330",
            "display" : "Topical",
            "code" : "36"
          }
        ]
      },
      "extension" : [
        {
          "url" : "https://open.epic.com/fhir/extensions/ordered-dose",
          "valueQuantity" : {
            "value" : 1,
            "unit" : "application"
          }
        },
        {
          "url" : "https://open.epic.com/fhir/extensions/admin-amount",
          "valueQuantity" : {
            "value" : 1,
            "unit" : "application"
          }
        }
      ],
      "text" : "1 application to affected area(s) twice daily."
    }
  ],
  "dispenseRequest" : {
    "quantity" : {
      "code" : "mL",
      "value" : 60,
      "system" : "http://unitsofmeasure.org",
      "unit" : "mL"
    },
    "expectedSupplyDuration" : {
      "code" : "d",
      "value" : 999,
      "system" : "http://unitsofmeasure.org",
      "unit" : "days"
    },
    "validityPeriod" : {
      "start" : "2012-09-13",
      "end" : "2019-04-25"
    },
    "numberOfRepeatsAllowed" : 3
  },
  "prescriber" : {
    "display" : "Helen Marie Pillsbury, MD",
    "reference" : "https://apiservices.sutterhealth.org/ifs/api/FHIR/DSTU2/Practitioner/T.NViyMp73QhntAFnBe7pX9Aqye79BNFep4R44U9.DkkB"
  },
  "status" : "stopped",
  "patient" : {
    "display" : "Lopez, James",
    "reference" : "https://apiservices.sutterhealth.org/ifs/api/FHIR/DSTU2/Patient/Tbjbfj8w94HFwJ-ekeTNN.e1WrM6guoKJdhNrHG7dSfUB"
  }
}