Non-patient File Sharing (NPFS)
2.2.0 - Trial-Implementation International flag

This page is part of the Non-patient File Sharing (NPFS) (v2.2.0: Publication) based on FHIR R4. This is the current published version. For a full list of available versions, see the Directory of published versions

: Create Document Bundle - 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 "ex-CreateDocumentBundle"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.CreateDocumentBundle"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.CreateDocumentBundle>     ] )
  ] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "urn:uuid:cccccccc-4444-0000-0000-000000000001"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:cccccccc-4444-0000-0000-000000000001> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "DocumentReference"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "urn:uuid:cccccccc-4444-0000-0000-000000000002"^^xsd:anyURI ] ;
    ( fhir:resource <urn:uuid:cccccccc-4444-0000-0000-000000000002> ) ;
fhir:request [
fhir:method [ fhir:v "POST" ] ;
fhir:url [ fhir:v "Binary"^^xsd:anyURI ]     ]
  ] ) . # 

<urn:uuid:cccccccc-4444-0000-0000-000000000001> a fhir:DocumentReference ;
  fhir:id [ fhir:v "cccccccc-4444-0000-0000-000000000001"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.DocumentReference"^^xsd:anyURI ;
fhir:link <https://profiles.ihe.net/ITI/NPFS/StructureDefinition/IHE.NPFS.DocumentReference>     ] ) ;
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: DocumentReference</b><a name=\"cccccccc-4444-0000-0000-000000000001\"> </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;cccccccc-4444-0000-0000-000000000001&quot; </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-IHE.NPFS.DocumentReference.html\">NPFS DocumentReference</a></p><p style=\"margin-bottom: 0px\">Security Labels: <span title=\"{http://terminology.hl7.org/CodeSystem/v3-ActReason http://terminology.hl7.org/CodeSystem/v3-ActReason}\">http://terminology.hl7.org/CodeSystem/v3-ActReason</span></p></div><p><b>masterIdentifier</b>: id: &lt;a href=&quot;http://terminology.hl7.org/5.0.0/NamingSystem-uri.html&quot;&gt;URI&lt;/a&gt;#urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012</p><p><b>identifier</b>: id: &lt;a href=&quot;http://terminology.hl7.org/5.0.0/NamingSystem-uri.html&quot;&gt;URI&lt;/a&gt;#urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb21 (use: OFFICIAL)</p><p><b>status</b>: current</p><p><b>type</b>: eReferral workflow <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (unknown#1.3.6.1.4.1.19376.1.5.3.1.5.1)</span></p><p><b>category</b>: Code for Workflow Definitions <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-NPFSclasscode.html\">NPFS classcode</a>#WORKFLOW_DEFINITION)</span></p><p><b>date</b>: Apr 4, 2023, 11:00:00 AM</p><p><b>author</b>: <a href=\"Patient-ex-patient.html\">Patient/ex-patient</a> &quot; SCHMIDT&quot;</p><p><b>authenticator</b>: <a href=\"Practitioner-ex-practitioner.html\">Practitioner/ex-practitioner</a></p><h3>RelatesTos</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Code</b></td><td><b>Target</b></td></tr><tr><td style=\"display: none\">*</td><td>appends</td><td><a href=\"DocumentReference-ex-DocumentReferenceMinimal.html\">DocumentReference/ex-DocumentReferenceMinimal</a></td></tr></table><p><b>description</b>: Example of a Comprehensive DocumentReference resource. This is minimally filled for all mandatory elements.</p><p><b>securityLabel</b>: low <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.0.0/CodeSystem-v3-Confidentiality.html\">Confidentiality</a>#L)</span></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>Size</b></td><td><b>Hash</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://example.com/nowhere.txt\">http://example.com/nowhere.txt</a></td><td>0</td><td>(base64 data - 40 bytes)</td><td>DocumentReference for Comprehensive minimally filled metadata</td><td>2023-04-04 11:00:00-0500</td></tr></table><p><b>format</b>: PDF (Details: urn:oid:2.16.840.1.113883.2.9.3.3.6.1.6 code PDF = 'PDF', stated as 'null')</p></blockquote><h3>Contexts</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Event</b></td><td><b>Period</b></td></tr><tr><td style=\"display: none\">*</td><td>account receivable <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.3.0/CodeSystem-v3-ActCode.html\">ActCode</a>#ACCTRECEIVABLE)</span></td><td>2020-12-31 23:50:50-0500 --&gt; 2020-12-31 23:50:50-0500</td></tr></table></div>"
  ] ; # 
  fhir:masterIdentifier [
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:oid:1.2.840.113556.1.8000.2554.53432.348.12973.17740.34205.4355.50220.62012" ]
  ] ; # 
  fhir:identifier ( [
fhir:use [ fhir:v "official" ] ;
fhir:system [ fhir:v "urn:ietf:rfc:3986"^^xsd:anyURI ] ;
fhir:value [ fhir:v "urn:uuid:0c287d32-01e3-4d87-9953-9fcc9404eb21" ]
  ] ) ; # 
  fhir:status [ fhir:v "current"] ; # 
  fhir:type [
    ( fhir:coding [
fhir:system [ fhir:v "urn:oid:1.3.6.1.4.1.19376.1.5.3.1.5"^^xsd:anyURI ] ;
fhir:code [ fhir:v "1.3.6.1.4.1.19376.1.5.3.1.5.1" ] ;
fhir:display [ fhir:v "eReferral workflow" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
fhir:system [ fhir:v "https://profiles.ihe.net/ITI/NPFS/CodeSystem/NPFSclasscode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "WORKFLOW_DEFINITION" ]     ] )
  ] ) ; # 
  fhir:date [ fhir:v "2023-04-04T11:00:00-05:00"^^xsd:dateTime] ; # 
  fhir:author ( [
fhir:reference [ fhir:v "Patient/ex-patient" ]
  ] ) ; # 
  fhir:authenticator [
fhir:reference [ fhir:v "Practitioner/ex-practitioner" ]
  ] ; # 
  fhir:relatesTo ( [
fhir:code [ fhir:v "appends" ] ;
fhir:target [
fhir:reference [ fhir:v "DocumentReference/ex-DocumentReferenceMinimal" ]     ]
  ] ) ; # 
  fhir:description [ fhir:v "Example of a Comprehensive DocumentReference resource. This is minimally filled for all mandatory elements."] ; # 
  fhir:securityLabel ( [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-Confidentiality"^^xsd:anyURI ] ;
fhir:code [ fhir:v "L" ]     ] )
  ] ) ; # 
  fhir:content ( [
fhir:attachment [
fhir:contentType [ fhir:v "text/plain" ] ;
fhir:language [ fhir:v "en-US" ] ;
fhir:url [ fhir:v "http://example.com/nowhere.txt"^^xsd:anyURI ] ;
fhir:size [ fhir:v "0"^^xsd:nonNegativeInteger ] ;
fhir:hash [ fhir:v "ZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4MDcwOQ=="^^xsd:base64Binary ] ;
fhir:title [ fhir:v "DocumentReference for Comprehensive minimally filled metadata" ] ;
fhir:creation [ fhir:v "2023-04-04T11:00:00-05:00"^^xsd:dateTime ]     ] ;
fhir:format [
fhir:system [ fhir:v "urn:oid:2.16.840.1.113883.2.9.3.3.6.1.6"^^xsd:anyURI ] ;
fhir:code [ fhir:v "PDF" ]     ]
  ] ) ; # 
  fhir:context [
    ( fhir:event [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "ACCTRECEIVABLE" ]       ] )     ] ) ;
fhir:period [
fhir:start [ fhir:v "2020-12-31T23:50:50-05:00"^^xsd:dateTime ] ;
fhir:end [ fhir:v "2020-12-31T23:50:50-05:00"^^xsd:dateTime ]     ]
  ] . # 

<urn:uuid:cccccccc-4444-0000-0000-000000000002> a fhir:Binary ;
  fhir:id [ fhir:v "cccccccc-4444-0000-0000-000000000002"] ; # 
  fhir:meta [
    ( fhir:security [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
fhir:code [ fhir:v "HTEST" ]     ] )
  ] ; # 
  fhir:contentType [ fhir:v "text/plain"] ; # 
  fhir:data [ fhir:v "SGVsbG8gV29ybGQ="^^xsd:base64Binary] . #