{
  "resourceType": "MedicationStatement",
  "id": "chr-on-west-MedicationStatement-9003",
  "meta": {
    "source": "urn:telus:emr:chr:on-west:123",
    "lastUpdated": "2024-12-10T10:00:00Z",
    "security": [
      {
        "code": "N",
        "system": "http://terminology.hl7.org/CodeSystem/v3-Confidentiality",
        "display": "normal"
      }
    ],
    "profile": [
      "https://www.telus.com/health/fhir/dwemrextract/StructureDefinition/DwMedicationStatement"
    ]
  },
  "extension": [
    {
      "url": "http://prescribeit.ca/fhir/StructureDefinition/ext-rendered-dosage-instruction",
      "valueString": "Take 1 tablet by mouth twice daily with meals"
    }
  ],
  "text": {
    "status": "generated",
    "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">Active medication: Metformin 500 mg Tablet. Dosage: Take 1 tablet by mouth twice daily with meals. Ongoing treatment for type 2 diabetes.</div>"
  },
  "identifier": [
    {
      "system": "urn:telus:emr:chr:on-west:123:medicationstatement",
      "value": "9003"
    }
  ],
  "status": "active",
  "statusReason": [
    {
      "text": "Ongoing treatment for type 2 diabetes"
    }
  ],
  "effectivePeriod": {
    "start": "2024-10-01"
  },
  "dosage": [
    {
      "sequence": 1,
      "asNeededBoolean": false,
      "route": {
        "coding": [
          {
            "system": "http://snomed.info/sct",
            "code": "26643006",
            "display": "Oral route"
          }
        ],
        "text": "Oral"
      },
      "doseAndRate": [
        {
          "doseQuantity": {
            "value": 500,
            "unit": "mg"
          }
        }
      ]
    }
  ],
  "medicationReference": {
    "reference": "Medication/chr-on-west-Medication-9001"
  },
  "subject": {
    "reference": "Patient/chr-on-west-Patient-12345",
    "display": "Sarah Marie Johnson"
  }
}