@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 xsd: <http://www.w3.org/2001/XMLSchema#> .

# - resource -------------------------------------------------------------------

<http://dental-ig.fhir.tw/Patient/Dental-patient-example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "Dental-patient-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "http://dental-ig.fhir.tw/StructureDefinition/Patient-twdental"^^xsd:anyURI ;
       fhir:link <http://dental-ig.fhir.tw/StructureDefinition/Patient-twdental>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: Patient Dental-patient-example</b></p><a name=\"Dental-patient-example\"> </a><a name=\"hcDental-patient-example\"> </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-Patient-twdental.html\">牙醫－病人</a></p></div><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">王大明(official) Male, DoB: 1990-01-15 ( National unique individual identifier: A123456789)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td>true</td><td style=\"background-color: #f3f5da\" title=\"Known Marital status of Patient\">Marital Status:</td><td colspan=\"3\"><span title=\"Codes:{http://terminology.hl7.org/CodeSystem/v3-MaritalStatus M}\">Married</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Other Id (see the one above)\">Other Id:</td><td colspan=\"3\">Medical record number/MR-20250101-001</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Patient\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 0912-345-678</li><li>台北市信義區市民大道五段123號</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Language spoken\">Language:</td><td colspan=\"3\"><span title=\"Codes:{urn:ietf:bcp:47 zh-TW}\">Chinese (Taiwan)</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Nominated Contact: Emergency Contact\">Emergency Contact:</td><td colspan=\"3\"><ul><li>王美美</li><li>ph: 0923-456-789</li></ul></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Patient Links\">Links:</td><td colspan=\"3\"><ul><li>Managing Organization: <a href=\"Organization-Dental-organization-example.html\">Organization 幸福牙醫中心</a></li></ul></td></tr></table></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:identifier ( [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "NI" ]
       ] ) ;
       fhir:text [ fhir:v "National unique individual identifier" ]
     ] ;
     fhir:system [ fhir:v "http://www.moi.gov.tw/id"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "A123456789" ]
  ] [
     fhir:type [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "MR" ]
       ] ) ;
       fhir:text [ fhir:v "Medical record number" ]
     ] ;
     fhir:system [ fhir:v "https://dental-ig.fhir.tw/identifier/medical-record"^^xsd:anyURI ] ;
     fhir:value [ fhir:v "MR-20250101-001" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:text [ fhir:v "王大明" ]
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "0912-345-678" ]
  ] ) ; # 
  fhir:gender [ fhir:v "male"] ; # 
  fhir:birthDate [ fhir:v "1990-01-15"^^xsd:date] ; # 
  fhir:address ( [
     fhir:text [ fhir:v "台北市信義區市民大道五段123號" ]
  ] ) ; # 
  fhir:maritalStatus [
     fhir:coding ( [
       fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"^^xsd:anyURI ] ;
       fhir:code [ fhir:v "M" ] ;
       fhir:display [ fhir:v "Married" ]
     ] )
  ] ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0131"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "C" ] ;
         fhir:display [ fhir:v "Emergency Contact" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:text [ fhir:v "王美美" ]
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "0923-456-789" ]
     ] )
  ] ) ; # 
  fhir:communication ( [
     fhir:language [
       fhir:coding ( [
         fhir:system [ fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ] ;
         fhir:code [ fhir:v "zh-TW" ]
       ] ) ;
       fhir:text [ fhir:v "Chinese (Taiwan)" ]
     ]
  ] ) ; # 
  fhir:managingOrganization [
     fhir:link <http://dental-ig.fhir.tw/Organization/Dental-organization-example> ;
     fhir:reference [ fhir:v "Organization/Dental-organization-example" ]
  ] . # 

# -------------------------------------------------------------------------------------

