Da Vinci Health Record Exchange (HRex)
1.1.0-preview - STU R1 United States of America flag

Da Vinci Health Record Exchange (HRex), published by HL7 International / Clinical Interoperability Council. This guide is not an authorized publication; it is the continuous build for version 1.1.0-preview built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-ehrx/ and changes regularly. See the Directory of published versions

: HRex Task Subscription Notification - completed document example - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix loinc: <https://loinc.org/rdf/> .
@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 "subscription-notification-with-document"] ; # 
  fhir:type [ fhir:v "history"] ; # 
  fhir:timestamp [ fhir:v "2020-05-29T11:44:13.1882432-05:00"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:f830abeb-7ff3-4494-bfd6-0d9a88d3319c"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:f830abeb-7ff3-4494-bfd6-0d9a88d3319c> ) ;
fhir:request [
fhir:method [ fhir:v "GET" ] ;
fhir:url [ fhir:v "https://example.org/fhir/r4/Subscription/task/$status"^^xsd:anyURI ]     ] ;
fhir:response [
fhir:status [ fhir:v "200" ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/fhir/r4/Task/c94fb961-310c-41f1-a54f-fc5f2dba49ee"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/fhir/r4/Task/c94fb961-310c-41f1-a54f-fc5f2dba49ee> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "Task"^^xsd:anyURI ]     ] ;
fhir:response [
fhir:status [ fhir:v "200" ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://example.org/fhir/r4/DocumentReference/287Q73J237"^^xsd:anyURI ] ;
    ( fhir:resource <https://example.org/fhir/r4/DocumentReference/287Q73J237> ) ;
fhir:request [
fhir:method [ fhir:v "GET" ] ;
fhir:url [ fhir:v "DocumentReference"^^xsd:anyURI ]     ] ;
fhir:response [
fhir:status [ fhir:v "200" ]     ]
  ] ) . # 

<urn:uuid:f830abeb-7ff3-4494-bfd6-0d9a88d3319c> a fhir:Parameters ;
  fhir:id [ fhir:v "f830abeb-7ff3-4494-bfd6-0d9a88d3319c"] ; # 
  fhir:parameter ( [
fhir:name [ fhir:v "subscription-url" ] ;
fhir:value [ fhir:v "https://example.org/fhir/r4/Subscription/task"^^xsd:anyURI ]
  ] [
fhir:name [ fhir:v "status" ] ;
fhir:value [ fhir:v "active" ]
  ] [
fhir:name [ fhir:v "type" ] ;
fhir:value [ fhir:v "event-notification" ]
  ] [
fhir:name [ fhir:v "subscription-event-count" ] ;
fhir:value [ fhir:v "2"^^xsd:nonNegativeInteger ]
  ] [
fhir:name [ fhir:v "bundle-event-count" ] ;
fhir:value [ fhir:v "1"^^xsd:nonNegativeInteger ]
  ] [
fhir:name [ fhir:v "subscription-topic-url" ] ;
fhir:value [ fhir:v "http://hl7.org/SubscriptionTopic/task"^^xsd:anyURI ]
  ] ) . # 

<https://example.org/fhir/r4/Task/c94fb961-310c-41f1-a54f-fc5f2dba49ee> a fhir:Task ;
  fhir:id [ fhir:v "c94fb961-310c-41f1-a54f-fc5f2dba49ee"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"Task_c94fb961-310c-41f1-a54f-fc5f2dba49ee\"> </a><p><b>Generated Narrative: Task</b><a name=\"c94fb961-310c-41f1-a54f-fc5f2dba49ee\"> </a><a name=\"hcc94fb961-310c-41f1-a54f-fc5f2dba49ee\"> </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 Task &quot;c94fb961-310c-41f1-a54f-fc5f2dba49ee&quot; </p></div><p><b>status</b>: completed</p><p><b>intent</b>: order</p><p><b>code</b>: data request task <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-hrex-temp.html\">HRex Temporary Code System</a>#data-request)</span></p><p><b>for</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/ehr/fhir/Patient/pat1\">http://example.org/ehr/fhir/Patient/pat1</a></p><p><b>authoredOn</b>: 2020-07-30 20:07:15-0600</p><p><b>requester</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Organization/hl7pay\">http://example.org/new-payer/fhir/Organization/hl7pay</a></p><p><b>owner</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/provider/fhir/Organization/hl7prov\">http://example.org/provider/fhir/Organization/hl7prov</a></p><p><b>reasonCode</b>: Support prior authorization decision-making <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>reasonReference</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Claim/123\">http://example.org/new-payer/fhir/Claim/123</a></p><h3>Inputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>data code input <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-hrex-temp.html\">HRex Temporary Code System</a>#data-code)</span></td><td>OP Note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#34108-1)</span></td></tr></table><h3>Outputs</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td style=\"display: none\">*</td><td>data values output <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-hrex-temp.html\">HRex Temporary Code System</a>#data-value)</span></td><td><a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/ehr/fhir/DocumentReference/287Q73J237\">http://example.org/ehr/fhir/DocumentReference/287Q73J237</a></td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "data-request" ]     ] )
  ] ; # 
  fhir:for [
fhir:link <http://example.org/ehr/fhir/Patient/pat1> ;
fhir:reference [ fhir:v "http://example.org/ehr/fhir/Patient/pat1" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2020-07-30T20:07:15-06:00"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:link <http://example.org/new-payer/fhir/Organization/hl7pay> ;
fhir:reference [ fhir:v "http://example.org/new-payer/fhir/Organization/hl7pay" ]
  ] ; # 
  fhir:owner [
fhir:link <http://example.org/provider/fhir/Organization/hl7prov> ;
fhir:reference [ fhir:v "http://example.org/provider/fhir/Organization/hl7prov" ]
  ] ; # 
  fhir:reasonCode [
fhir:text [ fhir:v "Support prior authorization decision-making" ]
  ] ; # 
  fhir:reasonReference [
fhir:link <http://example.org/new-payer/fhir/Claim/123> ;
fhir:reference [ fhir:v "http://example.org/new-payer/fhir/Claim/123" ]
  ] ; # 
  fhir:input ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "data-code" ]       ] )     ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
a loinc:34108-1 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "34108-1" ]       ] )     ]
  ] ) ; # 
  fhir:output ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "data-value" ]       ] )     ] ;
