OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0). See the Directory of published versions

: OpenMRS Medication Request Example - 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:MedicationRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "OMRSMedicationRequestExample"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.openmrs.org/core/StructureDefinition/omrs-medication-request"^^xsd:anyURI ;
fhir:link <http://fhir.openmrs.org/core/StructureDefinition/omrs-medication-request>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: MedicationRequest</b><a name=\"OMRSMedicationRequestExample\"> </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;OMRSMedicationRequestExample&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-omrs-medication-request.html\">OpenMRS Medication Request</a></p></div><p><b>identifier</b>: id: ?ngen-9?</p><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>priority</b>: urgent</p><p><b>medication</b>: Cetirizine <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (fhir.openmrs.org)</span></p><p><b>subject</b>: <a href=\"Patient-example-openmrs-Patient.html\">Patient/example-openmrs-Patient</a> &quot; JEANNETTE&quot;</p><p><b>encounter</b>: <a href=\"Encounter-5b829d01-34bb-47d1-b1bb-9303c3a9ebcb.html\">Encounter/5b829d01-34bb-47d1-b1bb-9303c3a9ebcb</a></p><p><b>authoredOn</b>: 2022-08-07</p><p><b>requester</b>: <a href=\"Practitioner-7a9e2727-11ee-47ae-8af5-1dcf5337f7c2.html\">Practitioner/7a9e2727-11ee-47ae-8af5-1dcf5337f7c2</a> &quot; CAREFUL&quot;</p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td>-</td><td><b>Sequence</b></td><td><b>Timing</b></td><td><b>Route</b></td></tr><tr><td>*</td><td>1</td><td>Code: 1/day x 7 days/week</td><td>UNKNOWN <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (fhir.openmrs.org)</span></td></tr></table><h3>DispenseRequests</h3><table class=\"grid\"><tr><td>-</td><td><b>NumberOfRepeatsAllowed</b></td><td><b>Quantity</b></td></tr><tr><td>*</td><td>0</td><td>10 tab (s)</td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
fhir:id [ fhir:v "c9582307-b812-4acc-b82b-77c4c24ba7bc" ]
  ] ) ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:priority [ fhir:v "urgent"] ; # 
  fhir:medication [
a fhir:CodeableConcept ;
fhir:id [ fhir:v "485df1f8-1813-42ae-ae81-f892f9562067" ] ;
    ( fhir:coding [
fhir:id [ fhir:v "7bb88c7a-9644-4d87-8a21-686126c8bb38" ] ;
fhir:system [ fhir:v "http://fhir.openmrs.org"^^xsd:anyURI ] ;
fhir:display [ fhir:v "Cetirizine" ]     ] )
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example-openmrs-Patient" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/5b829d01-34bb-47d1-b1bb-9303c3a9ebcb" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2022-08-07"^^xsd:date] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Practitioner/7a9e2727-11ee-47ae-8af5-1dcf5337f7c2" ]
  ] ; # 
  fhir:dosageInstruction ( [
fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
fhir:timing [
fhir:code [
        ( fhir:coding [
fhir:id [ fhir:v "05a3c873-a884-4edd-88de-25622f121d77" ] ;
fhir:system [ fhir:v "http://fhir.openmrs.org"^^xsd:anyURI ] ;
fhir:display [ fhir:v "1/day x 7 days/week" ]         ] ) ;
fhir:text [ fhir:v "1/day x 7 days/week" ]       ]     ] ;
fhir:route [
fhir:id [ fhir:v "91753a5c-f3c2-4179-9a1b-35c80df575ce" ] ;
      ( fhir:coding [
fhir:id [ fhir:v "41c75ba4-a423-4628-9d1d-0d306ab1f250" ] ;
fhir:system [ fhir:v "http://fhir.openmrs.org"^^xsd:anyURI ] ;
fhir:display [ fhir:v "UNKNOWN" ]       ] ) ;
fhir:text [ fhir:v "UNKNOWN" ]     ]
  ] ) ; # 
  fhir:dispenseRequest [
fhir:numberOfRepeatsAllowed [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:quantity [
fhir:value [ fhir:v "10"^^xsd:decimal ] ;
fhir:unit [ fhir:v "tab (s)" ]     ]
  ] . #