FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Task/cpg-example-1 (Turtle)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient

Raw Turtle (+ also see Turtle/RDF Format Specification)

Example of a task to not administer a particular questionnaire, because it is part of typical care and patient circumstances indicate it should not be given

@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 "cpg-example-1"] ; #    Example from https://hl7.org/fhir/uv/cpg/Task-request-dnci-scenario4.xml.html   
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Task</b><a name=\"cpg-example-1\"> </a><a name=\"hccpg-example-1\"> </a></p><div style=\"display: inline-block; background-color: #d9e0e7; padding: 6px; margin: 4px; border: 1px solid #8da1b4; border-radius: 5px; line-height: 60%\"><p style=\"margin-bottom: 0px\">Resource Task &quot;cpg-example-1&quot; </p></div><p><b>status</b>: <span title=\" &lt;instantiatesCanonical value=&quot;http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-collectinformation&quot;/&gt; \">ready</span></p><p><b>intent</b>: order</p><p><b>doNotPerform</b>: true</p><p><b>code</b>: Collect information <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>for</b>: <a href=\"patient-example.html\">Patient/example</a> &quot;Peter CHALMERS&quot;</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>Collect information <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></td><td><span title=\" &lt;valueCanonical value=&quot;http://hl7.org/fhir/uv/cpg/Questionnaire/activity-example-collectinformation&quot;/&gt; \"><a href=\"http://hl7.org/fhir/Questionnaire/f201\">http://hl7.org/fhir/Questionnaire/f201</a></span></td></tr></table></div>"
  ] ; #   <instantiatesCanonical value="http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-collectinformation"/>  
  fhir:status [ fhir:v "ready"] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:doNotPerform [ fhir:v "true"^^xsd:boolean] ; # 
  fhir:code [
     fhir:text [ fhir:v "Collect information" ] #   \n    <coding>\n      <system value=\"http:\/\/hl7.org\/fhir\/uv\/cpg\/CodeSystem\/cpg-activity-type\"\/>\n      <code value=\"collect-information\"\/>\n      <display value=\"Collect information\"\/>\n    <\/coding>\n      
  ] ; # 
  fhir:for [
     fhir:reference [ fhir:v "Patient/example" ] #   <reference value=\"Patient\/dnci-scenario4\"\/>  
  ] ; # 
  fhir:input ( [
     fhir:type [
       fhir:text [ fhir:v "Collect information" ] #   \n      <coding>\n        <system value=\"http:\/\/hl7.org\/fhir\/uv\/cpg\/CodeSystem\/cpg-activity-type\"\/>\n        <code value=\"collect-information\"\/>\n        <display value=\"Collect information\"\/>\n      <\/coding>\n        
     ] ;
     fhir:value [
       fhir:v "http://hl7.org/fhir/Questionnaire/f201"^^xsd:anyURI ;
       fhir:link <http://hl7.org/fhir/Questionnaire/f201>
     ] #   <valueCanonical value=\"http:\/\/hl7.org\/fhir\/uv\/cpg\/Questionnaire\/activity-example-collectinformation\"\/>  
  ] )] . # 

# -------------------------------------------------------------------------------------


Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.