<MedicationRequest xmlns="http://hl7.org/fhir">
  <id value="example-medicationrequest-ca-core" />
  <meta>
    <profile value="http://fhir.infoway-inforoute.ca/cacore/StructureDefinition/medicationrequest-ca-core" />
  </meta>
  <identifier>
    <system value="http://example.ca/NamingSystem/MedicationRequest" />
    <value value="MR123456" />
  </identifier>
  <status value="active" />
  <intent value="order" />
  <medicationReference>
    <reference value="Medication/example-medication-ca-core" />
  </medicationReference>
  <subject>
    <reference value="example-patient-ca-core-2" />
  </subject>
  <authoredOn value="2024-03-27T10:00:00-07:00" />
  <reasonCode>
    <coding>
      <system value="http://snomed.info/sct" />
      <code value="22298006" />
      <display value="Myocardial infarction (disorder)" />
    </coding>
    <text value="Secondary prevention of cardiovascular events" />
  </reasonCode>
  <dosageInstruction>
    <text value="Take 20mg once daily at bedtime" />
    <route>
      <coding>
        <system value="http://snomed.info/sct" />
        <code value="26643006" />
        <display value="Oral route (qualifier value)" />
      </coding>
    </route>
  </dosageInstruction>
</MedicationRequest>