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: Not linked to any defined compartments

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:Resource.id [ fhir:value "cpg-example-1"]; #    Example from https://hl7.org/fhir/uv/cpg/Task-request-dnci-scenario4.xml.html   
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative: Task</b><a name=\"cpg-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>-</td><td><b>Type</b></td><td><b>Value[x]</b></td></tr><tr><td>*</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:Task.status [ fhir:value "ready"]; # 
  fhir:Task.intent [ fhir:value "order"]; # 
  fhir:Task.doNotPerform [ fhir:value "true"^^xsd:boolean]; # 
  fhir:Task.code [
     fhir:CodeableConcept.text [ fhir:value "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:Task.for [
     fhir:Reference.reference [ fhir:value "Patient/example" ] #   <reference value=\"Patient\/dnci-scenario4\"\/>  
  ]; # 
  fhir:Task.input [
     fhir:index 0;
     fhir:Task.input.type [
       fhir:CodeableConcept.text [ fhir:value "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:Task.input.valueCanonical [
       fhir:value "http://hl7.org/fhir/Questionnaire/f201";
       fhir:link <http://hl7.org/fhir/Questionnaire/f201>
     ] #   <valueCanonical value=\"http:\/\/hl7.org\/fhir\/uv\/cpg\/Questionnaire\/activity-example-collectinformation\"\/>  
  ]] . # 

# - ontology header ------------------------------------------------------------

[a owl:Ontology;
  owl:imports fhir:fhir.ttl] .

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


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.