# 2023 MI-TW 聯測資訊 ## Oauth2.0資訊 [POST] http://152.38.3.103:8081/realms/medical-server/protocol/openid-connect/auth * Token Name: 隨意 * Callback URL: http://152.38.3.196:10021/oauth2/callback * Auth URL: http://152.38.3.103:8081/realms/medical-server/protocol/openid-connect/auth * Access Token URL: http://152.38.3.103:8081/realms/medical-server/protocol/openid-connect/token * Client ID: fhir * Client Secret: F1lJHPZASnXn0eg7ePJy1vSC4kaKiXkM * Keyclock account/password * polly.peng/pollypeng0617 ## 賽道資訊 ### Track1 病患基本資訊 #### Patient新增 POST-Patient http://gazelle.dicom.org.tw:10021/fhir/Patient ``` { "resourceType" : "Patient", "id" : "test1234567890", "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/MITW-T1-SC1-PatientCore" ] }, "text" : { "status" : "generated", "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=\"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix\">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>縣/市(city)</b>:臺北市<br/><b>鄉/鎮/市/區(district)</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\">https://2.bp.blogspot.com/-v3yEwItkXKQ/VaMN_1Nx6TI/AAAAAAAAvhM/zDXN_eZw_UE/s800/youngwoman_42.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>" }, "identifier" : [ { "use" : "official", "type" : { "coding" : [ { "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", "code" : "MR" } ] }, "system" : "http://www.tph.mohw.gov.tw/", "value" : "123456" }, { "use" : "official", "type" : { "coding" : [ { "system" : "http://terminology.hl7.org/CodeSystem/v2-0203", "code" : "NNxxx", "_code" : { "extension" : [ { "extension" : [ { "url" : "suffix", "valueString" : "TWN" }, { "url" : "valueSet", "valueCanonical" : "http://hl7.org/fhir/ValueSet/iso3166-1-3" } ], "url" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/identifier-suffix" } ] } } ] }, "system" : "http://www.moi.gov.tw/", "value" : "A12345678" } ], "active" : true, "name" : [ { "use" : "official", "text" : "陳曉明" } ], "telecom" : [ { "system" : "phone", "value" : "0911231121", "use" : "mobile" } ], "gender" : "male", "birthDate" : "1990-01-01", "managingOrganization" : { "reference" : "Organization/Organization-cathay" }, "communication" : [ { "language" : { "coding" : [ { "system" : "urn:ietf:bcp:47", "code" : "zh-TW" } ] } } ] } ``` #### Patient查詢 * 使用id查: https://hapi.fhir.tw/fhir/Patient?_id={id} * 使用identifier查: https://hapi.fhir.tw/fhir/Patient?identifier={identifier} * 使用managingOrganization查: https://hapi.fhir.tw/fhir/Patient?organization=Organization/{organ_id} * 使用gender查: https://hapi.fhir.tw/fhir/Patient?gender={male/female} * 使用birthDate查: https://hapi.fhir.tw/fhir/Patient?birthdate={1990-01-01} * 使用language查:https://hapi.fhir.tw/fhir/Patient?language={zh-TW} 歷史紀錄: https://hapi.fhir.tw/fhir/Patient/{id}/_history 範例: https://hapi.fhir.tw/fhir/Patient/siimjoe/_history ``` { "resourceType": "Bundle", "id": "a57da02c-650e-485e-95f5-426e5b073fca", "meta": { "lastUpdated": "2023-10-04T01:42:27.928+00:00" }, "type": "history", "total": 2, "link": [ { "relation": "self", "url": "https://hapi.fhir.tw/fhir/Patient/siimjoe/_history" } ], "entry": [ { "fullUrl": "Patient/Patient/siimjoe", "resource": { "resourceType": "Patient", "id": "siimjoe", "meta": { "versionId": "2", "lastUpdated": "2023-06-29T08:03:25.510+00:00", "source": "#kDDg6de89BSJp6Yy" }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\r\n <table>\r\n <tbody>\r\n <tr>\r\n <td>Name</td>\r\n <td>Jim <b>SIIM</b></td>\r\n </tr>\r\n <tr>\r\n <td>Address</td>\r\n <td>534 Erewhon, Pleasantville, Vic, 3999</td>\r\n </tr>\r\n <tr>\r\n <td>Contacts</td>\r\n <td>Home: unknown. Work: (03) 5555 6473</td>\r\n </tr>\r\n <tr>\r\n <td>Id</td>\r\n <td>MRN: TCGA-17-Z058 (TCIA)</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n</div>" }, "identifier": [ { "use": "usual", "system": "http://www.siim.org/", "value": "TCGA-17-Z058aa", "assigner": { "display": "TCIA" } } ], "active": true, "name": [ { "use": "official", "family": "SIIM", "given": [ "Joe" ] }, { "use": "usual", "given": [ "Joe" ] } ], "telecom": [ { "use": "home" }, { "system": "phone", "value": "(035) 555 6473", "use": "work" } ], "gender": "male", "birthDate": "1926-03-30", "deceasedBoolean": false, "address": [ { "use": "home", "line": [ "534 Erewhon St" ], "city": "PleasantVille", "state": "Vic", "postalCode": "3999" } ], "managingOrganization": { "reference": "Organization/siim" } }, "request": { "method": "PUT", "url": "Patient/siimjoe/_history/2" }, "response": { "status": "200 OK", "etag": "W/\"2\"" } }, { "fullUrl": "Patient/Patient/siimjoe", "resource": { "resourceType": "Patient", "id": "siimjoe", "meta": { "versionId": "1", "lastUpdated": "2022-05-27T12:40:48.950+00:00", "source": "#Wb9DRPQTlJ4tnzb0" }, "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\r\n <table>\r\n <tbody>\r\n <tr>\r\n <td>Name</td>\r\n <td>Jim <b>SIIM</b></td>\r\n </tr>\r\n <tr>\r\n <td>Address</td>\r\n <td>534 Erewhon, Pleasantville, Vic, 3999</td>\r\n </tr>\r\n <tr>\r\n <td>Contacts</td>\r\n <td>Home: unknown. Work: (03) 5555 6473</td>\r\n </tr>\r\n <tr>\r\n <td>Id</td>\r\n <td>MRN: TCGA-17-Z058 (TCIA)</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n</div>" }, "identifier": [ { "use": "usual", "system": "http://www.siim.org/", "value": "TCGA-17-Z058", "assigner": { "display": "TCIA" } } ], "active": true, "name": [ { "use": "official", "family": "SIIM", "given": [ "Joe" ] }, { "use": "usual", "given": [ "Joe" ] } ], "telecom": [ { "use": "home" }, { "system": "phone", "value": "(035) 555 6473", "use": "work" } ], "gender": "male", "birthDate": "1926-03-30", "deceasedBoolean": false, "address": [ { "use": "home", "line": [ "534 Erewhon St" ], "city": "PleasantVille", "state": "Vic", "postalCode": "3999" } ], "managingOrganization": { "reference": "Organization/siim" } }, "request": { "method": "POST", "url": "Patient/siimjoe/_history/1" }, "response": { "status": "201 Created", "etag": "W/\"1\"" } } ] } ``` 各歷史版本: https://hapi.fhir.tw/fhir/Patient/{id}/_history/1,2,3,4… ### Track9 #### Practitioner新增 http://gazelle.dicom.org.tw:10021/fhir/Practitioner ``` { "resourceType" : "Practitioner", "id" : "pra-example", "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/Practitioner-MITWConnectathon2023Track9SC2" ] }, "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>健康照護服務提供人員基本資料</b></h3><p><b>識別碼型別</b>:Medical License number <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/v2-0203\">Identifier Type Codes</a>#MD)</span><br/><b>員工編號(official)</b>:KP00017 (https://www.tph.mohw.gov.tw/)</p><p><b>健康照護服務提供人員的紀錄(active)</b>:使用中</p><p><b>姓名(official)</b>:王依昇 Wang, Yi Sheng</p><p><b>性別</b>:男性</p><p><b>出生日期</b>:1980-11-11</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)0993277826<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)桃園市桃園區五福五街31號<br/><b>郵遞區號(postalCode)</b>[extension: <a href=\"StructureDefinition-tw-postal-code.html\">tw-postal-code</a>]: <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"CodeSystem-postal-code3-tw.html\">330</a>#</span><br/><b>縣/市(district)</b>:桃園市<br/><b>鄉/鎮/市/區(city)</b>:桃園區<br/><b>路/街(line)</b>:五福五街<br/><b>號(number)</b>[extension: <a href=\"StructureDefinition-tw-number.html\">tw-number</a>]:31號<br/><b>國家(country)</b>:臺灣<br/></p><p><b>資格證書的型別</b>:西醫師 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"CodeSystem-health-professional-tw.html\">臺灣醫事人員類別</a>#A)</span><br/><b>資格證書的開始日期</b>:2005-05-25</p><p><b>照護服務提供人員照片</b>: <a href=\"https://1.bp.blogspot.com/-6dSaKA-5r0c/UZSs9HLyutI/AAAAAAAATBc/lxpq2MB3_mc/s400/doctor.png\">https://1.bp.blogspot.com/-6dSaKA-5r0c/UZSs9HLyutI/AAAAAAAATBc/lxpq2MB3_mc/s400/doctor.png</a><br/><img src=\"https://1.bp.blogspot.com/-6dSaKA-5r0c/UZSs9HLyutI/AAAAAAAATBc/lxpq2MB3_mc/s400/doctor.png\" width=\"250px\"/></p></div>" }, "identifier" : [ { "use" : "official", "system" : "https://www.tsti.hospital.com", "value" : "123456" }, { "use" : "official", "system" : "http://www.moi.gov.tw/", "value" : "A888888888" } ], "active" : true, "name" : [ { "use" : "official", "text" : "陳叉叉" } ], "gender" : "female" } Track9-Encounter http://gazelle.dicom.org.tw:10021/fhir/Encounter { "resourceType" : "Encounter", "id" : "enc-example", "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/Encounter-MITWConnectathon2023Track9SC2" ] }, "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>就醫資料</b></h3><p><b>識別碼</b>:E22081702</p><p><b>就醫現況</b>:finished</p><p><b>就醫分類</b>:pre-admission <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://terminology.hl7.org/4.0.0/ValueSet-v3-ActEncounterCode.html\">ActEncounterCode</a>#PRENC)</span></p><p><b>就醫型別</b>:Annual diabetes mellitus screening <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-encounter-type.html\">Encounter type</a>#ADMS)</span></p><p><b>服務型別</b>:糖尿病(Diabetes) <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-service-type.html\">Service type</a>#318)</span></p><p><b>病人</b>:<a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>出院後的地點</b>:Home <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-encounter-discharge-disposition.html\">Discharge disposition</a>#home)</span></p><p><b>就醫發生的地點</b>:<a href=\"Location-hospital-example.html\">Location/hospital-example</a> \"衛生福利部臺北醫院\"</p><h3>參與就醫的健康照護服務提供人員</h3><table class=\"grid\"><tr><td>-</td><td><b>角色</b></td><td><b>參與時段</b></td><td><b>參與人</b></td></tr><tr><td>*</td><td>primary performer <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://terminology.hl7.org/4.0.0/CodeSystem-v3-ParticipationType.html\">ParticipationType</a>#PPRF)</span></td><td>2022-08-01 05:00:14-0500 --&gt; 2022-08-01 06:00:14-0500</td><td><a href=\"Practitioner-pra-example.html\">Practitioner/pra-example</a> \"王依昇\"</td></tr></table><p><b>就醫的開始和結束時間</b>:2022-08-01 05:00:14-0500 --&gt; 2022-08-01 06:00:14-0500</p><p><b>就醫原因</b>:FH: Diabetes mellitus <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://browser.ihtsdotools.org/\">SNOMED CT</a>#160303001)</span></p></div>" }, "identifier" : [{ "value" : "1145010010.123.001.20231003.下午診.A12345678" }], "status" : "planned", "class": { "system": "http://terminology.hl7.org/CodeSystem/v3-ActCode", "code": "OBSENC" }, "subject" : { "reference" : "Patient/4089c062-d92d-4c84-ab15-7709c19fdd72" }, "serviceProvider" : { "reference" : "Organization/Organization-cathay" }, "participant" : [ { "type" : [ { "coding" : [ { "system" : "http://terminology.hl7.org/CodeSystem/v3-ParticipationType", "code" : "PPRF" } ] } ], "individual" : { "reference" : "Practitioner/a6351a66-8d15-43f2-8bee-6b0eb273846d" } } ] } Track9-ImageStudy http://152.38.3.196:10021/fhir/ImagingStudy * 注意: series.modality型態改為Coding… { "resourceType": "ImagingStudy", "id" : "example", "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\">CT Chest. John Smith (MRN: 09236). Accession: W12342398. Performed: 2011-01-01. 3 series, 12 images.</div>" }, "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/ImagingStudy-MITWConnectathon2023Track9SC3" ] }, "identifier": [ { "value": "1145010010.123.001.20231003.下午診.A12345678" } ], "status": "registered", "subject": { "reference": "Patient/4089c062-d92d-4c84-ab15-7709c19fdd72" }, "encounter":{ "reference": "Encounter/c11c0e2f-9cf0-42a2-9e8a-b8db0a9982cd" }, "started": "2011-01-01T11:01:20+03:00", "numberOfSeries": 1, "numberOfInstances": 0, "series" : [{ "uid" : "1.2.840.12345.3.152.235.2.12.187636473", "number" : 1, "modality" : { "system" : "http://dicom.nema.org/resources/ontology/DCM", "code" : "OP" }, "description" : "This is a image study" }] } ``` #### Observation新增 http://152.38.3.196:10021/fhir/Obsevration 原本的“code” : “23501C”(眼底檢查) 改成"08134B"(連續血糖監測) ``` { "resourceType" : "Observation", "id" : "obs-lab-example", "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>檢驗檢查資料</b></h3><p><b>狀態</b>:最終版(final)</p><p><b>分類</b>:Laboratory <span style=\"background: LightGoldenRodYellow; margin:4px; border:1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/codesystem-observation-category.html\">Observation Category Codes</a>#laboratory)</span></p><p><b>檢驗項目</b>:血中尿素氮 <span style=\"background: LightGoldenRodYellow; margin:4px; border:1px solid khaki\">( <a href=\"CodeSystem-medical-service-payment-tw.html\">臺灣醫療服務給付項目</a>#09002C)</span></p><p><b>病人</b>: <a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>執行日期</b>:2022-07-31</p><p><b>負責機構</b>: <a href=\"Organization-org-hosp-example.html\">Organization/org-hosp-example</a> \"衛生福利部臺北醫院\"</p><p><b>檢驗值</b>:16.6 mg/dL</p></div>" }, "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/Observation-MITWConnectathon2023Track9SC3" ] }, "identifier" : [{ "value" : "1145010010.123.001.20231003.下午診.A12345678" }], "status" : "final", "category" : [ { "coding" : [ { "system" : "http://terminology.hl7.org/CodeSystem/observation-category", "code" : "laboratory" } ] } ], "code" : { "coding" : [ { "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw", "code" : "08134B" } ], "text" : "連續血糖監測" }, "subject" : { "reference" : "Patient/4089c062-d92d-4c84-ab15-7709c19fdd72" }, "effectivePeriod" : { "start": "2022-07-31", "end" : "2022-07-31" }, "encounter":{ "reference": "Encounter/c11c0e2f-9cf0-42a2-9e8a-b8db0a9982cd" }, "performer":[{ "reference": "Practitioner/Practitioner-Chen" }], "component" : [ { "code" : { "coding" : [ { "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medical-service-payment-tw", "code" : "08134B", "display" : "連續血糖監測" } ] }, "valueQuantity" : { "value" : 110 } } ], "note" : [{ "text" : "This is an observation" }] } ``` #### DocumentReference http://gazelle.dicom.org.tw:10021/fhir/DocumentReference 範例檔案位置: https://drive.google.com/file/d/1WWcaWVD52T2pjanSuaJ1IWgYUimVdr3k/view?usp=sharing ``` { "resourceType": "DocumentReference", "id": "report-example", "text": { "status": "generated", "div": "<div xmlns=\"http://www.w3.org/1999/xhtml\">\n\t\t\t\t\t\t<h3>CBC Report for Wile. E. COYOTE (MRN: 23453) issued 3-Mar 2011 11:45</h3>\n\t\t\t\t\t\t<pre>\nTest Units Value Reference Range\nHaemoglobin g/L 176 135 - 180\nRed Cell Count x10*12/L 5.9 4.2 - 6.0\nHaematocrit 0.55+ 0.38 - 0.52\nMean Cell Volume fL 99+ 80 - 98\nMean Cell Haemoglobin pg 36+ 27 - 35\nPlatelet Count x10*9/L 444 150 - 450\nWhite Cell Count x10*9/L 4.6 4.0 - 11.0\nNeutrophils % 20\nNeutrophils x10*9/L 0.9--- 2.0 - 7.5\nLymphocytes % 20\nLymphocytes x10*9/L 0.9- 1.1 - 4.0\nMonocytes % 20\nMonocytes x10*9/L 0.9 0.2 - 1.0\nEosinophils % 20\nEosinophils x10*9/L 0.92++ 0.04 - 0.40\nBasophils % 20\nBasophils x10*9/L 0.92+++ &lt;0.21\n </pre>\n\t\t\t\t\t\t<p>Acme Laboratory, Inc signed: Dr Pete Pathologist</p>\n\t\t\t\t\t</div>" }, "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/DocumentReference-MITWConnectathon2023Track9SC3" ] }, "identifier" : [{ "value" : "1145010010.123.001.20231003.下午診.A12345678" }], "status": "current", "subject" : { "reference" : "Patient/4089c062-d92d-4c84-ab15-7709c19fdd72" }, "context":{ "encounter": [{ "reference": "Encounter/c11c0e2f-9cf0-42a2-9e8a-b8db0a9982cd" }] }, "date" : "2013-07-01T23:11:33+10:00", "description": "This is a pdf document", "content": [ { "attachment": { "contentType": "application/pdf", "url": "https://drive.google.com/file/d/1WWcaWVD52T2pjanSuaJ1IWgYUimVdr3k/view?usp=sharing", "title": "The-consolidated-theranostic-report-surgical-pathology" }, "format" : { "system" : "http://ihe.net/fhir/ihe.formatcode.fhir/CodeSystem/formatcode", "code" : "urn:ihe:rad:PDF" } } ] } ``` #### Condition http://gazelle.dicom.org.tw:10021/fhir/Condition ``` { "resourceType" : "Condition", "id" : "con-example", "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>病情、問題或診斷資料</b></h3><p><b>臨床狀態</b>:Remission <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/valueset-condition-clinical.html\">ConditionClinicalStatusCodes</a>#remission)</span></p><p><b>驗證狀態</b>:Confirmed <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/valueset-condition-ver-status.html\">ConditionVerificationStatus</a>#confirmed)</span></p><p><b>病情、問題或診斷類別</b>:Encounter Diagnosis <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/R4/valueset-condition-category.html\">Condition Category Codes</a>#encounter-diagnosis)</span></p><p><b>嚴重程度</b>:Mild <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"https://loinc.org/\">LOINC</a>#LA6752-5)</span></p><p><b>病情、問題或診斷識別</b>:起因於潛在病的糖尿病,伴有低血糖,未伴有昏迷 <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"CodeSystem-icd-10-cm-2021-tw.html\">臺灣2021年中文版ICD-10-CM</a>#E08.649)</span></p><p><b>病人</b>:<a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>實際日期</b>:2022-08-01 05:00:14-0500</p><p><b>緩解日期</b>:2022-08-01 06:00:14-0500</p><p><b>診斷者</b>:<a href=\"Practitioner-pra-example.html\">Practitioner/pra-example</a> \"王依昇\"</p></div>" }, "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/Condition-MITWConnectathon2023Track9SC4" ] }, "identifier" : [{ "value" : "1145010010.123.001.20231003.下午診.A12345678" }], "clinicalStatus" : { "coding" : [ { "system" : "http://terminology.hl7.org/CodeSystem/condition-clinical", "code" : "resolved" } ] }, "verificationStatus" : { "coding" : [ { "system" : "http://terminology.hl7.org/CodeSystem/condition-ver-status", "code" : "confirmed" } ] }, "code" : { "coding" : [ { "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-cm-2021-tw", "code" : "H00.1" } ] }, "recordedDate" : "2022-07-31", "subject" : { "reference" : "Patient/4089c062-d92d-4c84-ab15-7709c19fdd72" }, "encounter" : { "reference" : "Encounter/c11c0e2f-9cf0-42a2-9e8a-b8db0a9982cd" }, "note" : [{ "text" : "This is a Condition" }] } ``` #### Procudure http://gazelle.dicom.org.tw:10021/fhir/Procedure ``` { "resourceType" : "Procedure", "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/Procedure-MITWConnectathon2023Track9SC4" ] }, "identifier" : [{ "value" : "1145010010.123.001.20231003.下午診.A12345678" }], "status" : "completed", "code" : { "coding" : [ { "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/icd-10-pcs-2014-tw", "code" : "3E0C328" } ] }, "subject" : { "reference" : "Patient/4089c062-d92d-4c84-ab15-7709c19fdd72" }, "encounter" : { "reference" : "Encounter/c11c0e2f-9cf0-42a2-9e8a-b8db0a9982cd" }, "note" : [{ "text" : "This is a Procedure" }] } ``` #### MedicationRequest http://gazelle.dicom.org.tw:10021/fhir/MedicationRequest ``` { "resourceType" : "MedicationRequest", "meta" : { "profile" : [ "https://hapi.fhir.tw/fhir/StructureDefinition/MedicationRequest-MITWConnectathon2023Track9SC4" ] }, "text" : { "status" : "generated", "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><h3><b>藥品處方的詳細資料</b></h3><p><b>藥品處方的識別碼</b>:7077 (http://www.moi.gov.tw/)</p><p><b>藥品處方的狀態</b>:Active <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/medicationrequest-status-reason\">MedicationRequest Status Reason Codes</a>#clarif)</span></p><p><b>藥品處方的意圖</b>:Order <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://hl7.org/fhir/CodeSystem/medicationrequest-intent\">medicationRequest Intent</a>#order)</span></p><p><b>藥品處方的類別</b>:Discharge <span style=\"background: LightGoldenRodYellow; margin: 4px; border: 1px solid khaki\">( <a href=\"http://terminology.hl7.org/CodeSystem/medicationrequest-category\">MedicationRequest Category Codes</a>#discharge)</span></p><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>:<a href=\"Patient-pat-example.html\">Patient/pat-example</a> \"陳加玲\"</p><p><b>就醫事件</b>:<a href=\"Encounter-enc-example.html\">Encounter/enc-example</a></p><p><b>最初請求時間</b>:2022-08-01 06:00:14-0500</p><p><b>提出藥品處方請求者</b>:<a href=\"Practitioner-pra-example.html\">Practitioner/pra-example</a> \"王依昇\"</p><p><b>開立處方的原因</b>:<a href=\"Observation-obs-lab-example.html\">Observation/obs-lab-example</a></p><p><b>處方可用以配藥的有效期限</b>:2022-08-01 06:00:14-0500 --&gt; 2022-08-08 06:00:14-0500</p></div>" }, "identifier" : [{ "value" : "1145010010.123.001.20231003.下午診.A12345678" }], "status" : "completed", "medicationCodeableConcept" : { "coding" : [ { "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-fda-tw", "code" : "衛署藥製字第045960號" } ] }, "intent" : "order", "subject" : { "reference" : "Patient/4089c062-d92d-4c84-ab15-7709c19fdd72" }, "encounter" : { "reference" : "Encounter/c11c0e2f-9cf0-42a2-9e8a-b8db0a9982cd" }, "dosageInstruction" : [ { "timing" : { "code" : { "coding" : [ { "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-frequency-tw", "code" : "QD" } ], "text" : "每日一次" } }, "route" : { "coding" : [ { "system" : "https://twcore.mohw.gov.tw/ig/twcore/CodeSystem/medication-path-tw", "code" : "OU" } ] } } ], "dispenseRequest" : { "validityPeriod" : { "start" : "2022-08-01T18:00:14-05:00", "end" : "2022-08-08T18:00:14-05:00" }, "expectedSupplyDuration": { "value" : 7, "unit": "days" } }, "note" : [{ "text" : "This is a Medication Request" }] } ```