@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://sfaa.gov.tw/base/Patient/pat-min> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:Resource.id [ fhir:value "pat-min"] ;
  fhir:Resource.meta [
     fhir:Meta.profile [
       fhir:value "https://sfaa.gov.tw/base/StructureDefinition/Patient-sfaa-base" ;
       fhir:index 0 ;
       fhir:link <https://sfaa.gov.tw/base/StructureDefinition/Patient-sfaa-base>
     ]
  ] ;
  fhir:DomainResource.text [
     fhir:Narrative.status [ fhir:value "generated" ] ;
     fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><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\">Profile: <a href=\"StructureDefinition-Patient-sfaa-base.html\">病人資訊-Patient SFAA BASE</a></p></div><blockquote><p><b>病歷號</b>：National Person Identifier <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">Identifier Type Codes</a>#NNxxx）</span><br/><b>身分證號（official）</b>：A123456789 （http://www.moi.gov.tw）</p></blockquote><blockquote><p><b>病歷號</b>：Medical record number <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">Identifier Type Codes</a>#MR）</span><br/><b>病歷號（official）</b>：123456 （https://tpech.gov.taipei）</p></blockquote><p><b>姓名（usual）</b>：王大明</p><p><b>性別</b>：男</p><p><b>出生日期</b>：2001-01-01</p></div>"
  ] ;
  fhir:Patient.identifier [
     fhir:index 0 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "NNxxx" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "http://www.moi.gov.tw" ] ;
     fhir:Identifier.value [ fhir:value "A123456789" ]
  ], [
     fhir:index 1 ;
     fhir:Identifier.use [ fhir:value "official" ] ;
     fhir:Identifier.type [
       fhir:CodeableConcept.coding [
         fhir:index 0 ;
         fhir:Coding.system [ fhir:value "http://terminology.hl7.org/CodeSystem/v2-0203" ] ;
         fhir:Coding.code [ fhir:value "MR" ]
       ]
     ] ;
     fhir:Identifier.system [ fhir:value "https://tpech.gov.taipei" ] ;
     fhir:Identifier.value [ fhir:value "123456" ]
  ] ;
  fhir:Patient.name [
     fhir:index 0 ;
     fhir:HumanName.use [ fhir:value "usual" ] ;
     fhir:HumanName.text [ fhir:value "王大明" ]
  ] ;
  fhir:Patient.gender [ fhir:value "male"] ;
  fhir:Patient.birthDate [ fhir:value "2001-01-01"^^xsd:date] .

# - ontology header ------------------------------------------------------------

<https://sfaa.gov.tw/base/Patient/pat-min.ttl> a owl:Ontology ;
  owl:imports fhir:fhir.ttl .

# -------------------------------------------------------------------------------------

