QI-Core Implementation Guide
4.1.0 - release

This page is part of the Quality Improvement Core Framework (v4.1.0: STU 4) based on FHIR R4. 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 - TTL Representation

Raw ttl | Download


@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:link <http://hl7.org/fhir/us/qicore/StructureDefinition/qicore-task>     ]
  ];
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ];
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p><b>Generated Narrative</b></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 \"example\" </p><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-qicore-task.html\">QICoreTask</a></p></div><p><b>identifier</b>: id: 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; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>for</b>: <a href=\"Patient-example.html\">Patient/example</a> \" CHALMERS\"</p><p><b>executionPeriod</b>: 2018-06-11 --&gt; 2018-06-11</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.