fhir:value [
a fhir:Reference ;
fhir:link <http://example.org/ehr/fhir/DocumentReference/287Q73J237> ;
fhir:reference [ fhir:v "http://example.org/ehr/fhir/DocumentReference/287Q73J237" ]     ]
  ] ) . # 

<https://example.org/fhir/r4/DocumentReference/287Q73J237> a fhir:DocumentReference ;
  fhir:id [ fhir:v "287Q73J237"] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_287Q73J237\"> </a><p><b>Generated Narrative: DocumentReference</b><a name=\"287Q73J237\"> </a><a name=\"hc287Q73J237\"> </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 DocumentReference &quot;287Q73J237&quot; </p></div><p><b>status</b>: current</p><p><b>type</b>: History and physical note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#34117-2)</span></p><p><b>category</b>: Hospital Admission history and physical note <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://loinc.org/\">LOINC</a>#47039-3)</span></p><p><b>subject</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/ehr/fhir/Patient/pat1\">http://example.org/ehr/fhir/Patient/pat1</a></p><p><b>date</b>: Jul 1, 2013, 1:11:33 PM</p><p><b>author</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/ehr/fhir/Practitioner/pract1\">http://example.org/ehr/fhir/Practitioner/pract1</a></p><p><b>description</b>: Physical</p><blockquote><p><b>content</b></p><h3>Attachments</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>ContentType</b></td><td><b>Language</b></td><td><b>Url</b></td><td><b>Title</b></td><td><b>Creation</b></td></tr><tr><td style=\"display: none\">*</td><td>text/plain</td><td>en-US</td><td><a href=\"http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32\">http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32</a></td><td>Physical</td><td>2005-12-24</td></tr></table><p><b>format</b>: urn:ihe:pcc:apr:handp:2008 (Details: urn:oid:1.3.6.1.4.1.19376.1.2.3 code urn:ihe:pcc:apr:handp:2008 = 'urn:ihe:pcc:apr:handp:2008', stated as 'null')</p></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
    ( fhir:coding [
a loinc:34117-2 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "34117-2" ] ;
fhir:display [ fhir:v "History and physical note" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
a loinc:47039-3 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "47039-3" ] ;
fhir:display [ fhir:v "Hospital Admission history and physical note" ]     ] )
  ] ) ; # 
  fhir:subject [
fhir:link <http://example.org/ehr/fhir/Patient/pat1> ;
fhir:reference [ fhir:v "http://example.org/ehr/fhir/Patient/pat1" ]
  ] ; # 
  fhir:date [ fhir:v "2013-07-01T23:11:33+10:00"^^xsd:dateTime] ; # 
  fhir:author ( [
fhir:link <http://example.org/ehr/fhir/Practitioner/pract1> ;
fhir:reference [ fhir:v "http://example.org/ehr/fhir/Practitioner/pract1" ]
  ] ) ; # 
  fhir:description [ fhir:v "Physical"] ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "text/plain" ] ;
fhir:language [ fhir:v "en-US" ] ;
fhir:url [ fhir:v "http://localhost:9556/svc/fhir/Binary/1e404af3-077f-4bee-b7a6-a9be97e1ce32"^^xsd:anyURI ] ;
fhir:title [ fhir:v "Physical" ] ;
fhir:creation [ fhir:v "2005-12-24"^^xsd:date ]     ] ;
fhir:format [
fhir:system [ fhir:v "urn:oid:1.3.6.1.4.1.19376.1.2.3"^^xsd:anyURI ] ;
fhir:code [ fhir:v "urn:ihe:pcc:apr:handp:2008" ]     ]
  ] ) . #