Specialty Medication Enrollment
2.1.0 - CI Build United States of America flag

Specialty Medication Enrollment, published by HL7 International - Pharmacy. This is not an authorized publication; it is the continuous build for version 2.1.0). This version is based on the current content of https://github.com/HL7/fhir-specialty-rx/ and changes regularly. See the Directory of published versions

: Search Response 1 with _included Medication Resource - 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:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "specialty-rx-search-response-1-w-include"] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:timestamp [ fhir:v "2020-03-11T13:10:17-05:00"^^xsd:dateTime] ; # 
  fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "MedicationRequest?patient=specialty-rx-patient-1&intent=order&_include=MedicationRequest:medication"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/MyEHR/MedicationRequest/prescription-1"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/MyEHR/MedicationRequest/prescription-1> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/MyEHR/Medication/11111"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/MyEHR/Medication/11111> ) ;
fhir:search [
fhir:mode [ fhir:v "include" ]     ]
  ] ) . # 

<http://example.org/MyEHR/MedicationRequest/prescription-1> a fhir:MedicationRequest ;
  fhir:id [ fhir:v "prescription-1"] ; # 
  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=\"prescription-1\"> </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;prescription-1&quot; </p></div><p><b>status</b>: stopped</p><p><b>intent</b>: order</p><p><b>medication</b>: <a href=\"#Medication_11111\">See above (Medication/11111)</a></p><p><b>subject</b>: <a href=\"Patient-specialty-rx-patient-1.html\">Patient/specialty-rx-patient-1</a> &quot; DOE&quot;</p><p><b>authoredOn</b>: 2020-05-11</p><p><b>requester</b>: <a href=\"http://example.org/MyEHR/Practitioner/specialty-rx-practitioner-1\">http://example.org/MyEHR/Practitioner/specialty-rx-practitioner-1</a></p><blockquote><p><b>dispenseRequest</b></p><p><b>quantity</b>: 4 {each}</p><h3>ExpectedSupplyDurations</h3><table class=\"grid\"><tr><td>-</td><td><b>Value</b></td><td><b>Unit</b></td><td><b>System</b></td><td><b>Code</b></td></tr><tr><td>*</td><td>30</td><td>days</td><td><a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-ucum.html\">Unified Code for Units of Measure (UCUM)</a></td><td>d</td></tr></table><p><b>performer</b>: <a href=\"http://example.org/MyEHR/Organization/specialty-rx-organization-pharmacy-1\">http://example.org/MyEHR/Organization/specialty-rx-organization-pharmacy-1</a></p></blockquote><h3>Substitutions</h3><table class=\"grid\"><tr><td>-</td><td><b>Allowed[x]</b></td></tr><tr><td>*</td><td>false</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "stopped"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:medication [
a fhir:Reference ;
fhir:reference [ fhir:v "Medication/11111" ]
  ] ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/specialty-rx-patient-1" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2020-05-11"^^xsd:date] ; # 
  fhir:requester [
fhir:link <http://example.org/MyEHR/Practitioner/specialty-rx-practitioner-1> ;
fhir:reference [ fhir:v "http://example.org/MyEHR/Practitioner/specialty-rx-practitioner-1" ]
  ] ; # 
  fhir:dispenseRequest [
fhir:quantity [
fhir:value [ fhir:v "4"^^xsd:decimal ] ;
fhir:unit [ fhir:v "{each}" ]     ] ;
fhir:expectedSupplyDuration [
fhir:value [ fhir:v "30"^^xsd:decimal ] ;
fhir:unit [ fhir:v "days" ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "d" ]     ] ;
fhir:performer [
fhir:link <http://example.org/MyEHR/Organization/specialty-rx-organization-pharmacy-1> ;
fhir:reference [ fhir:v "http://example.org/MyEHR/Organization/specialty-rx-organization-pharmacy-1" ]     ]
  ] ; # 
  fhir:substitution [
fhir:allowed [ fhir:v "false"^^xsd:boolean ]
  ] . # 

<http://example.org/MyEHR/Medication/11111> a fhir:Medication ;
  fhir:id [ fhir:v "11111"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Medication</b><a name=\"11111\"> </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 Medication &quot;11111&quot; </p></div><p><b>code</b>: 1 ML Enbrel 50 MG/ML Prefilled Syringe <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-rxNorm.html\">RxNorm</a>#802652)</span></p></div>"
  ] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://www.nlm.nih.gov/research/umls/rxnorm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "802652" ] ;
fhir:display [ fhir:v "1 ML Enbrel 50 MG/ML Prefilled Syringe" ]     ] )
  ] . #