@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/Encounter/placement-min> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "placement-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sfaa.gov.tw/base/StructureDefinition/PlacementEncounter-twss-base" ;
       fhir:index 0 ;
       fhir:link <https://sfaa.gov.tw/base/StructureDefinition/PlacementEncounter-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>：兒少安置及教養機構 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（<a href=\"CodeSystem-twss-placement-type.html\">TWSS 安置類型</a>#A）</span></p><p><b>個案</b>：<a href=\"Patient-pat-min.html\">Patient/pat-min</a> \"王小明\"</p><p><b>服務案件</b>：<a href=\"EpisodeOfCare-episode-base.html\">EpisodeOfCare/episode-base</a></p><p><b>服務提供機構</b>：<a href=\"Organization-org-min.html\">Organization/org-min</a></p><p><b>服務期間</b>：2026-07-01 至 2026-07-29</p></div>"
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ActCode" ] ;
     fhir:Coding.code [ fhir:value "IMP" ] ;
     fhir:Coding.display [ fhir:value "inpatient encounter" ]
  ] ;
  fhir:Encounter.type [
     fhir:index 0 ;
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://sfaa.gov.tw/base/CodeSystem/twss-placement-type" ] ;
       fhir:Coding.code [ fhir:value "A" ] ;
       fhir:Coding.display [ fhir:value "兒少安置及教養機構" ]
     ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <https://sfaa.gov.tw/base/Patient/pat-min> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-min" ]
  ] ;
  fhir:Encounter.episodeOfCare [
     fhir:index 0 ;
     fhir:link <https://sfaa.gov.tw/base/EpisodeOfCare/episode-base> ;
     fhir:Reference.reference [ fhir:value "EpisodeOfCare/episode-base" ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2026-07-01T00:00:00+08:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2026-07-29T00:00:00+08:00"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.serviceProvider [
     fhir:link <https://sfaa.gov.tw/base/Organization/org-min> ;
     fhir:Reference.reference [ fhir:value "Organization/org-min" ]
  ] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/Encounter/placement-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

