Da Vinci Health Record Exchange (HRex)
1.1.0-ballot - STU 1.1 Ballot United States of America flag

This page is part of the Da Vinci Health Record Exchange (v1.1.0-ballot: STU 1.1 Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. The current version which supersedes this version is 1.0.0. For a full list of available versions, see the Directory of published versions

: HRex Task Data Request - initial query example - 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 "query-initial"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request"^^xsd:anyURI ;
fhir:link <http://hl7.org/fhir/us/davinci-hrex/StructureDefinition/hrex-task-data-request>     ] )
  ] ; # 
  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 query-initial</b></p><a name=\"query-initial\"> </a><a name=\"hcquery-initial\"> </a><a name=\"query-initial-en-US\"> </a><p><b>basedOn</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/CommunicationRequest/57\">??</a></p><p><b>status</b>: Requested</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-request}\">data request task</span></p><p><b>for</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Patient/pat1\">??</a></p><p><b>authoredOn</b>: 2020-07-30 20:07:15-0600</p><p><b>requester</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Organization/hl7pay\">??</a></p><p><b>owner</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/provider/fhir/Organization/hl7prov\">??</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Support prior authorization decision-making</span></p><p><b>reasonReference</b>: <a href=\"https://simplifier.net/resolve?scope=hl7.fhir.us.core.3.1.1@3.1.1&amp;canonical=http://example.org/new-payer/fhir/Claim/123\">??</a></p><h3>Inputs</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><span title=\"Codes:{http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp data-query}\">data query input</span></td><td>Condition?patient=Patient/pat1&amp;clinical-status=active&amp;code=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009</td></tr></table></div>"
  ] ; # 
  fhir:basedOn ( [
fhir:link <http://example.org/new-payer/CommunicationRequest/57> ;
fhir:reference [ fhir:v "http://example.org/new-payer/CommunicationRequest/57" ]
  ] ) ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/us/davinci-hrex/CodeSystem/hrex-temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "data-request" ]     ] )
  ] ; # 
  fhir:for [
fhir:link <http://example.org/new-payer/fhir/Patient/pat1> ;
fhir:reference [ fhir:v "http://example.org/new-payer/fhir/Patient/pat1" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2020-07-30T20:07:15-06:00"^^xsd:dateTime] ; # 
  fhir:requester [
fhir:link <http://example.org/new-payer/fhir/Organization/hl7pay> ;
fhir:reference [ fhir:v "http://example.org/new-payer/fhir/Organization/hl7pay" ]
  ] ; # 
  fhir:owner [
fhir:link <http://example.org/provider/fhir/Organization/hl7prov> ;
fhir:reference [ fhir:v "http://example.org/provider/fhir/Organization/hl7prov" ]
  ] ; # 
  fhir:reasonCode [
fhir:text [ fhir:v "Support prior authorization decision-making" ]
  ] ; # 
  fhir:reasonReference [
fhir:link <http://example.org/new-payer/fhir/Claim/123> ;
fhir:reference [ fhir:v "http://example.org/new-payer/fhir/Claim/123" ]
  ] ; # 
  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=Patient/pat1&clinical-status=active&code=http%3A%2F%2Fsnomed.info%2Fsct%7C73211009" ]
  ] ) . #