@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 -------------------------------------------------------------------

<http://dental-ig.fhir.tw/Encounter/Dental-periodontal-encounter-example> a fhir:Encounter ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Dental-periodontal-encounter-example"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "http://dental-ig.fhir.tw/StructureDefinition/Encounter-twdental" ;
       fhir:index 0 ;
       fhir:link <http://dental-ig.fhir.tw/StructureDefinition/Encounter-twdental>
     ]
  ] ;
  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 Dental-periodontal-encounter-example</b></p><a name=\"Dental-periodontal-encounter-example\"> </a><a name=\"hcDental-periodontal-encounter-example\"> </a><div style=\"display: inline-block; background-color: #fbffeb; 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-twdental.html\">牙醫－就醫事件</a></p></div><p><b>identifier</b>: <code>http://dental-ig.fhir.tw/identifier/nhis-sequence</code>/NHIS123456</p><p><b>status</b>: Finished</p><p><b>class</b>: <a href=\"http://terminology.hl7.org/7.5.0/CodeSystem-v3-ActCode.html#v3-ActCode-AMB\">ActCode: AMB</a> (ambulatory)</p><p><b>serviceType</b>: <span title=\"Codes:{http://snomed.info/sct 722163006}\">Dentistry</span></p><p><b>subject</b>: <a href=\"Patient-Dental-periodontal-patient-example.html\">王大明(official) Male, DoB: 1990-01-15 ( National unique individual identifier: A123456789)</a></p><h3>Participants</h3><table class=\"grid\"><tr><td style=\"display: none\">-</td><td><b>Type</b></td><td><b>Individual</b></td></tr><tr><td style=\"display: none\">*</td><td><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-ParticipationType PPRF}\">primary performer</span></td><td><a href=\"Practitioner-Dental-practitioner-example.html\">李醫師 (National unique individual identifier: B123456789)</a></td></tr></table><p><b>period</b>: 2025-01-01 09:00:00+0800 --&gt; 2025-01-01 09:30:00+0800</p><p><b>serviceProvider</b>: <a href=\"Organization-Dental-organization-example.html\">幸福牙醫中心 (Healthcare Provider) (A123456789)</a></p></div>"
  ] ;
  fhir:Encounter.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://dental-ig.fhir.tw/identifier/nhis-sequence" ] ;
     fhir:Identifier.value [ fhir:value "NHIS123456" ]
  ] ;
  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 "AMB" ] ;
     fhir:Coding.display [ fhir:value "ambulatory" ]
  ] ;
  fhir:Encounter.serviceType [
     fhir:CodeableConcept.coding [
       fhir:index 0 ;
       a sct:722163006 ;
       fhir:Coding.system [ fhir:value "http://snomed.info/sct" ] ;
       fhir:Coding.code [ fhir:value "722163006" ] ;
       fhir:Coding.display [ fhir:value "Dentistry" ]
     ]
  ] ;
  fhir:Encounter.subject [
     fhir:link <http://dental-ig.fhir.tw/Patient/Dental-periodontal-patient-example> ;
     fhir:Reference.reference [ fhir:value "Patient/Dental-periodontal-patient-example" ]
  ] ;
  fhir:Encounter.participant [
     fhir:index 0 ;
     fhir:Encounter.participant.type [
       fhir:index 0 ;
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v3-ParticipationType" ] ;
         fhir:Coding.code [ fhir:value "PPRF" ] ;
         fhir:Coding.display [ fhir:value "primary performer" ]
       ]
     ] ;
     fhir:Encounter.participant.individual [
       fhir:link <http://dental-ig.fhir.tw/Practitioner/Dental-practitioner-example> ;
       fhir:Reference.reference [ fhir:value "Practitioner/Dental-practitioner-example" ]
     ]
  ] ;
  fhir:Encounter.period [
     fhir:Period.start [ fhir:value "2025-01-01T09:00:00+08:00"^^xsd:dateTime ] ;
     fhir:Period.end [ fhir:value "2025-01-01T09:30:00+08:00"^^xsd:dateTime ]
  ] ;
  fhir:Encounter.serviceProvider [
     fhir:link <http://dental-ig.fhir.tw/Organization/Dental-organization-example> ;
     fhir:Reference.reference [ fhir:value "Organization/Dental-organization-example" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://dental-ig.fhir.tw/Encounter/Dental-periodontal-encounter-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

