MediRecords FHIR Implementation Guide
20221128 - ci-build


: MediRecords Prescription Example with medication dosage instruction - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

 a fhir:MedicationRequest;
  fhir:nodeRole fhir:treeRoot;
  fhir:Resource.id [ fhir:value "9bf648c6-20b9-11ec-9621-0242mr130001"];
  fhir:Resource.meta [
     fhir:Meta.lastUpdated [ fhir:value "2021-12-21T01:43:30Z"^^xsd:dateTime ];
     fhir:Meta.profile [
       fhir:value "https://fhir.medirecords.com/StructureDefinition/mr-medication-request";
       fhir:index 0;
       fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-medication-request>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "extensions" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationRequest</b><a name=\"9bf648c6-20b9-11ec-9621-0242mr130001\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource MedicationRequest \"9bf648c6-20b9-11ec-9621-0242mr130001\" Updated \"2021-12-21 01:43:30+0000\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-mr-medication-request.html\">MediRecords MedicationRequest</a></p></div><p><b>Prescription Type Extension</b>: Manual (Details: https://fhir.medirecords.com/CodeSystem/mr-prescription-type code 1 = 'Manual', stated as 'Manual')</p><p><b>identifier</b>: Local Prescription Number: 4010</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>priority</b>: routine</p><p><b>medication</b>: <a name=\"1\"> </a></p><blockquote><p></p><p><a name=\"1\"> </a></p><p><b>Medication Strength</b>: 250mg</p><p><b>Medication Generic Drug Name</b>: Clarithromycin</p><p><b>Medication Brand Name</b>: Klacid</p><p><b>MediRecords Medication Pack Size</b>: 1x100</p><p><b>Extemporaneous compounded medicines indicator extension</b>: false</p><p><b>code</b>: Klacid Tablet 250mg <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-WC.html\">WHO ATC</a>#J01FA09 \"clarithromycin\"; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#13738011000036100 \"Klacid 250 mg tablet, 100\")</span></p><p><b>form</b>: Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote><p><b>subject</b>: <a href=\"Patient-1e5cae20-85bf-11e8-b401-ffccd711ad9c.html\">Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c</a> \" GREY\"</p><p><b>encounter</b>: <a href=\"Encounter-1e5cae20-85bf-11e8-b401-ffccd711ad9g.html\">Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g</a></p><p><b>authoredOn</b>: 2021-12-21 01:43:30+0000</p><p><b>requester</b>: <a href=\"Practitioner-6d6d7ce8-65c2-11e6-a20e-7b5deed40054.html\">Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054</a> \" SMITH\"</p><p><b>reasonCode</b>: Idiopathic hypersomnia <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#3731000119107)</span></p><p><b>courseOfTherapyType</b>: continuous <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ([not stated]#continuous)</span></p><blockquote><p><b>dosageInstruction</b></p><p><b>text</b>: 2 Twice a Day\nBefore meals\nOn alternate days</p><p><b>additionalInstruction</b>: Before meals <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#311501008 \"Half to one hour before food\")</span></p><p><b>timing</b>: Starting 2021-12-21, Do 2 per 1 days, Until 2022-02-09</p><p><b>asNeeded</b>: false</p><p><b>route</b>: Epidural route <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#404820008)</span></p></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td>-</td><td><b>ValidityPeriod</b></td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td>*</td><td>2021-12-21 --&gt; (ongoing)</td><td>0</td><td>100</td></tr></table><h3>Substitutions</h3><table class=\"grid\"><tr><td>-</td><td><b>Allowed[x]</b></td></tr><tr><td>*</td><td>true</td></tr></table></div>"
  ];
  fhir:DomainResource.contained [
     a fhir:Medication;
     fhir:index 0;
     fhir:Resource.id [ fhir:value "1" ];
     fhir:Resource.meta [
       fhir:Meta.profile [
         fhir:value "https://fhir.medirecords.com/StructureDefinition/mr-medication";
         fhir:index 0;
         fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-medication>       ]     ];
     fhir:DomainResource.extension [
       fhir:index 0;
       fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-strength" ];
       fhir:Extension.valueString [ fhir:value "250mg" ]     ], [
       fhir:index 1;
       fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name" ];
       fhir:Extension.valueString [ fhir:value "Clarithromycin" ]     ], [
       fhir:index 2;
       fhir:Extension.url [ fhir:value "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name" ];
       fhir:Extension.valueString [ fhir:value "Klacid" ]     ], [
       fhir:index 3;
       fhir:Extension.url [ fhir:value "https://fhir.medirecords.com/StructureDefinition/mr-medication-pack-size" ];
       fhir:Extension.valueString [ fhir:value "1x100" ]     ], [
       fhir:index 4;
       fhir:Extension.url [ fhir:value "https://fhir.medirecords.com/StructureDefinition/mr-medication-extemporaneous" ];
       fhir:Extension.valueBoolean [ fhir:value "false"^^xsd:boolean ]     ];
     fhir:Medication.code [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://www.whocc.no/atc" ];
         fhir:Coding.code [ fhir:value "J01FA09" ];
         fhir:Coding.display [ fhir:value "clarithromycin" ]       ], [
         fhir:index 1;
         a sct:13738011000036100;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "13738011000036100" ];
         fhir:Coding.display [ fhir:value "Klacid 250 mg tablet, 100" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Klacid Tablet 250mg" ]     ];
     fhir:Medication.form [
       fhir:CodeableConcept.text [ fhir:value "Tablet" ]     ]
  ];
  fhir:DomainResource.extension [
     fhir:index 0;
     fhir:Extension.url [ fhir:value "https://fhir.medirecords.com/StructureDefinition/mr-prescription-type" ];
     fhir:Extension.valueCoding [
       fhir:Coding.system [ fhir:value "https://fhir.medirecords.com/CodeSystem/mr-prescription-type" ];
       fhir:Coding.code [ fhir:value "1" ];
       fhir:Coding.display [ fhir:value "Manual" ]     ]
  ];
  fhir:MedicationRequest.identifier [
     fhir:index 0;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org.au/CodeSystem/v2-0203" ];
         fhir:Coding.code [ fhir:value "LPN" ]       ]     ];
     fhir:Identifier.system [ fhir:value "urn:uuid:c388353b-cf5e-4269-8c25-928f430fd01c" ];
     fhir:Identifier.value [ fhir:value "4010" ];
     fhir:Identifier.assigner [
       fhir:Reference.display [ fhir:value "FHIR tenant" ]     ]
  ];
  fhir:MedicationRequest.status [ fhir:value "active"];
  fhir:MedicationRequest.intent [ fhir:value "order"];
  fhir:MedicationRequest.priority [ fhir:value "routine"];
  fhir:MedicationRequest.medicationReference [
     fhir:Reference.reference [ fhir:value "#1" ]
  ];
  fhir:MedicationRequest.subject [
     fhir:Reference.reference [ fhir:value "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ];
  fhir:MedicationRequest.encounter [
     fhir:Reference.reference [ fhir:value "Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g" ]
  ];
  fhir:MedicationRequest.authoredOn [ fhir:value "2021-12-21T01:43:30Z"^^xsd:dateTime];
  fhir:MedicationRequest.requester [
     fhir:Reference.reference [ fhir:value "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ];
  fhir:MedicationRequest.reasonCode [
     fhir:index 0;
     fhir:CodeableConcept.coding [
       fhir:index 0;
       a sct:3731000119107;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
       fhir:Coding.code [ fhir:value "3731000119107" ];
       fhir:Coding.display [ fhir:value "Idiopathic hypersomnia" ]     ]
  ];
  fhir:MedicationRequest.courseOfTherapyType [
     fhir:CodeableConcept.coding [
       fhir:index 0;
       fhir:Coding.code [ fhir:value "continuous" ]     ]
  ];
  fhir:MedicationRequest.dosageInstruction [
     fhir:index 0;
     fhir:Dosage.text [ fhir:value "2 Twice a Day\nBefore meals\nOn alternate days" ];
     fhir:Dosage.additionalInstruction [
       fhir:index 0;
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:311501008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "311501008" ];
         fhir:Coding.display [ fhir:value "Half to one hour before food" ]       ];
       fhir:CodeableConcept.text [ fhir:value "Before meals" ]     ];
     fhir:Dosage.timing [
       fhir:Timing.repeat [
         fhir:Timing.repeat.boundsPeriod [
           fhir:Period.start [ fhir:value "2021-12-21"^^xsd:date ];
           fhir:Period.end [ fhir:value "2022-02-09"^^xsd:date ]         ];
         fhir:Timing.repeat.frequency [ fhir:value "2"^^xsd:positiveInteger ];
         fhir:Timing.repeat.period [ fhir:value "1"^^xsd:decimal ];
         fhir:Timing.repeat.periodUnit [ fhir:value "d" ]       ]     ];
     fhir:Dosage.asNeededBoolean [ fhir:value "false"^^xsd:boolean ];
     fhir:Dosage.route [
       fhir:CodeableConcept.coding [
         fhir:index 0;
         a sct:404820008;
         fhir:Coding.system [ fhir:value "http://snomed.info/sct" ];
         fhir:Coding.code [ fhir:value "404820008" ];
         fhir:Coding.display [ fhir:value "Epidural route" ]       ]     ];
     fhir:Dosage.doseAndRate [
       fhir:index 0;
       fhir:Dosage.doseAndRate.doseQuantity [
         fhir:Quantity.value [ fhir:value "2"^^xsd:decimal ]       ]     ]
  ];
  fhir:MedicationRequest.dispenseRequest [
     fhir:MedicationRequest.dispenseRequest.validityPeriod [
       fhir:Period.start [ fhir:value "2021-12-21"^^xsd:date ]     ];
     fhir:MedicationRequest.dispenseRequest.numberOfRepeatsAllowed [ fhir:value "0"^^xsd:nonNegativeInteger ];
     fhir:MedicationRequest.dispenseRequest.quantity [
       fhir:Quantity.value [ fhir:value "100"^^xsd:decimal ]     ]
  ];
  fhir:MedicationRequest.substitution [
     fhir:MedicationRequest.substitution.allowedBoolean [ fhir:value "true"^^xsd:boolean ]
  ].

# - ontology header ------------------------------------------------------------

 a owl:Ontology;
  owl:imports fhir:fhir.ttl.