Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU 2.1

Publication Build: This will be filled in by the publication tooling

## : CDex Task Example 8 - TTL Representation

Page standards status: Informative

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 rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
    @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
    @prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

    # - resource -------------------------------------------------------------------

     a fhir:Task ;
      fhir:nodeRole fhir:treeRoot ;
      fhir:id [ fhir:v "cdex-task-example8"] ; #
      fhir:text [
    fhir:status [ fhir:v "generated" ] ;
    fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task cdex-task-example8</b></p><a name=\"cdex-task-example8\"> </a><a name=\"hccdex-task-example8\"> </a><a name=\"cdex-task-example8-en-US\"> </a><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp data-request-code}\">Data Request Code</span></p><p><b>for</b>: <a href=\"http://example.org/fhir/Patient/cdex-example-patient\">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>authoredOn</b>: 2020-10-27 11:05:34-0700</p><p><b>lastModified</b>: 2020-10-27 11:05:34-0700</p><p><b>requester</b>: <a href=\"http://example.org/fhir/Organization/cdex-example-payer\">http://example.org/fhir/Organization/cdex-example-payer</a></p><p><b>owner</b>: <a href=\"http://example.org/fhir/Organization/cdex-example-provider\">http://example.org/fhir/Organization/cdex-example-provider</a></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-code}\">data code input</span></p><p><b>value</b>: <span title=\"Codes:{http://loinc.org 11504-8}\">Operative note</span></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp purpose-of-use}\">Purpose Of Use</span></p><p><b>value</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ActReason COC}\">coordination of care</span></p></blockquote><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><span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-value}\">data values output</span></td><td><a href=\"#hccdex-task-example8/results\">Bundle: type = searchset; total = 1</a></td></tr></table><hr/><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Bundle #results</b></p><a name=\"cdex-task-example8/results\"> </a><a name=\"hccdex-task-example8/results\"> </a><a name=\"cdex-task-example8/results-en-US\"> </a><p>Bundle results of type searchset</p><a name=\"https-//example.org/fhir/cdex-documentreference-example1\"> </a><a name=\"DocumentReference_cdex-documentreference-example1\"> </a><a name=\"hcDocumentReference_cdex-documentreference-example1\"> </a><hr/><p>Entry 1 - fullUrl = https://example.org/fhir/cdex-documentreference-example1</p><p>Search:Mode = match</p><p>Resource DocumentReference:</p><blockquote><p class=\"res-header-id\"><b>Generated Narrative: DocumentReference #cdex-documentreference-example1</b></p><a name=\"cdex-task-example8/results/cdex-documentreference-example1\"> </a><a name=\"hccdex-task-example8/results/cdex-documentreference-example1\"> </a><a name=\"cdex-task-example8/results/cdex-documentreference-example1-en-US\"> </a><p><b>status</b>: Current</p><p><b>type</b>: <span title=\"Codes:{http://loinc.org 11504-8}\">Surgical 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 1</span></p><p><b>subject</b>: <a href=\"http://example.org/fhir/Patient/cdex-example-patient\">http://example.org/fhir/Patient/cdex-example-patient</a></p><p><b>date</b>: 2022-07-13 10:30:00-0500</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>Data</b></td><td><b>Hash</b></td><td><b>Title</b></td></tr><tr><td style=\"display: none\">*</td><td>text/xml</td><td>(base64 data - 16,172 base64 chars)</td><td><code>026d568297832e6e083e96549041a72aa383bb23</code></td><td>Example CCDA</td></tr></table></blockquote></blockquote></blockquote></div>"^^rdf:XMLLiteral
      ] ; #
      fhir:contained ( [
    a fhir:Bundle ;
    fhir:id [ fhir:v "results" ] ;
    fhir:type [ fhir:v "searchset" ] ;
    fhir:total [ fhir:v "1"^^xsd:nonNegativeInteger ] ;
        ( fhir:link [
    fhir:relation [ fhir:v "self" ] ;
    fhir:url [ fhir:v "https://example.org/fhir/DocumentReference?_id=cdex-documentreference-example1"^^xsd:anyURI ]     ] ) ;
        ( fhir:entry [
    fhir:fullUrl [ fhir:v "https://example.org/fhir/cdex-documentreference-example1"^^xsd:anyURI ] ;
          ( fhir:resource <https://example.org/fhir/cdex-documentreference-example1> ) ;
    fhir:search [
    fhir:mode [ fhir:v "match" ]       ]     ] )
      ] ) ; #
      fhir:status [ fhir:v "completed"] ; #
      fhir:intent [ fhir:v "order"] ; #
      fhir:code [
        ( fhir:coding [
    fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "data-request-code" ]     ] )
      ] ; #
      fhir:for [
    fhir:link <http://example.org/fhir/Patient/cdex-example-patient> ;
    fhir:reference [ fhir:v "http://example.org/fhir/Patient/cdex-example-patient" ]
      ] ; #
      fhir:authoredOn [ fhir:v "2020-10-27T11:05:34-07:00"^^xsd:dateTime] ; #
      fhir:lastModified [ fhir:v "2020-10-27T11:05:34-07:00"^^xsd:dateTime] ; #
      fhir:requester [
    fhir:link <http://example.org/fhir/Organization/cdex-example-payer> ;
    fhir:reference [ fhir:v "http://example.org/fhir/Organization/cdex-example-payer" ]
      ] ; #
      fhir:owner [
    fhir:link <http://example.org/fhir/Organization/cdex-example-provider> ;
    fhir:reference [ fhir:v "http://example.org/fhir/Organization/cdex-example-provider" ]
      ] ; #
      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:11504-8 ;
    fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "11504-8" ]       ] ) ;
    fhir:text [ fhir:v "Operative note" ]     ]
      ] [
    fhir:type [
          ( fhir:coding [
    fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "purpose-of-use" ]       ] )     ] ;
    fhir:value [
    a fhir:CodeableConcept ;
          ( fhir:coding [
    fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActReason"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "COC" ]       ] )     ]
      ] ) ; #
      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:reference [ fhir:v "#results" ]     ]
      ] ) . #

    <https://example.org/fhir/cdex-documentreference-example1> a fhir:DocumentReference ;
      fhir:id [ fhir:v "cdex-documentreference-example1"] ; #
      fhir:status [ fhir:v "current"] ; #
      fhir:type [
        ( fhir:coding [
    a loinc:11504-8 ;
    fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "11504-8" ] ;
    fhir:display [ fhir:v "Operative note" ]     ] ) ;
    fhir:text [ fhir:v "Surgical 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 1" ]
      ] ) ; #
      fhir:subject [
    fhir:link <http://example.org/fhir/Patient/cdex-example-patient> ;
    fhir:reference [ fhir:v "http://example.org/fhir/Patient/cdex-example-patient" ]
      ] ; #
      fhir:date [ fhir:v "2022-07-13T10:30:00-05:00"^^xsd:dateTime] ; #
      fhir:content ( [
    fhir:attachment [
    fhir:contentType [ fhir:v "text/xml" ] ;
    fhir:data [ fhir:v " "^^xsd:base64Binary ] ;
    fhir:hash [ fhir:v "026d568297832e6e083e96549041a72aa383bb23"^^xsd:base64Binary ] ;
    fhir:title [ fhir:v "Example CCDA" ]     ]
      ] ) . #