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

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

## : CDex Inline Task Example 22 - 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 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: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:use [ fhir:v "usual" ] ;
    fhir:type [
            ( fhir:coding [
    fhir:system [ fhir:v "http://hl7.org/fhir/us/carin-bb/CodeSystem/C4BBIdentifierType"^^xsd:anyURI ] ;
    fhir:code [ fhir:v "pat" ] ;
    fhir:display [ fhir:v "Patient Account Number" ]         ] ) ;
    fhir:text [ fhir:v "Patient Account Number" ]       ] ;
    fhir:system [ fhir:v "http://example.org/cdex/provider/patient-ids"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "PA-123" ]     ] ) ;
        ( 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 "trackingid1012" ]
      ] ) ; #
      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-questionnaire" ]     ] ) ;
    fhir:text [ fhir:v "Attachment Request Questionnaire" ]
      ] ; #
      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 "preauthorization" ] ;
    fhir:display [ fhir:v "Preauthorization" ]     ] ) ;
    fhir:text [ fhir:v "preauthorization" ]
      ] ; #
      fhir:reasonReference [
    fhir:identifier [
    fhir:system [ fhir:v "http://example.org/cdex/payer/claim-ids"^^xsd:anyURI ] ;
    fhir:value [ fhir:v "Preauth123" ]     ]
      ] ; #
      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 [
    a fhir:integer ;
    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 "questionnaire-context" ]       ] )     ] ;
    fhir:value [
    a fhir:canonical ;
    fhir:v "http://example.org/cdex-questionnaire-example1"^^xsd:anyURI ;
    fhir:link <http://example.org/cdex-questionnaire-example1>     ]
      ] [
    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 [
    a fhir:url ;
    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 "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 "COVAUTH" ] ;
    fhir:display [ fhir:v "coverage authorization" ]       ] )     ]
      ] ) . #