UCSDI5 Sandbox
0.0.0 - CI Build United States of America flag

UCSDI5 Sandbox - Local Development build (v0.0.0) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Docref Example 2 - 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 "docref-example-2"] ; # 
  fhir:meta [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Docref Example 2" ]     ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-description"^^xsd:anyURI ] ;
fhir:value [ fhir:v "This bundle is a the response to a $docref operation and contains an examples of *US Core DocumentReference*.  It is used in [Example 2: Request Procedure Notes and Discharge Summaries for 2019](StructureDefinition-us-core-documentreference.html#mandatory-operation)." ]     ] )
  ] ; # 
  fhir:type [ fhir:v "searchset"] ; # 
  fhir:total [ fhir:v "3"^^xsd:nonNegativeInteger] ; # 
  fhir:link ( [
fhir:relation [ fhir:v "self" ] ;
fhir:url [ fhir:v "http://example.org/DocumentReference/$docref?patient=123&start=2019-01-01&end=2019-01-01&type=http://terminology.hl7.org/CodeSystem/c80-doc-typecodes|18842-5,http://terminology.hl7.org/CodeSystem/c80-doc-typecodes|28570-0&ondemand=true"^^xsd:anyURI ]
  ] ) ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "http://example.org/DocumentReference/procedure-note123"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/DocumentReference/procedure-note123> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/DocumentReference/procedure-note456"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/DocumentReference/procedure-note456> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] [
fhir:fullUrl [ fhir:v "http://example.org/DocumentReference/discharge"^^xsd:anyURI ] ;
    ( fhir:resource <http://example.org/DocumentReference/discharge> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]     ]
  ] ) . # 

<http://example.org/DocumentReference/procedure-note123> a fhir:DocumentReference ;
  fhir:id [ fhir:v "procedure-note123"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_procedure-note123\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference procedure-note123</b></p><a name=\"procedure-note123\"> </a><a name=\"hcprocedure-note123\"> </a><a name=\"procedure-note123-en-US\"> </a><p><b>identifier</b>: <code>urn:ietf:rfc:3986</code>/urn:oid:2.16.840.1.113883.19.5.99999.1</p><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 28570-0}\">Procedure Note</span></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}\">Clinical Note</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy Shaw</a></p><p><b>date</b>: 2022-11-18 20:45:05+0000</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://hl7.org/fhir/us/core/Practitioner/practitioner-1\">Ronald Bone, MD</a></p><p><b>description</b>: Ureteroscopy</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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://hl7.org/fhir/us/core//Binary/procedure-note123.pdf\">/Binary/procedure-note123.pdf</a></td></tr></table></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>2019-03-01 --&gt; 2019-03-02</td></tr></table></div>"
  ] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:2.16.840.1.113883.19.5.99999.1" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
    ( fhir:coding [
a loinc:28570-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "28570-0" ] ;
fhir:display [ fhir:v "Procedure Note" ]     ] ) ;
fhir:text [ fhir:v "Procedure Note" ]
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "clinical-note" ] ;
fhir:display [ fhir:v "Clinical Note" ]     ] ) ;
fhir:text [ fhir:v "Clinical Note" ]
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Amy Shaw" ]
  ] ; # 
  fhir:date [ fhir:v "2022-11-18T20:45:05Z"^^xsd:dateTime] ; # 
  fhir:author ( [
fhir:reference [ fhir:v "Practitioner/practitioner-1" ] ;
fhir:display [ fhir:v "Ronald Bone, MD" ]
  ] ) ; # 
  fhir:description [ fhir:v "Ureteroscopy"] ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "application/pdf" ] ;
fhir:url [ fhir:v "/Binary/procedure-note123.pdf"^^xsd:anyURI ]     ]
  ] ) ; # 
  fhir:context [
fhir:period [
fhir:start [ fhir:v "2019-03-01"^^xsd:date ] ;
fhir:end [ fhir:v "2019-03-02"^^xsd:date ]     ]
  ] . # 

