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 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><b>Generated Narrative: MedicationDispense</b><a name=\"1e2edf7a-89f2-4694-8412-49c99770aed6\"> </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 MedicationDispense &quot;1e2edf7a-89f2-4694-8412-49c99770aed6&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-omrsmedication-dispense.html\">OMRS Medication Dispense</a></p></div><p><b>status</b>: completed</p><p><b>medication</b>: <a href=\"Medication-f49e4247-528a-4cfd-8856-de161d03fa76.html\">Medication/f49e4247-528a-4cfd-8856-de161d03fa76</a></p><p><b>subject</b>: <a href=\"Patient-example-openmrs-Patient.html\">Patient/example-openmrs-Patient</a> &quot; JEANNETTE&quot;</p><p><b>context</b>: <a href=\"Encounter-5b829d01-34bb-47d1-b1bb-9303c3a9ebcb.html\">Encounter/5b829d01-34bb-47d1-b1bb-9303c3a9ebcb</a></p><h3>Performers</h3><table class=\"grid\"><tr><td>-</td><td><b>Actor</b></td></tr><tr><td>*</td><td><a href=\"Practitioner-7a9e2727-11ee-47ae-8af5-1dcf5337f7c2.html\">Practitioner/7a9e2727-11ee-47ae-8af5-1dcf5337f7c2</a> &quot; CAREFUL&quot;</td></tr></table><p><b>location</b>: <a href=\"Location-a3b793f0-eb53-4cda-92ce-fe0a77106252.html\">Location/a3b793f0-eb53-4cda-92ce-fe0a77106252</a> &quot;Outpatient Clinic&quot;</p><p><b>authorizingPrescription</b>: <a href=\"MedicationRequest-OMRSMedicationRequestExample.html\">MedicationRequest/OMRSMedicationRequestExample</a></p><p><b>type</b>: Refill - Part Fill <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ActCode.html\">ActCode</a>#RFP)</span></p><p><b>quantity</b>: 50(unit TAB from http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm)<span style=\"background: LightGoldenRodYellow\"> (Details: http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm code TAB = '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>-</td><td><b>Sequence</b></td><td><b>Text</b></td><td><b>Timing</b></td></tr><tr><td>*</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" ]       ]     ]
  ] ) . #