@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 sct: <http://snomed.info/id/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<https://sfaa.gov.tw/base/ServiceRequest/referral-request-min> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "referral-request-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sfaa.gov.tw/base/StructureDefinition/ServiceRequest-referral-twss-base" ;
       fhir:index 0 ;
       fhir:link <https://sfaa.gov.tw/base/StructureDefinition/ServiceRequest-referral-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>：REFERRAL-2026-0001</p><p><b>個案</b>：<a href=\"Patient-pat-min.html\">Patient/pat-min</a> \"王小明\"</p><p><b>轉介日期</b>：2026-07-29T09:00:00+08:00</p><p><b>個案轉介類型</b>：Referral to service <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://snomed.info/id/306206005\">SNOMED CT</a>#306206005）</span></p><p><b>個案轉介請求項目</b>：Patient referral <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://snomed.info/id/3457005\">SNOMED CT</a>#3457005）</span></p><p><b>轉介單位</b>：<a href=\"Organization-org-min.html\">Organization/org-min</a></p><p><b>受轉介單位</b>：<a href=\"Organization-org-childcare.html\">Organization/org-childcare</a></p><p><b>轉介原因</b>：案家遷居，需由居住地服務單位接續提供服務。</p></div>"
  ] ;
  fhir:ServiceRequest.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://example.org/twss/referral" ] ;
     fhir:Identifier.value [ fhir:value "REFERRAL-2026-0001" ]
  ] ;
  fhir:ServiceRequest.status [ fhir:value "active"] ;
  fhir:ServiceRequest.intent [ fhir:value "order"] ;
  fhir:ServiceRequest.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:306206005 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "306206005" ] ;
       fhir:Coding.display [ fhir:value "Referral to service" ]
     ]
  ] ;
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:3457005 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "3457005" ] ;
       fhir:Coding.display [ fhir:value "Patient referral" ]
     ]
  ] ;
  fhir:ServiceRequest.subject [
     fhir:link <https://sfaa.gov.tw/base/Patient/pat-min> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-min" ]
  ] ;
  fhir:ServiceRequest.authoredOn [ fhir:value "2026-07-29T09:00:00+08:00"^^xsd:dateTime] ;
  fhir:ServiceRequest.requester [
     fhir:link <https://sfaa.gov.tw/base/Organization/org-min> ;
     fhir:Reference.reference [ fhir:value "Organization/org-min" ]
  ] ;
  fhir:ServiceRequest.performer [
     fhir:index 0 ;
     fhir:link <https://sfaa.gov.tw/base/Organization/org-childcare> ;
     fhir:Reference.reference [ fhir:value "Organization/org-childcare" ]
  ] ;
  fhir:ServiceRequest.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "案家遷居，需由居住地服務單位接續提供服務。" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/ServiceRequest/referral-request-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

