@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-from-assessment-min> a fhir:ServiceRequest ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "referral-from-assessment-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\"><p class=\"res-header-id\"><b>Generated Narrative: ServiceRequest referral-from-assessment-min</b></p><a name=\"referral-from-assessment-min\"> </a><a name=\"hcreferral-from-assessment-min\"> </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-ServiceRequest-referral-twss-base.html\">個案轉介-ServiceRequest TWSS Base</a></p></div><p><b>identifier</b>: <code>https://example.org/twss/referral</code>/REFERRAL-2026-ASSESSMENT-0001</p><p><b>status</b>: Active</p><p><b>intent</b>: Order</p><p><b>category</b>: <span title=\"Codes:{http://snomed.info/sct 306206005}\">Referral to service</span></p><p><b>code</b>: <span title=\"Codes:{http://snomed.info/sct 3457005}\">Patient referral</span></p><p><b>subject</b>: <a href=\"Patient-pat-min.html\">王小明 Male, DoB: 2001-01-01 ( 服務對象編號: CLIENT-001 (use: official, ))</a></p><p><b>authoredOn</b>: 2026-08-01 10:00:00+0800</p><p><b>requester</b>: <a href=\"Organization-org-min.html\">Organization 社家署示範機構</a></p><p><b>performer</b>: <a href=\"Organization-org-childcare.html\">Organization 安心托嬰中心</a></p><p><b>reasonCode</b>: <span title=\"Codes:\">評估後建議轉介至適合的服務單位。</span></p><p><b>supportingInfo</b>: </p><ul><li><a href=\"Encounter-assessment-service-min.html\">Encounter: status = finished; class = ambulatory (ActCode#AMB); type = 面訪家庭; period = 2026-07-29 10:00:00+0800 --&gt; 2026-07-29 11:00:00+0800</a></li><li><a href=\"QuestionnaireResponse-living-condition-questionnaire-response-min.html\">Response to Questionnaire '-&gt;居住狀況評估 Questionnaire' about '-&gt;王小明 Male, DoB: 2001-01-01 ( 服務對象編號: CLIENT-001 (use: official, ))'</a></li></ul></div>"
  ] ;
  fhir:ServiceRequest.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://example.org/twss/referral" ] ;
     fhir:Identifier.value [ fhir:value "REFERRAL-2026-ASSESSMENT-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-08-01T10: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 "評估後建議轉介至適合的服務單位。" ]
  ] ;
  fhir:ServiceRequest.supportingInfo [
     fhir:index 0 ;
     fhir:link <https://sfaa.gov.tw/base/Encounter/assessment-service-min> ;
     fhir:Reference.reference [ fhir:value "Encounter/assessment-service-min" ]
  ], [
     fhir:index 1 ;
     fhir:link <https://sfaa.gov.tw/base/QuestionnaireResponse/living-condition-questionnaire-response-min> ;
     fhir:Reference.reference [ fhir:value "QuestionnaireResponse/living-condition-questionnaire-response-min" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/ServiceRequest/referral-from-assessment-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

