MediRecords FHIR Implementation Guide
1.3.0 - release


: 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:id [ fhir:v "9bf648c6-20b9-11ec-9621-0242mr130001"] ; # 
  fhir:meta [
fhir:lastUpdated [ fhir:v "2021-12-21T01:43:30Z"^^xsd:dateTime ] ;
    ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-medication-request"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-medication-request>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "extensions" ] ;
fhir: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 &quot;9bf648c6-20b9-11ec-9621-0242mr130001&quot; Updated &quot;2021-12-21 01:43:30+0000&quot; </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><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.3.0/CodeSystem-v3-WC.html\">WHO ATC</a>#J01FA09 &quot;clarithromycin&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#13738011000036100 &quot;Klacid 250 mg tablet, 100&quot;)</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> &quot; GREY&quot;</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> &quot; SMITH&quot;</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 &quot;Half to one hour before food&quot;)</span></p><p><b>timing</b>: Starting 2021-12-21, 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><p><b>doseAndRate</b></p></blockquote></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><hr/><blockquote><p><b>Generated Narrative: Medication #1</b><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.3.0/CodeSystem-v3-WC.html\">WHO ATC</a>#J01FA09 &quot;clarithromycin&quot;; <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#13738011000036100 &quot;Klacid 250 mg tablet, 100&quot;)</span></p><p><b>form</b>: Tablet <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p></blockquote></div>"
  ] ; # 
  fhir:contained ( [
a fhir:Medication ;
fhir:id [ fhir:v "1" ] ;
fhir:meta [
      ( fhir:profile [
fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-medication"^^xsd:anyURI ;
fhir:link <https://fhir.medirecords.com/StructureDefinition/mr-medication>       ] )     ] ;
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-strength"^^xsd:anyURI ] ;
fhir:value [ fhir:v "250mg" ]     ] [
fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-generic-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Clarithromycin" ]     ] [
fhir:url [ fhir:v "http://hl7.org.au/fhir/StructureDefinition/medication-brand-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Klacid" ]     ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-medication-pack-size"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1x100" ]     ] [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-medication-extemporaneous"^^xsd:anyURI ] ;
fhir:value [ fhir:v "false"^^xsd:boolean ]     ] ) ;
fhir:code [
      ( fhir:coding [
fhir:system [ fhir:v "http://www.whocc.no/atc"^^xsd:anyURI ] ;
fhir:code [ fhir:v "J01FA09" ] ;
fhir:display [ fhir:v "clarithromycin" ]       ] [
a sct:13738011000036100 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "13738011000036100" ] ;
fhir:display [ fhir:v "Klacid 250 mg tablet, 100" ]       ] ) ;
fhir:text [ fhir:v "Klacid Tablet 250mg" ]     ] ;
fhir:form [
fhir:text [ fhir:v "Tablet" ]     ]
  ] ) ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://fhir.medirecords.com/StructureDefinition/mr-prescription-type"^^xsd:anyURI ] ;
fhir:value [
a fhir:Coding ;
fhir:system [ fhir:v "https://fhir.medirecords.com/CodeSystem/mr-prescription-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1" ] ;
fhir:display [ fhir:v "Manual" ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org.au/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "LPN" ]       ] )     ] ;
fhir:system [ fhir:v "urn:uuid:c388353b-cf5e-4269-8c25-928f430fd01c"^^xsd:anyURI ] ;
fhir:value [ fhir:v "4010" ] ;
fhir:assigner [
fhir:display [ fhir:v "FHIR tenant" ]     ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:priority [ fhir:v "routine"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:reference [ fhir:v "#1" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/1e5cae20-85bf-11e8-b401-ffccd711ad9c" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/1e5cae20-85bf-11e8-b401-ffccd711ad9g" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2021-12-21T01:43:30Z"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Practitioner/6d6d7ce8-65c2-11e6-a20e-7b5deed40054" ]
  ] ; # 
  fhir:reasonCode ( [
    ( fhir:coding [
a sct:3731000119107 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "3731000119107" ] ;
fhir:display [ fhir:v "Idiopathic hypersomnia" ]     ] )
  ] ) ; # 
  fhir:courseOfTherapyType [
    ( fhir:coding [
fhir:code [ fhir:v "continuous" ]     ] )
  ] ; # 
  fhir:dosageInstruction ( [
fhir:text [ fhir:v "2 Twice a Day\nBefore meals\nOn alternate days" ] ;
    ( fhir:additionalInstruction [
      ( fhir:coding [
a sct:311501008 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "311501008" ] ;
fhir:display [ fhir:v "Half to one hour before food" ]       ] ) ;
fhir:text [ fhir:v "Before meals" ]     ] ) ;
fhir:timing [
fhir:repeat [
fhir:bounds [
a fhir:Period ;
fhir:start [ fhir:v "2021-12-21"^^xsd:date ] ;
fhir:end [ fhir:v "2022-02-09"^^xsd:date ]         ] ;
fhir:frequency [ fhir:v "2"^^xsd:positiveInteger ] ;
fhir:period [ fhir:v "1"^^xsd:decimal ] ;
fhir:periodUnit [ fhir:v "d" ]       ]     ] ;
fhir:asNeeded [ fhir:v "false"^^xsd:boolean ] ;
fhir:route [
      ( fhir:coding [
a sct:404820008 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "404820008" ] ;
fhir:display [ fhir:v "Epidural route" ]       ] )     ] ;
    ( fhir:doseAndRate [
fhir:dose [
a fhir:Quantity ;
fhir:value [ fhir:v "2"^^xsd:decimal ]       ]     ] )
  ] ) ; # 
  fhir:dispenseRequest [
fhir:validityPeriod [
fhir:start [ fhir:v "2021-12-21"^^xsd:date ]     ] ;
fhir:numberOfRepeatsAllowed [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:quantity [
fhir:value [ fhir:v "100"^^xsd:decimal ]     ]
  ] ; # 
  fhir:substitution [
fhir:allowed [ fhir:v "true"^^xsd:boolean ]
  ] . #