{
  "id" : "29460261547",
  "effectiveDateTime" : "2022-01-21T15:02:50Z",
  "patient" : {
    "display" : "LOPEZ, JAMES JOEL",
    "reference" : "Patient/85632757"
  },
  "resourceType" : "MedicationStatement",
  "dateAsserted" : "2022-01-21T15:02:50Z",
  "contained" : [
    {
      "id" : "639000",
      "resourceType" : "RelatedPerson",
      "relationship" : {
        "_text" : {
          "extension" : [
            {
              "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
              "valueString" : "Patient"
            }
          ]
        },
        "text" : "Patient",
        "coding" : [
          {
            "code" : "ONESELF",
            "system" : "http://hl7.org/fhir/v3/RoleCode",
            "display" : "self",
            "userSelected" : false
          }
        ]
      },
      "patient" : {
        "display" : "LOPEZ, JAMES JOEL",
        "reference" : "Patient/85632757"
      }
    }
  ],
  "dosage" : [
    {
      "_text" : {
        "extension" : [
          {
            "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
            "valueString" : "1 tablet by mouth each night at bedtime for 30 Days. Refills: 3."
          }
        ]
      },
      "timing" : {
        "repeat" : {
          "boundsPeriod" : {
            "start" : "2021-08-23T17:25:00Z",
            "end" : "2022-05-16T12:44:50Z"
          },
          "when" : "HS"
        },
        "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" : "{tbl}",
        "value" : 1.0,
        "system" : "http://unitsofmeasure.org",
        "_unit" : {
          "extension" : [
            {
              "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
              "valueString" : "tablet"
            }
          ]
        },
        "unit" : "tablet"
      },
      "route" : {
        "_text" : {
          "extension" : [
            {
              "url" : "https://fhir-ehr.cerner.com/dstu2/StructureDefinition/patient-friendly-display",
              "valueString" : "by mouth"
            }
          ]
        },
        "text" : "ORAL",
        "coding" : [
          {
            "code" : "26643006",
            "system" : "http://snomed.info/sct",
            "display" : "Oral route (qualifier value)",
            "userSelected" : false
          }
        ]
      },
      "text" : "40 mg, 1 tablet, ORAL, qHS (each night at bedtime), for 30 day(s), 90 tablet, 3 Refill(s)"
    }
  ],
  "informationSource" : {
    "display" : "LOPEZ, JAMES JOEL",
    "reference" : "Patient/85632757"
  },
  "meta" : {
    "versionId" : "2-31077631583",
    "lastUpdated" : "2022-05-16T12:44:50Z"
  },
  "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 (atorvastatin 40 mg oral tablet)</p><p><b>Dosage Instructions</b>: 40 mg, 1 tablet, ORAL, qHS (each night at bedtime), for 30 day(s), 90 tablet, 3 Refill(s)</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" : "Community",
        "coding" : [
          {
            "system" : "http://hl7.org/fhir/medication-statement-category",
            "display" : "Community",
            "code" : "community"
          }
        ]
      }
    }
  ],
  "wasNotTaken" : false,
  "supportingInformation" : [
    {
      "reference" : "MedicationOrder/29460261547"
    }
  ],
  "status" : "completed",
  "medicationCodeableConcept" : {
    "text" : "atorvastatin (atorvastatin 40 mg oral tablet)",
    "coding" : [
      {
        "code" : "617311",
        "system" : "http://www.nlm.nih.gov/research/umls/rxnorm",
        "display" : "atorvastatin 40 MG Oral Tablet",
        "userSelected" : false
      }
    ]
  }
}