<http://example.org/DocumentReference/procedure-note456> a fhir:DocumentReference ;
  fhir:id [ fhir:v "procedure-note456"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_procedure-note456\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference procedure-note456</b></p><a name=\"procedure-note456\"> </a><a name=\"hcprocedure-note456\"> </a><a name=\"procedure-note456-en-US\"> </a><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 28570-0}\">Procedure Note</span></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}\">Clinical Note</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy Shaw</a></p><p><b>date</b>: 2022-11-18 20:45:05+0000</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://hl7.org/fhir/us/core/Practitioner/practitioner-1\">Ronald Bone, MD</a></p><p><b>description</b>: Ureteroscopy</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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://hl7.org/fhir/us/core//Binary/procedure-note456.pdf\">/Binary/procedure-note456.pdf</a></td></tr></table></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>2019-06-01 --&gt; 2019-06-01</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
    ( fhir:coding [
a loinc:28570-0 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "28570-0" ] ;
fhir:display [ fhir:v "Procedure Note" ]     ] ) ;
fhir:text [ fhir:v "Procedure Note" ]
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "clinical-note" ] ;
fhir:display [ fhir:v "Clinical Note" ]     ] ) ;
fhir:text [ fhir:v "Clinical Note" ]
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Amy Shaw" ]
  ] ; # 
  fhir:date [ fhir:v "2022-11-18T20:45:05Z"^^xsd:dateTime] ; # 
  fhir:author ( [
fhir:reference [ fhir:v "Practitioner/practitioner-1" ] ;
fhir:display [ fhir:v "Ronald Bone, MD" ]
  ] ) ; # 
  fhir:description [ fhir:v "Ureteroscopy"] ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "application/pdf" ] ;
fhir:url [ fhir:v "/Binary/procedure-note456.pdf"^^xsd:anyURI ]     ]
  ] ) ; # 
  fhir:context [
fhir:period [
fhir:start [ fhir:v "2019-06-01"^^xsd:date ] ;
fhir:end [ fhir:v "2019-06-01"^^xsd:date ]     ]
  ] . # 

<http://example.org/DocumentReference/discharge> a fhir:DocumentReference ;
  fhir:id [ fhir:v "discharge"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-documentreference>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><a name=\"DocumentReference_discharge\"> </a><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference discharge</b></p><a name=\"discharge\"> </a><a name=\"hcdischarge\"> </a><a name=\"discharge-en-US\"> </a><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 18842-5}\">Discharge Summary</span></p><p><b>category</b>: <span title=\"Codes:{http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category clinical-note}\">Clinical Note</span></p><p><b>subject</b>: <a href=\"Patient-example.html\">Amy Shaw</a></p><p><b>date</b>: 2022-11-18 20:45:05+0000</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://hl7.org/fhir/us/core/Practitioner/practitioner-1\">Ronald Bone, MD</a></p><p><b>description</b>: Ureteroscopy</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>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>application/pdf</td><td><a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://hl7.org/fhir/us/core//Binary/discharge-summary789.pdf\">/Binary/discharge-summary789.pdf</a></td></tr></table></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>2019-03-01 --&gt; 2019-03-03</td></tr></table></div>"
  ] ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
    ( fhir:coding [
a loinc:18842-5 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "18842-5" ] ;
fhir:display [ fhir:v "Discharge Summary" ]     ] ) ;
fhir:text [ fhir:v "Discharge Summary" ]
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/core/CodeSystem/us-core-documentreference-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "clinical-note" ] ;
fhir:display [ fhir:v "Clinical Note" ]     ] ) ;
fhir:text [ fhir:v "Clinical Note" ]
  ] ) ; # 
  fhir:subject [
fhir:reference [ fhir:v "Patient/example" ] ;
fhir:display [ fhir:v "Amy Shaw" ]
  ] ; # 
  fhir:date [ fhir:v "2022-11-18T20:45:05Z"^^xsd:dateTime] ; # 
  fhir:author ( [
fhir:reference [ fhir:v "Practitioner/practitioner-1" ] ;
fhir:display [ fhir:v "Ronald Bone, MD" ]
  ] ) ; # 
  fhir:description [ fhir:v "Ureteroscopy"] ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "application/pdf" ] ;
fhir:url [ fhir:v "/Binary/discharge-summary789.pdf"^^xsd:anyURI ]     ]
  ] ) ; # 
  fhir:context [
fhir:period [
fhir:start [ fhir:v "2019-03-01"^^xsd:date ] ;
fhir:end [ fhir:v "2019-03-03"^^xsd:date ]     ]
  ] . #