OpenMRS Core FHIR Implementation Guide
0.1.0 - ci-build

OpenMRS Core FHIR Implementation Guide - Local Development build (v0.1.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: OpenMRS Medication Dispense 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:MedicationDispense ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "1e2edf7a-89f2-4694-8412-49c99770aed6"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://fhir.openmrs.org/core/StructureDefinition/omrsmedication-dispense"^^xsd:anyURI ;
fhir:link <http://fhir.openmrs.org/core/StructureDefinition/omrsmedication-dispense>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: MedicationDispense 1e2edf7a-89f2-4694-8412-49c99770aed6</b></p><a name=\"1e2edf7a-89f2-4694-8412-49c99770aed6\"> </a><a name=\"hc1e2edf7a-89f2-4694-8412-49c99770aed6\"> </a><a name=\"1e2edf7a-89f2-4694-8412-49c99770aed6-en-US\"> </a><p><b>status</b>: Completed</p><p><b>medication</b>: <a href=\"Medication-f49e4247-528a-4cfd-8856-de161d03fa76.html\">Medication Vancomycin</a></p><p><b>subject</b>: <a href=\"Patient-example-openmrs-Patient.html\">Ricky Jeannette  Male, DoB: 1996-12-12 ( OpenMRS ID: 4343534 (use: official, ))</a></p><p><b>context</b>: <a href=\"Encounter-5b829d01-34bb-47d1-b1bb-9303c3a9ebcb.html\">Encounter: status = unknown; class = ambulatory (ActCode#AMB); type = Vitals; period = 2022-06-22 --&gt; 2022-06-22</a></p><h3>Performers</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Actor</b></td></tr><tr><td style=\"display: none\">*</td><td><a href=\"Practitioner-7a9e2727-11ee-47ae-8af5-1dcf5337f7c2.html\">Practitioner Adam Careful </a></td></tr></table><p><b>location</b>: <a href=\"Location-a3b793f0-eb53-4cda-92ce-fe0a77106252.html\">Location Outpatient Clinic</a></p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-OMRSMedicationRequestExample.html\">MedicationRequest: identifier = ?ngen-9?; status = active; intent = order; priority = urgent; medication[x] = Cetirizine; authoredOn = 2022-08-07</a></p><p><b>type</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActCode RFP}\">Refill - Part Fill</span></p><p><b>quantity</b>: 50(unit TAB from http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm)<span style=\"background: LightGoldenRodYellow\"> (Details: Orderable Drug Form  codeTAB = 'Tablet')</span></p><p><b>whenPrepared</b>: 2022-12-31</p><p><b>whenHandedOver</b>: 2022-12-31</p><h3>DosageInstructions</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Sequence</b></td><td><b>Text</b></td><td><b>Timing</b></td></tr><tr><td style=\"display: none\">*</td><td>1</td><td>Take 3 tablets (6mg) once daily</td><td>Once per 1 days</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:reference [ fhir:v "Medication/f49e4247-528a-4cfd-8856-de161d03fa76" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example-openmrs-Patient" ]
  ] ; # 
  fhir:context [
fhir:reference [ fhir:v "Encounter/5b829d01-34bb-47d1-b1bb-9303c3a9ebcb" ]
  ] ; # 
  fhir:performer ( [
fhir:actor [
fhir:reference [ fhir:v "Practitioner/7a9e2727-11ee-47ae-8af5-1dcf5337f7c2" ]     ]
  ] ) ; # 
  fhir:location [
fhir:reference [ fhir:v "Location/a3b793f0-eb53-4cda-92ce-fe0a77106252" ]
  ] ; # 
  fhir:authorizingPrescription ( [
fhir:reference [ fhir:v "MedicationRequest/OMRSMedicationRequestExample" ]
  ] ) ; # 
  fhir:type [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "RFP" ] ;
fhir:display [ fhir:v "Refill - Part Fill" ]     ] )
  ] ; # 
  fhir:quantity [
fhir:value [ fhir:v "50"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "TAB" ]
  ] ; # 
  fhir:whenPrepared [ fhir:v "2022-12-31"^^xsd:date] ; # 
  fhir:whenHandedOver [ fhir:v "2022-12-31"^^xsd:date] ; # 
  fhir:dosageInstruction ( [
fhir:sequence [ fhir:v "1"^^xsd:integer ] ;
fhir:text [ fhir:v "Take 3 tablets (6mg) once daily" ] ;
fhir:timing [
fhir:repeat [
fhir:frequency [ fhir:v "1"^^xsd:positiveInteger ] ;
fhir:period [ fhir:v "1"^^xsd:decimal ] ;
fhir:periodUnit [ fhir:v "d" ]       ]     ]
  ] ) . #