@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 -------------------------------------------------------------------

<http://dental-ig.fhir.tw/RelatedPerson/Dental-consent-signer-example> a fhir:RelatedPerson ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "Dental-consent-signer-example"] ;
  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: RelatedPerson Dental-consent-signer-example</b></p><a name=\"Dental-consent-signer-example\"> </a><a name=\"hcDental-consent-signer-example\"> </a><p style=\"border: 1px #661aff solid; background-color: #e6e6ff; padding: 10px;\">王大明 - 父親 (http://www.moi.gov.tw/id#B123456789)</p><hr/><table class=\"grid\"><tr><td style=\"background-color: #f3f5da\" title=\"Record is active\">Active:</td><td colspan=\"3\">true</td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The patient this person is related to\">Patient:</td><td colspan=\"3\"><a href=\"Patient-Dental-periodontal-patient-example.html\">王大明(official) Male, DoB: 1990-01-15 ( National unique individual identifier: A123456789)</a></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"The nature of the relationship between the patient and the related person\">Relationship:</td><td colspan=\"3\"><span title=\"Codes:\">父親</span></td></tr><tr><td style=\"background-color: #f3f5da\" title=\"Ways to contact the Related Person\">Contact Detail</td><td colspan=\"3\"><ul><li>ph: 02-12345678(Home)</li><li>ph: 0912345678(Mobile)</li><li>臺北市信義區信義路五段123號</li></ul></td></tr></table></div>"
  ] ;
  fhir:RelatedPerson.identifier [
     fhir:index 0 ;
     fhir:Identifier.system [ fhir:value "http://www.moi.gov.tw/id" ] ;
     fhir:Identifier.value [ fhir:value "B123456789" ]
  ] ;
  fhir:RelatedPerson.active [ fhir:value "true"^^xsd:boolean] ;
  fhir:RelatedPerson.patient [
     fhir:link <http://dental-ig.fhir.tw/Patient/Dental-periodontal-patient-example> ;
     fhir:Reference.reference [ fhir:value "Patient/Dental-periodontal-patient-example" ]
  ] ;
  fhir:RelatedPerson.relationship [
     fhir:index 0 ;
     fhir:CodeableConcept.text [ fhir:value "父親" ]
  ] ;
  fhir:RelatedPerson.name [
     fhir:index 0 ;
     fhir:HumanName.text [ fhir:value "王大明" ] ;
     fhir:HumanName.family [ fhir:value "王" ] ;
     fhir:HumanName.given [
       fhir:value "大明" ;
       fhir:index 0
     ]
  ] ;
  fhir:RelatedPerson.telecom [
     fhir:index 0 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "02-12345678" ] ;
     fhir:ContactPoint.use [ fhir:value "home" ]
  ], [
     fhir:index 1 ;
     fhir:ContactPoint.system [ fhir:value "phone" ] ;
     fhir:ContactPoint.value [ fhir:value "0912345678" ] ;
     fhir:ContactPoint.use [ fhir:value "mobile" ]
  ] ;
  fhir:RelatedPerson.address [
     fhir:index 0 ;
     fhir:Address.text [ fhir:value "臺北市信義區信義路五段123號" ]
  ] .

# - ontology header ------------------------------------------------------------

<http://dental-ig.fhir.tw/RelatedPerson/Dental-consent-signer-example.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

