Structured Data Capture
3.0.0 - STU 3 International flag

This page is part of the Structured Data Capture FHIR IG (v3.0.0: STU 3) based on FHIR R4. This is the current published version in its permanent home (it will always be available at this URL). For a full list of available versions, see the Directory of published versions

: Request-based solicitation example - Task - TTL Representation

Page standards status: Informative

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 "request-task-example"];
  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 \"request-task-example\" </p></div><p><b>status</b>: rejected</p><p><b>statusReason</b>: Unable to recall <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> ()</span></p><p><b>intent</b>: order</p><p><b>code</b>: Fulfill the focal request <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> (<a href=\"http://hl7.org/fhir/R4/codesystem-task-code.html\">Task Codes</a>#fulfill)</span></p><p><b>focus</b>: <a href=\"ServiceRequest-example.html\">ServiceRequest/example</a></p><p><b>for</b>: <a href=\"http://hl7.org/fhir/Patient/proband\">http://hl7.org/fhir/Patient/proband: Annie Proband</a></p><p><b>authoredOn</b>: 2021-09-06</p><p><b>requester</b>: <a href=\"http://hl7.org/fhir/PractitionerRole/example\">http://hl7.org/fhir/PractitionerRole/example: Dr. Adam Careful, Acme Hospital</a></p><p><b>owner</b>: <a href=\"http://hl7.org/fhir/Patient/proband\">http://hl7.org/fhir/Patient/proband: Annie Proband</a></p></div>"
  ];
  fhir:Task.status [ fhir:value "rejected"];
  fhir:Task.statusReason [
     fhir:CodeableConcept.text [ fhir:value "Unable to recall" ]
  ];
  fhir:Task.intent [ fhir:value "order"];
  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:Task.focus [
     fhir:Reference.reference [ fhir:value "ServiceRequest/example" ]
  ];
  fhir:Task.for [
     fhir:link <http://hl7.org/fhir/Patient/proband>;
     fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Patient/proband" ];
     fhir:Reference.display [ fhir:value "Annie Proband" ]
  ];
  fhir:Task.authoredOn [ fhir:value "2021-09-06"^^xsd:date];
  fhir:Task.requester [
     fhir:link <http://hl7.org/fhir/PractitionerRole/example>;
     fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/PractitionerRole/example" ];
     fhir:Reference.display [ fhir:value "Dr. Adam Careful, Acme Hospital" ]
  ];
  fhir:Task.owner [
     fhir:link <http://hl7.org/fhir/Patient/proband>;
     fhir:Reference.reference [ fhir:value "http://hl7.org/fhir/Patient/proband" ];
     fhir:Reference.display [ fhir:value "Annie Proband" ]
  ].

<http://hl7.org/fhir/Patient/proband> a fhir:Patient.

<http://hl7.org/fhir/PractitionerRole/example> a fhir:PractitionerRole.

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

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