Da Vinci Clinical Data Exchange (CDex)
2.1.0 - STU 2.1 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 9 - 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 xsd: <http://www.w3.org/2001/XMLSchema#> .

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

 a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "cdex-task-example9"] ; # 
  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-example9</b></p><a name=\"cdex-task-example9\"> </a><a name=\"hccdex-task-example9\"> </a><a name=\"cdex-task-example9-en-US\"> </a><p><b>status</b>: Failed</p><p><b>statusReason</b>: <span title=\"Codes:\">No matching results</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>: <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>authoredOn</b>: 2020-10-27 11:05:34-0700</p><p><b>lastModified</b>: 2020-10-27 18:23:27-0700</p><p><b>requester</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=http://example.org/fhir/Organization/cdex-example-payer\">??</a></p><p><b>owner</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.v610@6.1.0&amp;canonical=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-query}\">data query input</span></p><p><b>value</b>: Observation?patient=cdex-example-patient&amp;date=gt2018-01-01&amp;code=4548-4</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 HQUALIMP}\">health quality improvement</span></p></blockquote></div>"
  ] ; # 
  fhir:status [ fhir:v "failed"] ; # 
  fhir:statusReason [
fhir:text [ fhir:v "No matching results" ]
  ] ; # 
  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: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-27T18:23:27-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-query" ]       ] )     ] ;
fhir:value [ fhir:v "Observation?patient=cdex-example-patient&date=gt2018-01-01&code=4548-4" ]
  ] [
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 "HQUALIMP" ]       ] )     ]
  ] ) . #