@prefix fhir: <http://hl7.org/fhir/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@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://twcore.mohw.gov.tw/ig/twcore/Encounter/enc-example> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "enc-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore"^^xsd:anyURI ;
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>就醫資料</b></h3><p><b>識別碼</b>：E22081702</p><p><b>就醫現況</b>：finished</p><p><b>就醫分類</b>：pre-admission <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://terminology.hl7.org/4.0.0/ValueSet-v3-ActEncounterCode.html\">ActEncounterCode</a>#PRENC)</span></p><p><b>就醫種類</b>：Annual diabetes mellitus screening <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-encounter-type.html\">Encounter type</a>#ADMS)</span></p><p><b>服務型別</b>：腎臟內科(Nephrology (qualifier value)) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://snomed.info/sct\">Service type</a>#394589003)</span></p><p><b>病人</b>：<a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>出院後的地點</b>：Home <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-encounter-discharge-disposition.html\">Discharge disposition</a>#home)</span></p><p><b>就醫發生的地點</b>：<a href=\"Location-loc-ent-example.html\">Location/loc-ent-example</a> \"衛生福利部臺北醫院\"</p><h3>參與就醫的健康照護服務提供者</h3><table class=\"grid\"><tr><td>-</td><td><b>角色</b></td><td><b>參與時段</b></td><td><b>參與人</b></td></tr><tr><td>*</td><td>primary performer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://terminology.hl7.org/4.0.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PPRF)</span></td><td>2022-08-01 17:00:14+08:00 --&gt; 2022-08-01 18:00:14+08:00</td><td><a href=\"Practitioner-pra-dr-example.html\">Practitioner/pra-dr-example</a> \"王依昇\"</td></tr></table><p><b>就醫的開始和結束時間</b>：2022-08-01 17:00:14+08:00 --&gt; 2022-08-01T18:00:14 08:00</p><p><b>就醫原因</b>：FH: Diabetes mellitus <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#160303001)</span></p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:system [
       fhir:v "http://healthcare.example.org/identifiers/enocunter"^^xsd:anyURI ;
       fhir:l <http://healthcare.example.org/identifiers/enocunter>
     ] ;
     fhir:value [ fhir:v "E22081702" ]
  ] ) ; # 
  fhir:status [ fhir:v "finished"] ; # 
  fhir:class [
     fhir:system [
       fhir:v "http://terminology.hl7.org/CodeSystem/v3-ActCode"^^xsd:anyURI ;
       fhir:l <http://terminology.hl7.org/CodeSystem/v3-ActCode>
     ] ;
     fhir:code [ fhir:v "PRENC" ]
  ] ; # 
  fhir:type ( [
     fhir:coding ( [
       fhir:system [
         fhir:v "http://terminology.hl7.org/CodeSystem/encounter-type"^^xsd:anyURI ;
         fhir:l <http://terminology.hl7.org/CodeSystem/encounter-type>
       ] ;
       fhir:code [ fhir:v "ADMS" ]
     ] )
  ] ) ; # 
  fhir:serviceType [
     fhir:coding ( [
       a sct:394589003 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "394589003" ] ;
       fhir:display [ fhir:v "Nephrology (qualifier value)" ]
     ] ) ;
     fhir:text [ fhir:v "腎臟內科" ]
  ] ; # 
  fhir:subject [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example> ;
     fhir:reference [ fhir:v "Patient/pat-example" ]
  ] ; # 
  fhir:participant ( [
     fhir:type ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-ParticipationType"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-ParticipationType>
         ] ;
         fhir:code [ fhir:v "PPRF" ]
       ] )
     ] ) ;
     fhir:period [
       fhir:start [ fhir:v "2022-08-01T17:00:14+08:00"^^xsd:dateTime ] ;
       fhir:end [ fhir:v "2022-08-01T18:00:14+08:00"^^xsd:dateTime ]
     ] ;
     fhir:individual [
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Practitioner/pra-dr-example> ;
       fhir:reference [ fhir:v "Practitioner/pra-dr-example" ]
     ]
  ] ) ; # 
  fhir:period [
     fhir:start [ fhir:v "2022-08-01T17:00:14+08:00"^^xsd:dateTime ] ;
     fhir:end [ fhir:v "2022-08-01T18:00:14+08:00"^^xsd:dateTime ]
  ] ; # 
  fhir:reasonCode ( [
     fhir:coding ( [
       a sct:160303001 ;
       fhir:system [
         fhir:v "http://snomed.info/sct"^^xsd:anyURI ;
         fhir:l <http://snomed.info/sct>
       ] ;
       fhir:code [ fhir:v "160303001" ] ;
       fhir:display [ fhir:v "FH: Diabetes mellitus" ]
     ] )
  ] ) ; # 
  fhir:hospitalization [
     fhir:dischargeDisposition [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/discharge-disposition"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/discharge-disposition>
         ] ;
         fhir:code [ fhir:v "home" ]
       ] )
     ]
  ] ; # 
  fhir:location ( [
     fhir:location [
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Location/loc-ent-example> ;
       fhir:reference [ fhir:v "Location/loc-ent-example" ]
     ]
  ] ) . # 

# -------------------------------------------------------------------------------------

