Da Vinci Clinical Data Exchange (CDex)
2.1.0-preview - CI Build 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-preview 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:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-name"^^xsd:anyURI ] ;
fhir:value [ fhir:v "CDex Task Example 3" ]     ] [
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/instance-description"^^xsd:anyURI ] ;
fhir:value [ fhir:v "**Completed Query String Request for Condition with Contained Output:**   Completed Task to seek a patient active conditions using the CDex Profile query input and using a contained resource for the output data. This example illustrates the use of business identifiers (instead of pointing to a FHIR resource) to references the various actors." ]     ] ) ;
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:profile [
fhir:v "http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-cdex/StructureDefinition/cdex-task-data-request>     ] ) ;
    ( 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><b>Generated Narrative: Task</b><a name=\"cdex-task-example3\"> </a><a name=\"hccdex-task-example3\"> </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\">ResourceTask &quot;cdex-task-example3&quot; Version &quot;3&quot; Updated &quot;2020-10-26 04:04:52+0000&quot; </p><p style=\"margin-bottom: 0px\">Information Source: #tgH2FoPFuCq0yjw5!</p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-cdex-task-data-request.html\">CDex Task Data Request Profile</a></p><p style=\"margin-bottom: 0px\">Tag: <span title=\"{http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp}\">http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp</span></p></div><p><b>status</b>: completed</p><p><b>businessStatus</b>: Results reviewed for release <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>intent</b>: order</p><p><b>code</b>: Data Request Query <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cdex-temp.html\">CDex Temporary Code System</a>#data-request-query)</span></p><p><b>for</b>: <span>Member Number/Member123</span></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>: <span><code>http://example.org/cdex/payer/payer-ids</code>/Payer123</span></p><p><b>owner</b>: <span><a href=\"http://terminology.hl7.org/5.3.0/NamingSystem-npi.html\" title=\"National Provider Identifier\">United States National Provider Identifier</a>/9941339108</span></p><p><b>reasonReference</b>: <span>Payer Claim ID/Claim123</span></p><blockquote><p><b>input</b></p><p><b>type</b>: data query input <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://build.fhir.org/ig/HL7/davinci-ehrx/CodeSystem-hrex-temp.html\">HRex Temporary Code System</a>#data-query)</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>: Purpose Of Use <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"CodeSystem-cdex-temp.html\">CDex Temporary Code System</a>#purpose-of-use)</span></p><p><b>value</b>: coverage under policy or program <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-v3-ActReason.html\">ActReason</a>#COVERAGE)</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>data values output <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://build.fhir.org/ig/HL7/davinci-ehrx/CodeSystem-hrex-temp.html\">HRex Temporary Code System</a>#data-value)</span></td><td><a name=\"hcresults\"> </a><blockquote><p/><p><a name=\"results\"> </a></p><p><a name=\"hcresults\"> </a></p><p><b>type</b>: searchset</p><p><b>total</b>: 1</p><h3>Links</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Relation</b></td><td><b>Url</b></td></tr><tr><td style=\"display: none\">*</td><td>self</td><td><a href=\"https://example.com/base/Condition?patient=cdex-example-patient&amp;clinical-status=active\">https://example.com/base/Condition?patient=cdex-example-patient&amp;clinical-status=active</a></td></tr></table><blockquote><p><b>entry</b></p><p><b>fullUrl</b>: <a href=\"http://example.org/fhir/Condition/858\">http://example.org/fhir/Condition/858</a></p><blockquote><p><b>resource</b></p><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>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>category</b>: Problem <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOWMED CT</a>#55607006; <a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#problem-list-item &quot;Problem List Item&quot;)</span></p><p><b>code</b>: Type 2 Diabetes Mellitus <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOWMED CT</a>#44054006)</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/fhir/Patient/cdex-example-patient\">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.3.1.1@3.1.1&amp;canonical=http://example.org/fhir/PractitionerRole/126\">http://example.org/fhir/PractitionerRole/126</a></p></blockquote><h3>Searches</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Mode</b></td></tr><tr><td style=\"display: none\">*</td><td>match</td></tr></table></blockquote></blockquote></td></tr></table><hr/><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:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition|3.1.1>     ] [
fhir:v "http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns|6.1.0"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/core/StructureDefinition/us-core-condition-problems-health-concerns|6.1.0>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Condition #858</b><a name=\"858\"> </a><a name=\"hc858\"> </a></p><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>: Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-condition-clinical.html\">Condition Clinical Status Codes</a>#active)</span></p><p><b>category</b>: Problem <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOWMED CT</a>#55607006; <a href=\"http://terminology.hl7.org/5.5.0/CodeSystem-condition-category.html\">Condition Category Codes</a>#problem-list-item &quot;Problem List Item&quot;)</span></p><p><b>code</b>: Type 2 Diabetes Mellitus <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"https://browser.ihtsdotools.org/\">SNOWMED CT</a>#44054006)</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/fhir/Patient/cdex-example-patient\">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.3.1.1@3.1.1&amp;canonical=http://example.org/fhir/PractitionerRole/126\">http://example.org/fhir/PractitionerRole/126</a></p></div>"
  ] ; # 
  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" ]
  ] . #