PH eReferral Implementation Guide
0.3.0-draft - draft Philippines

PH eReferral Implementation Guide - Local Development build (v0.3.0-draft) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

: Task — Referral Tracking - TTL Representation

Raw ttl | Download


@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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 "task-referral-ex"] ; # 
  fhir:meta [
    ( fhir:tag [
fhir:system [
fhir:v "https://example.com/peref-dd"^^xsd:anyURI ;
fhir:l <https://example.com/peref-dd>       ] ;
fhir:code [ fhir:v "REF-16" ] ;
fhir:display [ fhir:v "REF-16" ]     ] [
fhir:system [
fhir:v "https://example.com/peref-dd"^^xsd:anyURI ;
fhir:l <https://example.com/peref-dd>       ] ;
fhir:code [ fhir:v "REF-42" ] ;
fhir:display [ fhir:v "REF-42" ]     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Task task-referral-ex</b></p><a name=\"task-referral-ex\"> </a><a name=\"hctask-referral-ex\"> </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\">Tags: REF-16 (Details: peref-dd code REF-16), REF-42 (Details: peref-dd code REF-42)</p></div><p><b>status</b>: Requested</p><p><b>businessStatus</b>: <span title=\"Codes:{https://example.com/peref/CodeSystem/referral-disposition requested}\">Requested</span></p><p><b>intent</b>: order</p><p><b>focus</b>: <a href=\"Bundle-anc-contact-transaction-ex.html#urn-uuid-f2a3b4c5-d6e7-8901-fabc-012345678901\">ServiceRequest Ultrasound scan - Loss of pregnancy</a></p><p><b>for</b>: <a href=\"Bundle-registration-transaction-ex.html#urn-uuid-f47ac10b-58cc-4372-a567-0e02b2c3d479\">Charity Santos (official) Female, DoB: 2001-08-15 ( http://doh.gov.ph/fhir/ph-core/NamingSystem/philsys-id-ns#1234-5678901-2)</a></p><p><b>encounter</b>: <a href=\"Bundle-anc-contact-transaction-ex.html#urn-uuid-b2c3d4e5-f6a7-8901-bcde-f12345678901\">Encounter: status = finished; class = ambulatory (ActCode#AMB); type = Prenatal initial visit; period = 2026-02-24 08:30:00+0800 --&gt; 2026-02-24 10:00:00+0800; reasonCode = Pregnant</a></p><p><b>authoredOn</b>: 2026-02-24</p><p><b>requester</b>: <a href=\"Bundle-anc-contact-transaction-ex.html#urn-uuid-5f9a7c1d-6b8e-7d4f-2c1a-0e9b8a7f6e5d\">PractitionerRole Nurse</a></p><p><b>owner</b>: <a href=\"Bundle-anc-contact-transaction-ex.html#urn-uuid-1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed\">Organization Metro Imaging Centre</a></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:status [ fhir:v "requested"] ; # 
  fhir:businessStatus [
    ( fhir:coding [
fhir:system [
fhir:v "https://example.com/peref/CodeSystem/referral-disposition"^^xsd:anyURI ;
fhir:l <https://example.com/peref/CodeSystem/referral-disposition>       ] ;
fhir:code [ fhir:v "requested" ] ;
fhir:display [ fhir:v "Requested" ]     ] )
  ] ; # 
  fhir:intent [ fhir:v "order"] ; # 
  fhir:focus [
fhir:l <urn:uuid:f2a3b4c5-d6e7-8901-fabc-012345678901> ;
fhir:reference [ fhir:v "urn:uuid:f2a3b4c5-d6e7-8901-fabc-012345678901" ]
  ] ; # 
  fhir:for [
fhir:l <urn:uuid:f47ac10b-58cc-4372-a567-0e02b2c3d479> ;
fhir:reference [ fhir:v "urn:uuid:f47ac10b-58cc-4372-a567-0e02b2c3d479" ]
  ] ; # 
  fhir:encounter [
fhir:l <urn:uuid:b2c3d4e5-f6a7-8901-bcde-f12345678901> ;
fhir:reference [ fhir:v "urn:uuid:b2c3d4e5-f6a7-8901-bcde-f12345678901" ]
  ] ; # 
  fhir:authoredOn [ fhir:v "2026-02-24"^^xsd:date] ; # 
  fhir:requester [
fhir:l <urn:uuid:5f9a7c1d-6b8e-7d4f-2c1a-0e9b8a7f6e5d> ;
fhir:reference [ fhir:v "urn:uuid:5f9a7c1d-6b8e-7d4f-2c1a-0e9b8a7f6e5d" ]
  ] ; # 
  fhir:owner [
fhir:l <urn:uuid:1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed> ;
fhir:reference [ fhir:v "urn:uuid:1b9d6bcd-bbfd-4b2d-9b5d-ab8dfbbd4bed" ]
  ] . #