Publish-box (todo)
Example Task/cpg-example-1 (Turtle)
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:status [ fhir:v "ready"] ; # <instantiatesCanonical value="http://hl7.org/fhir/uv/cpg/ActivityDefinition/activity-example-collectinformation"/>
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.