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 Inline Task Example 19 - 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 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:contained ( [
a fhir:Patient ;
fhir:id [ fhir:v "patient" ] ;
    ( fhir:identifier [
fhir:use [ fhir:v "usual" ] ;
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:name [
fhir:family [ fhir:v "Shaw" ] ;
      ( fhir:given [ fhir:v "Amy" ] )     ] ) ;
fhir:birthDate [ fhir:v "1987-02-20"^^xsd:date ]
  ] [
a fhir:PractitionerRole ;
fhir:id [ fhir:v "practitionerrole" ] ;
fhir:practitioner [
fhir:identifier [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "9941339100" ]       ]     ] ;
fhir:organization [
fhir:identifier [
fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1234567893" ]       ]     ]
  ] ) ; # 
  fhir:identifier ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "tracking-id" ] ;
fhir:display [ fhir:v "Tracking Id" ]       ] ) ;
fhir:text [ fhir:v "Re-Association Tracking Control Number" ]     ] ;
fhir:system [ fhir:v "http://example.org/payer"^^xsd:anyURI ] ;
fhir:value [ fhir:v "trackingid123" ]
  ] ) ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "attachment-request-code" ]     ] ) ;
fhir:text [ fhir:v "Coded Attachment Request" ]
  ] ; # 
  fhir:for [
fhir:reference [ fhir:v "#patient" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2022-06-17T16:16:06Z"^^xsd:dateTime] ; # 
  fhir:lastModified [ fhir:v "2022-06-17T16:16:06Z"^^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:reference [ fhir:v "#practitionerrole" ]
  ] ; # 
  fhir:reasonCode [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/claim-use"^^xsd:anyURI ] ;
fhir:code [ fhir:v "claim" ] ;
fhir:display [ fhir:v "Claim" ]     ] ) ;
fhir:text [ fhir:v "claim" ]
  ] ; # 
  fhir:reasonReference [
fhir:identifier [
fhir:system [ fhir:v "http://example.org/cdex/payer/claim-ids"^^xsd:anyURI ] ;
fhir:value [ fhir:v "Claim123" ]     ]
  ] ; # 
  fhir:restriction [
fhir:period [
fhir:end [ fhir:v "2022-06-21"^^xsd:date ]     ]
  ] ; # 
  fhir:input ( [
    ( fhir:extension [
fhir:url [ fhir:v "http://hl7.org/fhir/us/davinci-pas/StructureDefinition/extension-paLineNumber"^^xsd:anyURI ] ;
fhir:value [ fhir:v "1"^^xsd:integer ]     ] ) ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "attachments-needed" ]       ] )     ] ;
fhir:value [
a fhir:CodeableConcept ;
      ( fhir:coding [
a loinc:11506-3 ;
fhir:system [ fhir:v "http://loinc.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "11506-3" ] ;
fhir:display [ fhir:v "Progress note" ]       ] ) ;
fhir:text [ fhir:v "Progress 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 "signature-flag" ]       ] )     ] ;
fhir:value [ fhir:v "true"^^xsd:boolean ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-pas/CodeSystem/PASTempCodes"^^xsd:anyURI ] ;
fhir:code [ fhir:v "payer-url" ]       ] )     ] ;
fhir:value [ fhir:v "http://example.org/cdex/payer/$submit-attachment"^^xsd:anyURI ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-cdex/CodeSystem/cdex-temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "service-date" ]       ] )     ] ;
fhir:value [ fhir:v "2022-06-13"^^xsd:date ]
  ] [
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 "CLMATTCH" ] ;
fhir:display [ fhir:v "claim attachment" ]       ] )     ]
  ] ) . #