QI-Core Implementation Guide: STU 3.2 (v3.2.0 for FHIR 3.0.1)

This page is part of the Quality Improvement Core Framework (v3.2.0: STU 3) based on FHIR R3. The current version which supercedes this version is 4.1.1. For a full list of available versions, see the Directory of published versions

Task example

Formats: Narrative, XML, JSON, Turtle

Raw ttl

@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 "example"];
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task";
       fhir:index 0     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative with Details</b></p><p><b>id</b>: example</p><p><b>meta</b>: </p><p><b>identifier</b>: 19009</p><p><b>status</b>: draft</p><p><b>intent</b>: proposal</p><p><b>priority</b>: routine</p><p><b>code</b>: Medication Reconciliation <span style=\"background: LightGoldenRodYellow\">(Details )</span></p><p><b>for</b>: <a href=\"Patient-example.html\">Generated Summary: id: example; Medical record number = 12345 (USUAL); active; Peter James Chalmers (OFFICIAL), Jim Chalmers , Peter James Windsor (MAIDEN); -unknown-(HOME), ph: (03) 5555 6473(WORK), ph: (03) 3410 5613(MOBILE), ph: (03) 5555 8834(OLD); gender: male; birthDate: 25/12/1974; </a></p><p><b>executionPeriod</b>: 11/06/2018 12:00:00 AM --&gt; 11/06/2018 12:00:00 AM</p></div>"
  ];
  fhir:Task.identifier [
     fhir:index 0;
     fhir:Identifier.system [ fhir:value "http://www.acme.org/tasks" ];
     fhir:Identifier.value [ fhir:value "19009" ]
  ];
  fhir:Task.status [ fhir:value "draft"];
  fhir:Task.intent [ fhir:value "proposal"];
  fhir:Task.priority [ fhir:value "routine"];
  fhir:Task.code [
     fhir:CodeableConcept.text [ fhir:value "Medication Reconciliation" ]
  ];
  fhir:Task.for [
     fhir:Reference.reference [ fhir:value "Patient/example" ]
  ];
  fhir:Task.executionPeriod [
     fhir:Period.start [ fhir:value "2018-06-11"^^xsd:date ];
     fhir:Period.end [ fhir:value "2018-06-11"^^xsd:date ]
  ].

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

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