@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://fhir.hl7.org.vn/core/Task/ExampleTaskReferralAccepted> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "ExampleTaskReferralAccepted"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-task" ;
       fhir:index -1 ;
       fhir:link <http://fhir.hl7.org.vn/core/StructureDefinition/vn-core-task>
     ]
  ] ;
  fhir:Resource.language [ fhir:value "vi"] ;
  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 ExampleTaskReferralAccepted</b></p><a name=\"ExampleTaskReferralAccepted\"> </a><a name=\"hcExampleTaskReferralAccepted\"> </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-vn-core-task.html\">Công việc điều phối VN Core — VN Core Task Profile</a></p></div><p><b>status</b>: Accepted</p><p><b>businessStatus</b>: <span title=\"Codes:{http://fhir.hl7.org.vn/core/CodeSystem/vn-task-business-status-cs REF-ACCEPTED}\">Cơ sở nhận đồng ý tiếp nhận</span></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-ExampleServiceRequestCounterReferral.html\">Giấy chuyển về tuyến dưới sau đợt cấp cứu</a></p><p><b>for</b>: <a href=\"Patient-ExamplePatientNguyenVanAn.html\">Nguyễn Văn An</a></p><p><b>executionPeriod</b>: 2026-04-21 05:50:00+0700 --&gt; (ongoing)</p><p><b>authoredOn</b>: 2026-04-21 05:50:00+0700</p><p><b>lastModified</b>: 2026-04-21 05:55:00+0700</p><p><b>requester</b>: <a href=\"Organization-ExampleOrganizationChoRay.html\">Bệnh viện Chợ Rẫy</a></p><p><b>owner</b>: <a href=\"Organization-ExampleOrganizationTramYTe.html\">Trạm Y tế phường Ngọc Hà</a></p><p><b>note</b>: </p><blockquote><div><p>Trạm Y tế xác nhận đủ điều kiện theo dõi ngoại trú; đã xếp lịch tái khám ngày 28/04/2026. Người bệnh chưa đến tại thời điểm ghi nhận.</p>\n</div></blockquote></div>"
  ] ;
  fhir:Task.status [ fhir:value "accepted"] ;
  fhir:Task.businessStatus [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       fhir:Coding.system [ fhir:value "http://fhir.hl7.org.vn/core/CodeSystem/vn-task-business-status-cs" ] ;
       fhir:Coding.code [ fhir:value "REF-ACCEPTED" ] ;
       fhir:Coding.display [ fhir:value "Cơ sở nhận đồng ý tiếp nhận" ]
     ]
  ] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.priority [ fhir:value "routine"] ;
  fhir:Task.code [
     fhir:CodeableConcept.coding [
       fhir:index -1 ;
       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://fhir.hl7.org.vn/core/ServiceRequest/ExampleServiceRequestCounterReferral> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/ExampleServiceRequestCounterReferral" ] ;
     fhir:Reference.display [ fhir:value "Giấy chuyển về tuyến dưới sau đợt cấp cứu" ]
  ] ;
  fhir:Task.for [
     fhir:link <http://fhir.hl7.org.vn/core/Patient/ExamplePatientNguyenVanAn> ;
     fhir:Reference.reference [ fhir:value "Patient/ExamplePatientNguyenVanAn" ] ;
     fhir:Reference.display [ fhir:value "Nguyễn Văn An" ]
  ] ;
  fhir:Task.executionPeriod [
     fhir:Period.start [ fhir:value "2026-04-21T05:50:00+07:00"^^xsd:dateTime ]
  ] ;
  fhir:Task.authoredOn [ fhir:value "2026-04-21T05:50:00+07:00"^^xsd:dateTime] ;
  fhir:Task.lastModified [ fhir:value "2026-04-21T05:55:00+07:00"^^xsd:dateTime] ;
  fhir:Task.requester [
     fhir:link <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationChoRay> ;
     fhir:Reference.reference [ fhir:value "Organization/ExampleOrganizationChoRay" ] ;
     fhir:Reference.display [ fhir:value "Bệnh viện Chợ Rẫy" ]
  ] ;
  fhir:Task.owner [
     fhir:link <http://fhir.hl7.org.vn/core/Organization/ExampleOrganizationTramYTe> ;
     fhir:Reference.reference [ fhir:value "Organization/ExampleOrganizationTramYTe" ] ;
     fhir:Reference.display [ fhir:value "Trạm Y tế phường Ngọc Hà" ]
  ] ;
  fhir:Task.note [
     fhir:index -1 ;
     fhir:Annotation.text [ fhir:value "Trạm Y tế xác nhận đủ điều kiện theo dõi ngoại trú; đã xếp lịch tái khám ngày 28/04/2026. Người bệnh chưa đến tại thời điểm ghi nhận." ]
  ] .

# - ontology header ------------------------------------------------------------

<http://fhir.hl7.org.vn/core/Task/ExampleTaskReferralAccepted.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

