臺灣核心實作指引(TW Core IG)
0.3.1 - Ci-Build Trial Use

臺灣核心實作指引(TW Core IG), published by 衛生福利部. This guide is not an authorized publication; it is the continuous build for version 0.3.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/cctwFHIRterm/MOHW_TWCoreIG_Build/ and changes regularly. See the Directory of published versions

: Transaction - TTL Representation

Raw ttl | Download


@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 -------------------------------------------------------------------

 a fhir:Bundle ;
  fhir:nodeRole fhir:treeRoot ;
  fhir:id [ fhir:v "bun-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Bundle-twcore"^^xsd:anyURI ;
fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Bundle-twcore>     ] )
  ] ; # 
  fhir:identifier [
fhir:system [ fhir:v "https://www.tph.mohw.gov.tw"^^xsd:anyURI ] ;
fhir:value [ fhir:v "01014857930415100059403" ]
  ] ; # 
  fhir:type [ fhir:v "transaction"] ; # 
  fhir:timestamp [ fhir:v "2023-12-11T12:00:00.000Z"^^xsd:dateTime] ; # 
  fhir:entry ( [
fhir:fullUrl [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example"^^xsd:anyURI ] ;
    ( fhir:resource <https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "pat-example"^^xsd:anyURI ]     ]
  ] [
fhir:fullUrl [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/Medication/med-example"^^xsd:anyURI ] ;
    ( fhir:resource <https://twcore.mohw.gov.tw/ig/twcore/Medication/med-example> ) ;
fhir:request [
fhir:method [ fhir:v "PUT" ] ;
fhir:url [ fhir:v "med-example"^^xsd:anyURI ]     ]
  ] ) . # 

<https://twcore.mohw.gov.tw/ig/twcore/Patient/pat-example> a fhir:Patient ;
  fhir:id [ fhir:v "pat-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"^^xsd:anyURI ;
fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<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>: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>:8862168 (https://www.tph.mohw.gov.tw)</p></blockquote><p><b>病人的紀錄(active)</b>:使用中</p><p><b>姓名(official)</b>:陳加玲 Chan, Chia Lin</p><p><b>性別</b>:女性</p><p><b>出生日期</b>:1990-01-01</p><p><b>年齡[extension: <a href=\"StructureDefinition-person-age.html\">person-age</a>]</b>:32</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>:(103)臺北市大同區大有里19鄰承德路三段52巷6弄210號2樓B室<br/><b>郵遞區號(postalCode) [extension: <a href=\"StructureDefinition-tw-postal-code.html\">tw-postal-code</a>] </b>: <a href=\"CodeSystem-postal-code3-tw.html\">103</a><br/><b>縣/市(district)</b>:臺北市<br/><b>鄉/鎮/市/區(city)</b>:大同區<br/><b>村(里)(village) [extension: <a href=\"StructureDefinition-tw-village.html\">tw-village</a>] </b>:大有里<br/><b>鄰(neighborhood) [extension: <a href=\"StructureDefinition-tw-neighborhood.html\">tw-neighborhood</a>] </b>:19鄰<br/><b>路/街(line)</b>:承德路<br/><b>段(section) [extension: <a href=\"StructureDefinition-tw-section.html\">tw-section</a>] </b>:三段<br/><b>巷/衖(lane) [extension: <a href=\"StructureDefinition-tw-lane.html\">tw-lane</a>] </b>:52巷<br/><b>弄(alley) [extension: <a href=\"StructureDefinition-tw-alley.html\">tw-alley</a>] </b>:6弄<br/><b>號(number) [extension: <a href=\"StructureDefinition-tw-number.html\">tw-number</a>] </b>:210號<br/><b>樓(floor) [extension: <a href=\"StructureDefinition-tw-floor.html\">tw-floor</a>] </b>:2樓<br/><b>室(room) [extension: <a href=\"StructureDefinition-tw-room.html\">tw-room</a>] </b>:B室<br/><b>國家(country)</b>:臺灣<br/><br/></p><p><b>婚姻狀態</b>:unmarried <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v3-MaritalStatus\">臺灣婚姻狀態值集</a>#U)</span></p><p><b>聯絡人(official)</b>:李立偉 Li, Li Wei<br/><b>關係</b>:father <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v3-RoleCode\">PatientRelationshipType</a>#FTH)</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)0917159753 <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><p><b>病人影像</b>: <a href=\"https://2.bp.blogspot.com/-v3yEwItkXKQ/VaMN_1Nx6TI/AAAAAAAAvhM/zDXN_eZw_UE/s800/youngwoman_42.png\">patient.png</a><br/><img src=\"https://2.bp.blogspot.com/-v3yEwItkXKQ/VaMN_1Nx6TI/AAAAAAAAvhM/zDXN_eZw_UE/s800/youngwoman_42.png\" width=\"250px\"/></p></div>"
  ] ; # 
  fhir:extension ( [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/person-age"^^xsd:anyURI ] ;
fhir:value [
a fhir:Age ;
fhir:value [ fhir:v "32"^^xsd:decimal ] ;
fhir:system [ fhir:v "http://unitsofmeasure.org"^^xsd:anyURI ] ;
fhir:code [ fhir:v "a" ]     ]
  ] [
    ( fhir:extension [
fhir:url [ fhir:v "code"^^xsd:anyURI ] ;
fhir:value [
a fhir:CodeableConcept ;
        ( fhir:coding [
fhir:system [ fhir:v "urn:iso:std:iso:3166"^^xsd:anyURI ] ;
fhir:code [ fhir:v "TW" ]         ] )       ]     ] ) ;
fhir:url [ fhir:v "http://hl7.org/fhir/StructureDefinition/patient-nationality"^^xsd:anyURI ]
  ] ) ; # 
  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:code [
fhir:v "NNxxx" ;
          ( fhir:extension [
            ( fhir:extension [
fhir:url [ fhir:v "suffix"^^xsd:anyURI ] ;
fhir:value [ fhir:v "TWN" ]             ] [
fhir:url [ fhir:v "valueSet"^^xsd:anyURI ] ;
fhir:value [
fhir:v "http://hl7.org/fhir/ValueSet/iso3166-1-3"^^xsd:anyURI ;
fhir:link <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:system [ fhir:v "http://www.moi.gov.tw"^^xsd:anyURI ] ;
fhir:value [ fhir:v "A123456789" ]
  ] [
fhir:use [ fhir:v "official" ] ;
fhir:type [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v2-0203"^^xsd:anyURI ] ;
fhir:code [ fhir:v "MR" ]       ] )     ] ;
fhir:system [ fhir:v "https://www.tph.mohw.gov.tw"^^xsd:anyURI ] ;
fhir:value [ fhir:v "8862168" ]
  ] ) ; # 
  fhir:active [ fhir:v "true"^^xsd:boolean] ; # 
  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:gender [ fhir:v "female"] ; # 
  fhir:birthDate [ fhir:v "1990-01-01"^^xsd:date] ; # 
  fhir:address ( [
    ( fhir:extension [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-section"^^xsd:anyURI ] ;
fhir:value [ fhir:v "三段" ]     ] [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-number"^^xsd:anyURI ] ;
fhir:value [ fhir:v "210號" ]     ] [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-village"^^xsd:anyURI ] ;
fhir:value [ fhir:v "大有里" ]     ] [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-neighborhood"^^xsd:anyURI ] ;
fhir:value [ fhir:v "19鄰" ]     ] [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-lane"^^xsd:anyURI ] ;
fhir:value [ fhir:v "52巷" ]     ] [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-alley"^^xsd:anyURI ] ;
fhir:value [ fhir:v "6弄" ]     ] [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-floor"^^xsd:anyURI ] ;
fhir:value [ fhir:v "2樓" ]     ] [
fhir:url [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/tw-room"^^xsd:anyURI ] ;
fhir:value [ fhir:v "B室" ]     ] ) ;
fhir:text [ fhir:v "臺北市大同區大有里19鄰承德路三段52巷6弄210號2樓B室" ] ;
    ( 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:value [
a fhir:CodeableConcept ;
          ( fhir:coding [
fhir:system [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/postal-code3-tw"^^xsd:anyURI ] ;
fhir:code [ fhir:v "103" ]           ] )         ]       ] )     ] ;
fhir:country [ fhir:v "TW" ]
  ] ) ; # 
  fhir:maritalStatus [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-MaritalStatus"^^xsd:anyURI ] ;
fhir:code [ fhir:v "U" ]     ] )
  ] ; # 
  fhir:photo ( [
fhir:contentType [ fhir:v "image/jpeg" ] ;
fhir:url [ fhir:v "patient.png"^^xsd:anyURI ]
  ] ) ; # 
  fhir:contact ( [
    ( fhir:relationship [
      ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-RoleCode"^^xsd:anyURI ] ;
fhir:code [ fhir:v "FTH" ]       ] )     ] ) ;
fhir:name [
fhir:use [ fhir:v "official" ] ;
fhir:text [ fhir:v "李立偉" ] ;
fhir:family [ fhir:v "Li" ] ;
      ( fhir:given [ fhir:v "Li Wei" ] )     ] ;
    ( fhir:telecom [
fhir:system [ fhir:v "phone" ] ;
fhir:value [ fhir:v "0917159753" ] ;
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:code [ fhir:v "zh-TW" ]       ] )     ]
  ] ) ; # 
  fhir:managingOrganization [
fhir:reference [ fhir:v "Organization/org-hosp-example" ]
  ] . # 

