@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 -------------------------------------------------------------------

<https://sfaa.gov.tw/base/Task/referral-acceptance-min> a fhir:Task ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "referral-acceptance-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sfaa.gov.tw/base/StructureDefinition/ReferralAcceptanceTask-twss-base" ;
       fhir:index 0 ;
       fhir:link <https://sfaa.gov.tw/base/StructureDefinition/ReferralAcceptanceTask-twss-base>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>個案轉介受理</b></h3><p><b>個案</b>：<a href=\"Patient-pat-min.html\">Patient/pat-min</a></p><p><b>轉介請求</b>：<a href=\"ServiceRequest-referral-request-min.html\">ServiceRequest/referral-request-min</a></p><p><b>受轉介日期</b>：2026-08-08T10:00:00+08:00</p><p><b>轉介受理情形</b>：<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"><a href=\"CodeSystem-twss-referral-handling-status.html\">TWSS 轉介處理狀態代碼系統</a>#accepted</span> 受案</p></div>"
  ] ;
  fhir:Task.status [ fhir:value "completed"] ;
  fhir:Task.intent [ fhir:value "order"] ;
  fhir:Task.focus [
     fhir:link <https://sfaa.gov.tw/base/ServiceRequest/referral-request-min> ;
     fhir:Reference.reference [ fhir:value "ServiceRequest/referral-request-min" ]
  ] ;
  fhir:Task.for [
     fhir:link <https://sfaa.gov.tw/base/Patient/pat-min> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-min" ]
  ] ;
  fhir:Task.authoredOn [ fhir:value "2026-08-08T10:00:00+08:00"^^xsd:dateTime] ;
  fhir:Task.requester [
     fhir:link <https://sfaa.gov.tw/base/Organization/org-min> ;
     fhir:Reference.reference [ fhir:value "Organization/org-min" ]
  ] ;
  fhir:Task.owner [
     fhir:link <https://sfaa.gov.tw/base/Organization/org-min> ;
     fhir:Reference.reference [ fhir:value "Organization/org-min" ]
  ] ;
  fhir:Task.output [
     fhir:index 0 ;
     fhir:Task.output.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://sfaa.gov.tw/base/CodeSystem/twss-task-output-type" ] ;
         fhir:Coding.code [ fhir:value "referral-acceptance-decision" ] ;
         fhir:Coding.display [ fhir:value "轉介受理情形" ]
       ]
     ] ;
     fhir:Task.output.valueCodeableConcept [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "https://sfaa.gov.tw/base/CodeSystem/twss-referral-handling-status" ] ;
         fhir:Coding.code [ fhir:value "accepted" ] ;
         fhir:Coding.display [ fhir:value "受案" ]
       ]
     ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/Task/referral-acceptance-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

