@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://nhicore.nhi.gov.tw/empd/Encounter/enc-01-ep> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "enc-01-ep"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://nhicore.nhi.gov.tw/empd/StructureDefinition/Encounter-EMPD" ;
       fhir:index 0 ;
       fhir:link <https://nhicore.nhi.gov.tw/empd/StructureDefinition/Encounter-EMPD>
     ]
  ] ;
  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: Encounter enc-01-ep</b></p><a name=\"enc-01-ep\"> </a><a name=\"hcenc-01-ep\"> </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-Encounter-EMPD.html\">電子處方箋-門診基本資料</a></p></div><p><b>identifier</b>: <code>https://nhicore.nhi.gov.tw/empd/sid/visit-identifier</code>/0USE4FA11RP4J370WR4K, <code>https://nhicore.nhi.gov.tw/empd/sid/nhi-card-visit-sequence</code>/001</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"CodeSystem-CaseType-cs.html#CaseType-cs-01\">案件分類: 01</a> (西醫一般案件)</p><p><b>serviceType</b>: <span title=\"Codes:{https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw 00}\">不分科</span></p><p><b>subject</b>: <a href=\"Patient-pat-ep.html\">甄○康(official) Female, DoB: 1985-01-02 ( Medical record number: Z199999829 (use: official, ))</a></p><p><b>period</b>: 2026-07-21 --&gt; (ongoing)</p></div>"
  ] ;
  fhir:Encounter.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "https://nhicore.nhi.gov.tw/empd/sid/visit-identifier" ] ;
     fhir:Identifier.value [ fhir:value "0USE4FA11RP4J370WR4K" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.system [ fhir:value "https://nhicore.nhi.gov.tw/empd/sid/nhi-card-visit-sequence" ] ;
     fhir:Identifier.value [ fhir:value "001" ]
  ] ;
  fhir:Encounter.status [ fhir:value "finished"] ;
  fhir:Encounter.class [
     fhir:Coding.system [ fhir:value "https://nhicore.nhi.gov.tw/empd/CodeSystem/CaseType-cs" ] ;
     fhir:Coding.code [ fhir:value "01" ] ;
     fhir:Coding.display [ fhir:value "西醫一般案件" ]
  ] ;
  fhir:Encounter.serviceType [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       fhir:Coding.system [ fhir:value "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-treatment-department-nhi-tw" ] ;
       fhir:Coding.code [ fhir:value "00" ] ;
       fhir:Coding.display [ fhir:value "不分科" ]
     ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <https://nhicore.nhi.gov.tw/empd/Patient/pat-ep> ;
     fhir:Reference.reference [ fhir:value "Patient/pat-ep" ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2026-07-21"^^xsd:date ]
  ] .

# - ontology header ------------------------------------------------------------

<https://nhicore.nhi.gov.tw/empd/Encounter/enc-01-ep.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

