@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 -------------------------------------------------------------------

<http://hl7.org/fhir/us/davinci-cdex/Parameters/cdex-parameters-example5> a fhir:Parameters ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:parameter ( [
     fhir:name [ fhir:v "TrackingId" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:system [ fhir:v "http://example.org/payer"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "trackingid1012" ]
     ]
  ] [
     fhir:name [ fhir:v "AttachTo" ] ;
     fhir:value [
       a fhir:code ;
       fhir:v "preauthorization"
     ]
  ] [
     fhir:name [ fhir:v "PayerId" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:system [ fhir:v "http://example.org/cdex/payer/payer-ids"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "payer123" ]
     ]
  ] [
     fhir:name [ fhir:v "OrganizationId" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "1234567893" ]
     ]
  ] [
     fhir:name [ fhir:v "ProviderId" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "9941339100" ]
     ]
  ] [
     fhir:name [ fhir:v "MemberId" ] ;
     fhir:value [
       a fhir:Identifier ;
       fhir:system [ fhir:v "http://example.org/cdex/payer/member-ids"^^xsd:anyURI ] ;
       fhir:value [ fhir:v "Member123" ]
     ]
  ] [
     fhir:name [ fhir:v "Attachment" ] ;
     fhir:part ( [
       fhir:name [ fhir:v "LineItem" ] ;
       fhir:value [
         a fhir:string ;
         fhir:v "1"
       ]
     ] [
       fhir:name [ fhir:v "Content" ] ;
       fhir:Parameters.parameter.resource ( [
         a fhir:QuestionnaireResponse ;
         fhir:id [ fhir:v "cdex-questionnaireresponse-example1" ] ;
         fhir:questionnaire [
           fhir:v "http://example.org/cdex-questionnaire-example1"^^xsd:anyURI ;
           fhir:link <http://example.org/cdex-questionnaire-example1>
         ] ;
         fhir:status [ fhir:v "completed" ] ;
         fhir:subject [
           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:display [ fhir:v "Amy Shaw" ]
         ] ;
         fhir:authored [ fhir:v "2022-06-17"^^xsd:date ] ;
         fhir:author [
           fhir:identifier [
             fhir:system [ fhir:v "http://hl7.org/fhir/sid/us-npi"^^xsd:anyURI ] ;
             fhir:value [ fhir:v "9941339100" ]
           ]
         ] ;
         fhir:item ( [
           fhir:linkId [ fhir:v "1" ] ;
           fhir:text [ fhir:v "Relevant Patient Diagnoses (conditions that might be expected to improve with oxygen therapy)" ] ;
           fhir:answer ( [
             fhir:value [
               a fhir:string ;
               fhir:v "Examplitis"
             ]
           ] )
         ] [
           fhir:linkId [ fhir:v "2" ] ;
           fhir:text [ fhir:v "Order Reason" ] ;
           fhir:answer ( [
             fhir:value [
               a fhir:Coding ;
               fhir:system [ fhir:v "http://example.org"^^xsd:anyURI ] ;
               fhir:code [ fhir:v "4" ] ;
               fhir:display [ fhir:v "Replacement" ]
             ]
           ] )
         ] )
       ] )
     ] )
  ] ) . # 

# -------------------------------------------------------------------------------------

