QI-Core Implementation Guide
6.0.0 - STU6 United States of America flag

QI-Core Implementation Guide, published by HL7 International / Clinical Quality Information. This guide is not an authorized publication; it is the continuous build for version 6.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/fhir-qi-core/ and changes regularly. See the Directory of published versions

: MedicationRequest 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 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 "example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-medicationrequest>     ] )
  ] ; # 
  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=\"example\"> </a><a name=\"hcexample\"> </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;example&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-medicationrequest.html\">QICore MedicationRequest</a></p></div><p><b>status</b>: active</p><p><b>intent</b>: order</p><p><b>medication</b>: <a href=\"Medication-example.html\">Medication/example</a></p><p><b>subject</b>: <a href=\"Patient-example.html\">Patient/example</a> &quot; CHALMERS&quot;</p><p><b>authoredOn</b>: 2015-03-25 19:32:52-0500</p><p><b>requester</b>: <a href=\"Practitioner-example.html\">Practitioner/example</a> &quot; CAREFUL&quot;</p><blockquote><p><b>dosageInstruction</b></p><p><b>timing</b>: 3 per 1 days</p><p><b>site</b>: Digestive tract route (qualifier value) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#447964005)</span></p><p><b>route</b>: oral administration of treatment <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#394899003)</span></p><blockquote><p><b>doseAndRate</b></p></blockquote></blockquote><h3>DispenseRequests</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Quantity</b></td></tr><tr><td style=\"display: none\">*</td><td>100 ml<span style=\"background: LightGoldenRodYellow\"> (Details: UCUM code ml = 'ml')</span></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "active"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:reference [ fhir:v "Medication/example" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2015-03-25T19:32:52-05:00"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:reference [ fhir:v "Practitioner/example" ]
  ] ; # 
  fhir:dosageInstruction ( [
fhir:timing [
fhir:repeat [
fhir:frequency [ fhir:v "3"^^xsd:positiveInteger ] ;
fhir:period [ fhir:v "1"^^xsd:decimal ] ;
fhir:periodUnit [ fhir:v "d" ]       ]     ] ; #  Extension was removed in R4, not clear where this should appear...\n    <extension url=\"http:\/\/hl7.org\/fhir\/StructureDefinition\/pharmacy-core-infuseOver\" >\n      <valueDuration>\n        <value value=\"1\" \/>\n        <unit value=\"min\" \/>\n        <system value=\"http:\/\/unitsofmeasure.org\" \/>\n        <code value=\"m\" \/>\n      <\/valueDuration>\n    <\/extension>\n		,  Extension was removed in R4, not clear where this should appear...\n    <extension url=\"http:\/\/hl7.org\/fhir\/StructureDefinition\/pharmacy-core-minDosePerPeriod\" >\n      <valueRatio>\n        <numerator>\n           <value value=\"15\" \/>\n           <unit value=\"ml\" \/>\n           <system value=\"http:\/\/unitsofmeasure.org\" \/>\n           <code value=\"ml\" \/>\n        <\/numerator>\n        <denominator>\n           <value value=\"1\" \/>\n           <unit value=\"day\" \/>\n           <system value=\"http:\/\/unitsofmeasure.org\" \/>\n           <code value=\"day\" \/>\n        <\/denominator>\n      <\/valueRatio>\n    <\/extension>\n		,  Extension was removed in R4, not clear where this should appear...\n    <extension url=\"http:\/\/hl7.org\/fhir\/StructureDefinition\/pharmacy-core-maxDeliveryVolume\" >\n      <valueQuantity>\n        <value value=\"15\" \/>\n        <unit value=\"ml\" \/>\n        <system value=\"http:\/\/unitsofmeasure.org\" \/>\n        <code value=\"ml\" \/>\n      <\/valueQuantity>\n    <\/extension>\n		
fhir:site [
      ( fhir:coding [
a sct:447964005 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "447964005" ]       ] )     ] ;
fhir:route [
      ( fhir:coding [
a sct:394899003 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "394899003" ] ;
fhir:display [ fhir:v "oral administration of treatment" ]       ] )     ] ;
    ( fhir:doseAndRate [
fhir:type [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/dose-rate-type"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ordered" ] ;
fhir:display [ fhir:v "Ordered" ]         ] )       ] ;
fhir:dose [
a fhir:Quantity ;
fhir:value [ fhir:v "5"^^xsd:decimal ] ;
fhir:unit [ fhir:v "ml" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ml" ]       ]     ] )
  ] ) ; # 
  fhir:dispenseRequest [
fhir:quantity [
fhir:value [ fhir:v "100"^^xsd:decimal ] ;
fhir:unit [ fhir:v "ml" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ml" ]     ]
  ] . #