{
  "id" : "29319758153",
  "patient" : {
    "display" : "LOPEZ, JAMES JOEL",
    "reference" : "Patient/85632757"
  },
  "resourceType" : "MedicationStatement",
  "dateAsserted" : "2021-08-11T02:27:58Z",
  "dosage" : [
    {
      "_text" : {
        "extension" : [
          {
            "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
            "valueString" : "80 Milligram by mouth or tube each night at bedtime for 14 Days. Refills: 0."
          }
        ]
      },
      "timing" : {
        "repeat" : {
          "when" : "HS",
          "boundsQuantity" : {
            "code" : "d",
            "value" : 14,
            "system" : "http://unitsofmeasure.org",
            "_unit" : {
              "extension" : [
                {
                  "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
                  "valueString" : "Days"
                }
              ]
            },
            "unit" : "day(s)"
          }
        },
        "code" : {
          "_text" : {
            "extension" : [
              {
                "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
                "valueString" : "each night at bedtime"
              }
            ]
          },
          "text" : "qHS (each night at bedtime)"
        }
      },
      "quantityQuantity" : {
        "code" : "mg",
        "value" : 80.0,
        "system" : "http://unitsofmeasure.org",
        "_unit" : {
          "extension" : [
            {
              "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
              "valueString" : "Milligram"
            }
          ]
        },
        "unit" : "mg"
      },
      "route" : {
        "_text" : {
          "extension" : [
            {
              "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
              "valueString" : "by mouth or tube"
            }
          ]
        },
        "text" : "ORAL/VIA TUBE"
      },
      "text" : "80 mg, 2 tablet, ORAL/VIA TUBE, qHS (each night at bedtime)"
    }
  ],
  "informationSource" : {
    "display" : "SINGH , SUNITA  MD",
    "reference" : "Practitioner/2438833"
  },
  "meta" : {
    "versionId" : "4",
    "lastUpdated" : "2021-08-12T17:12:24Z"
  },
  "text" : {
    "status" : "generated",
    "div" : "<div><p><b>Medication Statement</b></p><p><b>Patient Name</b>: LOPEZ, JAMES JOEL</p><p><b>Medication Name</b>: atorvastatin</p><p><b>Dosage Instructions</b>: 80 mg, 2 tablet, ORAL/VIA TUBE, qHS (each night at bedtime)</p><p><b>Status</b>: Completed</p><p><b>Taken</b>: Yes</p></div>"
  },
  "extension" : [
    {
      "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/medication-statement-category",
      "valueCodeableConcept" : {
        "text" : "Inpatient",
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/medication-statement-category",
            "display" : "Inpatient",
            "code" : "inpatient"
          }
        ]
      }
    }
  ],
  "wasNotTaken" : false,
  "effectivePeriod" : {
    "start" : "2021-08-11T03:00:00Z",
    "end" : "2021-08-12T17:12:24Z"
  },
  "supportingInformation" : [
    {
      "reference" : "MedicationOrder/29319758153"
    }
  ],
  "status" : "completed",
  "medicationCodeableConcept" : {
    "text" : "atorvastatin",
    "coding" : [
      {
        "code" : "83367",
        "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
        "display" : "atorvastatin",
        "userSelected" : false
      }
    ]
  }
}