@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://ltc-ig.fhir.tw/ServiceRequest/hah-transfer-request> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "hah-transfer-request"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://ltc-ig.fhir.tw/StructureDefinition/HAHServiceRequest" ;
       fhir:index 0 ;
       fhir:link <http://ltc-ig.fhir.tw/StructureDefinition/HAHServiceRequest>
     ]
  ] ;
  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: ServiceRequest hah-transfer-request</b></p><a name=\"hah-transfer-request\"> </a><a name=\"hchah-transfer-request\"> </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-HAHServiceRequest.html\">在宅急症－服務請求</a></p></div><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://ltc-ig.fhir.tw/CodeSystem/hah-activity referral}\">轉介</span></p><p><b>code</b>: <span title=\"Codes:{http://ltc-ig.fhir.tw/CodeSystem/hah-activity referral}\">轉介</span></p><p><b>subject</b>: <a href=\"Patient-hah-patient.html\">王測試 Male, DoB: 1945-03-15 ( Provider number)</a></p><p><b>encounter</b>: <a href=\"Encounter-hah-transfer-admission.html\">Encounter: status = finished; class = inpatient encounter (ActCode#IMP); type = 在宅急症照護; period = 2026-09-10 08:00:00+0800 --&gt; 2026-09-11 10:00:00+0800</a></p><p><b>authoredOn</b>: 2026-09-11 09:30:00+0800</p><p><b>requester</b>: <a href=\"Practitioner-hah-practitioner.html\">Practitioner 李示範</a></p><p><b>performer</b>: <a href=\"Organization-hah-receiving-hospital.html\">Organization 轉院接收示範醫院</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">本次照護需要超出居家服務能力，安排轉院評估。</span></p></div>"
  ] ;
  fhir:ServiceRequest.status [ fhir:value "active"] ;
  fhir:ServiceRequest.intent [ fhir:value "order"] ;
  fhir:ServiceRequest.category [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://ltc-ig.fhir.tw/CodeSystem/hah-activity" ] ;
       fhir:Coding.code [ fhir:value "referral" ]
     ]
  ] ;
  fhir:ServiceRequest.code [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "http://ltc-ig.fhir.tw/CodeSystem/hah-activity" ] ;
       fhir:Coding.code [ fhir:value "referral" ]
     ]
  ] ;
  fhir:ServiceRequest.subject [
     fhir:link <http://ltc-ig.fhir.tw/Patient/hah-patient> ;
     fhir:Reference.reference [ fhir:value "Patient/hah-patient" ]
  ] ;
  fhir:ServiceRequest.encounter [
     fhir:link <http://ltc-ig.fhir.tw/Encounter/hah-transfer-admission> ;
     fhir:Reference.reference [ fhir:value "Encounter/hah-transfer-admission" ]
  ] ;
  fhir:ServiceRequest.authoredOn [ fhir:value "2026-09-11T09:30:00+08:00"^^xsd:dateTime] ;
  fhir:ServiceRequest.requester [
     fhir:link <http://ltc-ig.fhir.tw/Practitioner/hah-practitioner> ;
     fhir:Reference.reference [ fhir:value "Practitioner/hah-practitioner" ]
  ] ;
  fhir:ServiceRequest.performer [
     fhir:index 0 ;
     fhir:link <http://ltc-ig.fhir.tw/Organization/hah-receiving-hospital> ;
     fhir:Reference.reference [ fhir:value "Organization/hah-receiving-hospital" ]
  ] ;
  fhir:ServiceRequest.reasonCode [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "本次照護需要超出居家服務能力，安排轉院評估。" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://ltc-ig.fhir.tw/ServiceRequest/hah-transfer-request.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

