Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU2 United States of America flag

Da Vinci Clinical Data Exchange (CDex), published by HL7 International / Payer/Provider Information Exchange Work Group. This guide is not an authorized publication; it is the continuous build for version 2.1.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/HL7/davinci-ecdx/ and changes regularly. See the Directory of published versions

: CDex Task Example 3 - TTL Representation

Page standards status: Informative

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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cdex-task-example3"] ; # 
  fhir:meta [
fhir:versionId [ fhir:v "3" ] ;
fhir:lastUpdated [ fhir:v "2020-10-26T04:04:52.000+00:00"^^xsd:dateTime ] ;
fhir:source [ fhir:v "#tgH2FoPFuCq0yjw5"^^xsd:anyURI ] ;
    ( fhir:tag [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "claims-processing" ]     ] )
  ] ; # 
  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-example3</b></p><a name=\"cdex-task-example3\"> </a><a name=\"hccdex-task-example3\"> </a><a name=\"cdex-task-example3-en-US\"> </a><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\">version: 3; Last updated: 2020-10-26 04:04:52+0000; </p><p style=\"margin-bottom: 0px\">Information Source: #tgH2FoPFuCq0yjw5</p><p style=\"margin-bottom: 0px\">Tag: Claim Processing (Details: CDex Temporary Code System code claims-processing = 'Claim Processing')</p></div><p><b>status</b>: Completed</p><p><b>businessStatus</b>: <span title=\"Codes:\">Results reviewed for release</span></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-query}\">Data Request Query</span></p><p><b>for</b>: Identifier: Member Number/Member123</p><p><b>authoredOn</b>: 2020-10-26 02:58:55+0000</p><p><b>lastModified</b>: 2020-10-26 04:04:52+0000</p><p><b>requester</b>: Identifier: <code>http://example.org/cdex/payer/payer-ids</code>/Payer123</p><p><b>owner</b>: Identifier: <a href=\"http://terminology.hl7.org/6.0.2/NamingSystem-npi.html\" title=\"National Provider Identifier\">United States National Provider Identifier</a>/9941339108</p><p><b>reasonReference</b>: Identifier: Payer Claim ID/Claim123</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-query}\">data query input</span></p><p><b>value</b>: Condition?patient=cdex-example-patient&amp;clinical-status=active</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 COVERAGE}\">coverage under policy or program</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-example3/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-example3/results\"> </a><a name=\"hccdex-task-example3/results\"> </a><a name=\"cdex-task-example3/results-en-US\"> </a><p>Bundle results of type searchset</p><a name=\"http-//example.org/fhir/Condition/858\"> </a><a name=\"Condition_858\"> </a><a name=\"hcCondition_858\"> </a><hr/><p>Entry 1 - fullUrl = http://example.org/fhir/Condition/858</p><p>Search:Mode = match</p><p>Resource Condition:</p><blockquote><p class=\"res-header-id\"><b>Generated Narrative: Condition  #858</b></p><a name=\"cdex-task-example3/results/858\"> </a><a name=\"hccdex-task-example3/results/858\"> </a><a name=\"cdex-task-example3/results/858-en-US\"> </a><p><b>identifier</b>: <code>urn:oid:1.3.6.1.4.1.22812.4.111.0.4.1.2.1</code>/1</p><p><b>clinicalStatus</b>: <span title=\"Codes:{http://terminology.hl7.org/CodeSystem/condition-clinical active}\">Active</span></p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 55607006}, {http://terminology.hl7.org/CodeSystem/condition-category problem-list-item}\">Problem</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 44054006}\">Type 2 Diabetes Mellitus</span></p><p><b>subject</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/fhir/Patient/cdex-example-patient\">??</a></p><p><b>onset</b>: 2006</p><p><b>asserter</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/fhir/PractitionerRole/126\">??</a></p></blockquote></blockquote></div>"
  ] ; # 
  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.com/base/Condition?patient=cdex-example-patient&clinical-status=active"^^xsd:anyURI ]     ] ) ;
    ( fhir:entry [
fhir:fullUrl [ fhir:v "http://example.org/fhir/Condition/858"^^xsd:anyURI ] ;
      ( fhir:resource <http://example.org/fhir/Condition/858> ) ;
fhir:search [
fhir:mode [ fhir:v "match" ]       ]     ] )
  ] ) ; # 
  fhir:status [ fhir:v "completed"] ; # 
  fhir:businessStatus [
fhir:text [ fhir:v "Results reviewed for release" ]
  ] ; # 
  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-query" ]     ] )
  ] ; # 
  fhir:for [
fhir:identifier [
fhir:type [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MB" ] ;
fhir:display [ fhir:v "Member Number" ]         ] ) ;
fhir:text [ fhir:v "Member Number" ]       ] ;
fhir:system [ fhir:v "http://example.org/cdex/payer/member-ids"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Member123" ]     ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2020-10-26T02:58:55.179Z"^^xsd:dateTime] ; # 
  fhir:lastModified [ fhir:v "2020-10-26T04:04:52.019Z"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:identifier [
fhir:system [ fhir:v "http://example.org/cdex/payer/payer-ids"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Payer123" ]     ]
  ] ; # 
  fhir:owner [
fhir:identifier [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "9941339108" ]     ]
  ] ; # 
  fhir:reasonReference [
fhir:identifier [
fhir:type [
        ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "FILL" ] ;
fhir:display [ fhir:v "Filler Identifier" ]         ] ) ;
fhir:text [ fhir:v "Payer Claim ID" ]       ] ;
fhir:system [ fhir:v "http://example.org/cdex/payer/claim-ids"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Claim123" ]     ]
  ] ; # 
  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-query" ]       ] )     ] ;
fhir:value [ fhir:v "Condition?patient=cdex-example-patient&clinical-status=active" ]
  ] [
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 "COVERAGE" ]       ] )     ]
  ] ) ; # 
  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" ]     ]
  ] ) . # 

<http://example.org/fhir/Condition/858> a fhir:Condition ;
  fhir:id [ fhir:v "858"] ; # 
  fhir:identifier ( [
fhir:system [ fhir:v "urn:oid:1.3.6.1.4.1.22812.4.111.0.4.1.2.1"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1" ]
  ] ) ; # 
  fhir:clinicalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-clinical"^^xsd:anyURI ] ;
fhir:code [ fhir:v "active" ]     ] )
  ] ; # 
  fhir:category ( [
    ( fhir:coding [
a sct:55607006 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "55607006" ] ;
fhir:display [ fhir:v "Problem" ]     ] [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/condition-category"^^xsd:anyURI ] ;
fhir:code [ fhir:v "problem-list-item" ] ;
fhir:display [ fhir:v "Problem List Item" ]     ] )
  ] ) ; # 
  fhir:code [
    ( fhir:coding [
a sct:44054006 ;
fhir:system [ fhir:v "http://snomed.info/sct"^^xsd:anyURI ] ;
fhir:code [ fhir:v "44054006" ] ;
fhir:display [ fhir:v "Type 2 Diabetes Mellitus" ]     ] )
  ] ; # 
  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:onset [ fhir:v "2006"^^xsd:gYear] ; # 
  fhir:asserter [
fhir:link <http://example.org/fhir/PractitionerRole/126> ;
fhir:reference [ fhir:v "http://example.org/fhir/PractitionerRole/126" ]
  ] . #