Da Vinci - Coverage Requirements Discovery
2.2.0-ballot - STU 2.2 Ballot United States of America flag

This page is part of the Da Vinci Coverage Requirements Discovery (CRD) FHIR IG (v2.2.0-ballot: STU 2.2 Ballot) based on FHIR (HL7® FHIR® Standard) R4. This version is a pre-release. The current official version is 2.1.0. For a full list of available versions, see the Directory of published versions

: Questionnaire Task 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 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:id [ fhir:v "questionnaire-example"] ; # 
  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 questionnaire-example</b></p><a name=\"questionnaire-example\"> </a><a name=\"hcquestionnaire-example\"> </a><p><b>basedOn</b>: <a href=\"MedicationRequest-example.html\">MedicationRequest: identifier = http://example.org/portal/prescriptions#12345689 (use: official, ); status = draft; intent = order; medication[x] = -&gt;Medication Azithromycin 250 mg oral tablet; authoredOn = 2015-01-15; reasonCode = Traveler's Diarrhea (disorder); note = Patient told to take with food</a></p><p><b>status</b>: Ready</p><p><b>intent</b>: order</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp complete-questionnaire}\">Complete Questionnaire</span></p><p><b>for</b>: <a href=\"Patient-example.html\">Amy V. Shaw  Female, DoB: 1987-02-20 ( Medical Record Number: 1032702 (use: usual, ))</a></p><p><b>encounter</b>: <a href=\"Encounter-example.html\">Encounter: identifier = http://example.org/zorgportal/identifiers/visits#v1451 (use: official, ); status = in-progress; class = ambulatory (ActCode#AMB); type = Patient-initiated encounter; priority = Non-urgent cardiological admission; reasonCode = Heart valve replacement</a></p><p><b>authoredOn</b>: 2018-08-09</p><p><b>requester</b>: <a href=\"http://example.org/fhir/Organization/payer\">http://example.org/fhir/Organization/payer</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">Helps assess opioid appropriateness</span></p><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp questionnaire}\">Questionnaire</span></p><p><b>value</b>: <code>http://example.org/Questionnaire/XYZ|2</code></p></blockquote><blockquote><p><b>input</b></p><p><b>type</b>: <span title=\"Codes:{http://hl7.org/fhir/uv/sdc/CodeSystem/temp response-endpoint}\">Response Endpoint</span></p><p><b>value</b>: <a href=\"http://example.org/somePayer\">http://example.org/somePayer</a></p></blockquote></div>"^^rdf:XMLLiteral
  ] ; # 
  fhir:basedOn ( [
fhir:reference [ fhir:v "MedicationRequest/example" ]
  ] ) ; # 
  fhir:status [ fhir:v "ready"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/sdc/CodeSystem/temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "complete-questionnaire" ]     ] )
  ] ; # 
  fhir:for [
fhir:reference [ fhir:v "Patient/example" ]
  ] ; # 
  fhir:encounter [
fhir:reference [ fhir:v "Encounter/example" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2018-08-09"^^xsd:date] ; # 
  fhir:requester [
fhir:link <http://example.org/fhir/Organization/payer> ;
fhir:reference [ fhir:v "http://example.org/fhir/Organization/payer" ]
  ] ; # 
  fhir:reasonCode [
fhir:text [ fhir:v "Helps assess opioid appropriateness" ]
  ] ; # 
  fhir:input ( [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/sdc/CodeSystem/temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "questionnaire" ]       ] )     ] ;
fhir:value [
a fhir:canonical ;
fhir:v "http://example.org/Questionnaire/XYZ|2"^^xsd:anyURI ;
fhir:link <http://example.org/Questionnaire/XYZ|2>     ]
  ] [
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://hl7.org/fhir/uv/sdc/CodeSystem/temp"^^xsd:anyURI ] ;
fhir:code [ fhir:v "response-endpoint" ]       ] )     ] ;
fhir:value [
a fhir:url ;
fhir:v "http://example.org/somePayer"^^xsd:anyURI     ]
  ] ) . #