@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 -------------------------------------------------------------------

<https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-child-example> a fhir:Patient ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "pat-child-example"] ; # 
  fhir:meta [
     fhir:profile ( [
       fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"^^xsd:anyURI ;
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore>
     ] )
  ] ; # 
  fhir:text [
     fhir:status [ fhir:v "generated" ] ;
     fhir:div [ fhir:v "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>病人基本資料-身分證字號及病歷號</b></h3><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 <b>[extension: <a href=\"StructureDefinition-identifier-suffix.html\">Identifier Suffix</a>]：</b>TWN）</span><br/><b>身分證字號（official）</b>：H122345678 （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>：8862200 （https://www.tph.mohw.gov.tw）</p></blockquote><p><b>病人的紀錄（active）</b>：使用中</p><p><b>姓名（official）</b>：李貝拉</p><p><b>性別</b>：女性</p><p><b>出生日期</b>：2019-11-26</p><p><b>年齡[extension: <a href=\"StructureDefinition-person-age.html\">person-age</a>]</b>：4</p><p><b>國籍[extension: <a href=\"http://hl7.org/fhir/StructureDefinition/patient-nationality\">patient-nationality</a>]</b>：<span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\"> （ <a href=\"https://terminology.hl7.org/CodeSystem-ISO3166Part1.html\">ISO3166Part1</a>#TW）</span></p><p><b>聯絡方式</b>：Phone <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"https://hl7.org/fhir/R4/valueset-contact-point-system.html\">ContactPointSystem</a>#phone）</span><br/><b>聯絡電話</b>：（Mobile）0911327999 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"https://build.fhir.org/codesystem-contact-point-use.html\">ContactPointUse</a>#mobile）</span><br/><b>聯絡電話使用效期</b>：2022-07-31至2024-07-31</p><p><b>聯絡地址</b>：(330)桃園市桃園區成功路三段38號<br/><b>郵遞區號（postalCode） [extension: <a href=\"StructureDefinition-tw-postal-code.html\">tw-postal-code</a>] </b>： <a href=\"CodeSystem-postal-code3-tw.html\">330</a><br/><b>縣/市（district）</b>：桃園市<br/><b>鄉/鎮/市/區（city）</b>：桃園區<br/><b>路/街（line）</b>：成功路<br/><b>段(section) [extension: <a href=\"StructureDefinition-tw-section.html\">tw-section</a>] </b>：三段<br/><b>號（number） [extension: <a href=\"StructureDefinition-tw-number.html\">tw-number</a>] </b>：38號<br/><b>國家（country）</b>：臺灣<br/><br/></p><p><b>聯絡人（official）</b>：陳加玲 Chan, Chia Lin<br/><b>關係</b>：mother <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"http://terminology.hl7.org/CodeSystem/v3-RoleCode\">PatientRelationshipType</a>#MTH）</span><br/><b>聯絡方式</b>：Phone <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"https://hl7.org/fhir/R4/valueset-contact-point-system.html\">ContactPointSystem</a>#phone）</span><br/><b>聯絡電話</b>：（Mobile）0911327999 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">（ <a href=\"https://build.fhir.org/codesystem-contact-point-use.html\">ContactPointUse</a>#mobile）</span><br/><b>聯絡電話使用效期</b>：2022-07-31至2024-07-31</p><p><b>向病人說明健康狀態時所使用的語言</b>：中文</p><p><b>紀錄的保管機構</b>： <a href=\"Organization-org-hosp-example.html\">Organization/org-hosp-example</a> \"衛生福利部臺北醫院\"</p></div>"^^rdf:XMLLiteral ]
  ] ; # 
  fhir:extension ( [
     fhir:url [
       fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age"^^xsd:anyURI ;
       fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age>
     ] ;
     fhir:value [
       a fhir:Age ;
       fhir:value [ fhir:v "4"^^xsd:decimal ] ;
       fhir:system [
         fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ;
         fhir:l <http://unitsofmeasure.org>
       ] ;
       fhir:code [ fhir:v "a" ]
     ]
  ] [
     fhir:extension ( [
       fhir:url [
         fhir:v "code"^^xsd:anyURI ;
         fhir:l fhir:code
       ] ;
       fhir:value [
         a fhir:CodeableConcept ;
         fhir:coding ( [
           fhir:system [
             fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ;
             fhir:l <urn:iso:std:iso:3166>
           ] ;
           fhir:code [ fhir:v "TW" ]
         ] )
       ]
     ] ) ;
     fhir:url [
       fhir:v "http://hl7.org/fhir/StructureDefinition/patient-nationality"^^xsd:anyURI ;
       fhir:l <http://hl7.org/fhir/StructureDefinition/patient-nationality>
     ]
  ] ) ; # 
  fhir:identifier ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [
           fhir:v "NNxxx" ;
           fhir:extension ( [
             fhir:extension ( [
               fhir:url [
                 fhir:v "suffix"^^xsd:anyURI ;
                 fhir:l fhir:suffix
               ] ;
               fhir:value [
                 a fhir:String ;
                 fhir:v "TWN"
               ]
             ] [
               fhir:url [
                 fhir:v "valueSet"^^xsd:anyURI ;
                 fhir:l fhir:valueSet
               ] ;
               fhir:value [
                 a fhir:Canonical ;
                 fhir:v "http://hl7.org/fhir/ValueSet/iso3166-1-3"^^xsd:anyURI ;
                 fhir:l <http://hl7.org/fhir/ValueSet/iso3166-1-3>
               ]
             ] ) ;
             fhir:url [
               fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix"^^xsd:anyURI ;
               fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix>
             ]
           ] )
         ]
       ] )
     ] ;
     fhir:system [
       fhir:v "http://www.moi.gov.tw"^^xsd:anyURI ;
       fhir:l <http://www.moi.gov.tw>
     ] ;
     fhir:value [ fhir:v "H122345678" ]
  ] [
     fhir:use [ fhir:v "official" ] ;
     fhir:type [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v2-0203>
         ] ;
         fhir:code [ fhir:v "MR" ]
       ] )
     ] ;
     fhir:system [
       fhir:v "https://www.tph.mohw.gov.tw"^^xsd:anyURI ;
       fhir:l <https://www.tph.mohw.gov.tw>
     ] ;
     fhir:value [ fhir:v "8862200" ]
  ] ) ; # 
  fhir:active [ fhir:v true] ; # 
  fhir:name ( [
     fhir:use [ fhir:v "official" ] ;
     fhir:text [ fhir:v "李貝拉" ] ;
     fhir:family [ fhir:v "Lee" ] ;
     fhir:given ( [ fhir:v "Bella Lee" ] )
  ] ) ; # 
  fhir:telecom ( [
     fhir:system [ fhir:v "phone" ] ;
     fhir:value [ fhir:v "03-5555555" ] ;
     fhir:use [ fhir:v "home" ] ;
     fhir:period [
       fhir:start [ fhir:v "2020-07-31"^^xsd:date ] ;
       fhir:end [ fhir:v "2024-07-31"^^xsd:date ]
     ]
  ] ) ; # 
  fhir:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "2019-11-26"^^xsd:date] ; # 
  fhir:address ( [
     fhir:extension ( [
       fhir:url [
         fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section"^^xsd:anyURI ;
         fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "三段"
       ]
     ] [
       fhir:url [
         fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number"^^xsd:anyURI ;
         fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number>
       ] ;
       fhir:value [
         a fhir:String ;
         fhir:v "38號"
       ]
     ] ) ;
     fhir:text [ fhir:v "桃園市桃園區成功路三段38號" ] ;
     fhir:line ( [ fhir:v "成功路" ] ) ;
     fhir:city [ fhir:v "桃園區" ] ;
     fhir:district [ fhir:v "桃園市" ] ;
     fhir:postalCode [
       fhir:extension ( [
         fhir:url [
           fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code"^^xsd:anyURI ;
           fhir:l <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-postal-code>
         ] ;
         fhir:value [
           a fhir:CodeableConcept ;
           fhir:coding ( [
             fhir:system [
               fhir:v "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw"^^xsd:anyURI ;
               fhir:l <https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw>
             ] ;
             fhir:code [ fhir:v "330" ]
           ] )
         ]
       ] )
     ] ;
     fhir:country [ fhir:v "TW" ]
  ] ) ; # 
  fhir:contact ( [
     fhir:relationship ( [
       fhir:coding ( [
         fhir:system [
           fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ;
           fhir:l <http://terminology.hl7.org/CodeSystem/v3-RoleCode>
         ] ;
         fhir:code [ fhir:v "MTH" ]
       ] )
     ] ) ;
     fhir:name [
       fhir:use [ fhir:v "official" ] ;
       fhir:text [ fhir:v "陳加玲" ] ;
       fhir:family [ fhir:v "Chen" ] ;
       fhir:given ( [ fhir:v "Chia Lin" ] )
     ] ;
     fhir:telecom ( [
       fhir:system [ fhir:v "phone" ] ;
       fhir:value [ fhir:v "0911327999" ] ;
       fhir:use [ fhir:v "mobile" ] ;
       fhir:period [
         fhir:start [ fhir:v "2022-07-31"^^xsd:date ] ;
         fhir:end [ fhir:v "2024-07-31"^^xsd:date ]
       ]
     ] )
  ] ) ; # 
  fhir:communication ( [
     fhir:language [
       fhir:coding ( [
         fhir:system [
           fhir:v "urn:ietf:bcp:47"^^xsd:anyURI ;
           fhir:l <urn:ietf:bcp:47>
         ] ;
         fhir:code [ fhir:v "zh-TW" ]
       ] )
     ]
  ] ) ; # 
  fhir:managingOrganization [
     fhir:l <https://twcore.mohw.gov.tw/ig/twcore/Organization/org-hosp-example> ;
     fhir:reference [ fhir:v "Organization/org-hosp-example" ]
  ] . # 

# -------------------------------------------------------------------------------------