<https://twcore.mohw.gov.tw/ig/twcore/Medication/med-example> a fhir:Medication ;
  fhir:id [ fhir:v "med-example"] ; # 
  fhir:meta [
    ( fhir:profile [
fhir:v "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore"^^xsd:anyURI ;
fhir:link <https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Medication-twcore>     ] )
  ] ; # 
  fhir:text [
fhir:status [ fhir:v "generated" ] ;
fhir:div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>藥品的詳細資料</b></h3><p><b>藥品</b>:阿立批挫 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"CodeSystem-medication-fda-tw.html\">臺灣藥品及醫療器材代碼值集</a>#衛署藥輸字第025485號)</span></p><p><b>藥品劑型</b>:粉 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm\">Orderable Drug Form</a>#POWD)</span></p></div>"
  ] ; # 
  fhir:code [
    ( fhir:coding [
fhir:system [ fhir:v "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-fda-tw"^^xsd:anyURI ] ;
fhir:code [ fhir:v "衛署藥輸字第025485號" ] ;
fhir:display [ fhir:v "阿立批挫" ]     ] ) ;
fhir:text [ fhir:v "阿立批挫" ]
  ] ; # 
  fhir:form [
    ( fhir:coding [
fhir:system [ fhir:v "http://terminology.hl7.org/CodeSystem/v3-orderableDrugForm"^^xsd:anyURI ] ;
fhir:code [ fhir:v "POWD" ]     ] ) ;
fhir:text [ fhir:v "粉" ]
  ] . #