@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 -------------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/Task/done-example> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "done-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-taskdone" ;
       fhir:index 0 ;
       fhir:link <http://hl7.org/fhir/us/quality-core/StructureDefinition/us-quality-core-taskdone>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task done-example</b></p><a name=\"done-example\"> </a><a name=\"hcdone-example\"> </a><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\"/><p style=\"margin-bottom: 0px\">Profile: <a href=\"StructureDefinition-us-quality-core-taskdone.html\">US Quality Core Task Done</a></p></div><p><b>identifier</b>: <code>http://www.acme.org/tasks</code>/19009</p><p><b>status</b>: Completed</p><p><b>intent</b>: order</p><p><b>priority</b>: Routine</p><p><b>code</b>: <span title=\"Codes:{http://hl7.org/fhir/CodeSystem/task-code fulfill}\">Fulfill the focal request</span></p><p><b>focus</b>: <a href=\"ServiceRequest-service-requested-example.html\">ServiceRequest Excision of appendix (procedure)</a></p><p><b>for</b>: <a href=\"Patient-example.html\">Example Patient  Male, DoB: 1974-12-25 ( Medical record number (use: usual, period: 2001-05-06 --&gt; (ongoing)))</a></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 "completed"] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.priority [ fhir:value "routine"] ;
  fhir:Task.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://hl7.org/fhir/CodeSystem/task-code" ] ;
       fhir:Coding.code [ fhir:value "fulfill" ] ;
       fhir:Coding.display [ fhir:value "Fulfill the focal request" ]
     ]
  ] ;
  fhir:Task.focus [
     fhir:link <http://hl7.org/fhir/us/quality-core/ServiceRequest/service-requested-example> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/service-requested-example" ]
  ] ;
  fhir:Task.for [
     fhir:link <http://hl7.org/fhir/us/quality-core/Patient/example> ;
     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 ]
  ] .

<http://hl7.org/fhir/us/quality-core/ServiceRequest/service-requested-example> a fhir:us .

<http://hl7.org/fhir/us/quality-core/Patient/example> a fhir:us .

# - ontology header ------------------------------------------------------------

<http://hl7.org/fhir/us/quality-core/Task/done-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl ;
  owl:versionIRI <http://build.fhir.org/us/quality-core/Task/done-example.ttl> .

# -------------------------------------------------------------------------------------

