臺灣健保署基礎實作指引
1.0.0 - ci-build

臺灣健保署基礎實作指引, published by 衛生福利部中央健康保險署. This guide is not an authorized publication; it is the continuous build for version 1.0.0 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/TWNHIFHIR/base/ and changes regularly. See the Directory of published versions

Logical Model: BaseModel - XML Profile

Active as of 2026-10-19

XML representation of the BaseModel logical model.

Raw xml | Download


<StructureDefinition xmlns="http://hl7.org/fhir">
  <id value="BaseModel"/>
  <text>
    <status value="extensions"/>
    <div xmlns="http://www.w3.org/1999/xhtml"><p class="res-header-id"><b>Generated Narrative: StructureDefinition BaseModel</b></p><table border="0" cellpadding="0" cellspacing="0" class="xhtTableBorder0"><tr class="xhtRowBorder1"><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="The logical name of the element">Name</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Information about the use of the element">Flags</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Minimum and Maximum # of times the element can appear in the instance">Card.</a></th><th scope="col" style="; width: 100px" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Reference to the type of the element">Type</a></th><th scope="col" style="" class="hierarchy xhtCellBorder0"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Additional information about the element">Description &amp; Constraints</a><span style="float: right"><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/></a></span></th></tr><tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck1.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_element.gif" alt="" style="background-color: white; background-color: inherit" title="Element" class="hierarchy"/> <a href="StructureDefinition-BaseModel-definitions.html#BaseModel" title="臺灣健保署基礎(Base)資料模型,此邏輯模型為定義臺灣健保署基礎情境下使用的所有資料欄位。
為了便於實作者快速理解,資料欄位會使用易於理解的命名,實作者再透過邏輯模型中的功能頁籤「Mappings」
瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目(element)。亦可配合
[視覺化邏輯模型圖]進行欄位對應。">BaseModel</a><a name="BaseModel"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0"><span class="xhtPieceDeEmphasized">0</span><span class="xhtPieceDeEmphasized">..</span><span class="xhtPieceDeEmphasized">*</span></td><td style="" class="hierarchy xhtCellBorder0"><a href="http://build.fhir.org/types.html#Base">Base</a></td><td style="" class="hierarchy xhtCellBorder0">臺灣健保署基礎(Base)資料模型</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.hosp" title="院所資訊">hosp</a><a name="BaseModel.hosp"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="" class="hierarchy xhtCellBorder0">院所資訊</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.hosp.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.hosp.hospId" title="醫事機構代碼,必須存在於醫事機構基本資料檔內">hospId</a><a name="BaseModel.hosp.hospId"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">醫事機構代碼</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.hosp.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.hosp.applType" title="申報類別">applType</a><a name="BaseModel.hosp.applType"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">申報類別</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.hosp.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.hosp.applDate" title="申請日期">applDate</a><a name="BaseModel.hosp.applDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">申請日期</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.patient" title="病人資訊">patient</a><a name="BaseModel.patient"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="" class="hierarchy xhtCellBorder0">病人資訊</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.patient.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.patient.patId" title="病歷號 (參與醫院必須註冊命名系統)">patId</a><a name="BaseModel.patient.patId"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">病歷號</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.patient.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.patient.name" title="姓名">name</a><a name="BaseModel.patient.name"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#HumanName">HumanName</a></td><td style="" class="hierarchy xhtCellBorder0">姓名</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.patient.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.patient.idCard" title="身分證號">idCard</a><a name="BaseModel.patient.idCard"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">身分證號</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.patient.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.patient.birthday" title="出生日期">birthday</a><a name="BaseModel.patient.birthday"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td style="" class="hierarchy xhtCellBorder0">出生日期</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.patient.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.patient.gender" title="病人性別">gender</a><a name="BaseModel.patient.gender"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="" class="hierarchy xhtCellBorder0">病人性別</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck11.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.diagnosis" title="疾病資訊">diagnosis</a><a name="BaseModel.diagnosis"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="" class="hierarchy xhtCellBorder0">疾病資訊</td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.diagnosis.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.diagnosis.icd10cmCode" title="國際疾病分類代碼 (sequence=1),共病症 (sequence&gt;=2)">icd10cmCode</a><a name="BaseModel.diagnosis.icd10cmCode"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="" class="hierarchy xhtCellBorder0">國際疾病分類代碼 (sequence=1),共病症 (sequence&gt;=2)</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck110.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.diagnosis.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.diagnosis.diagDate" title="YYYYMMDD,西元年月日,民國前為負數,sequence=1時為必填">diagDate</a><a name="BaseModel.diagnosis.diagDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#date">date</a></td><td style="" class="hierarchy xhtCellBorder0">診斷日期<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck100.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vline.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.diagnosis.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.diagnosis.diagCurrentStatus" title="簡要病摘。連結院內HIS系統之簡要病摘,或填寫原基因定序檢測之申請理由。">diagCurrentStatus</a><a name="BaseModel.diagnosis.diagCurrentStatus"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">1..1</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#code">code</a></td><td style="" class="hierarchy xhtCellBorder0">簡要病摘。連結院內HIS系統之簡要病摘,或填寫原基因定序檢測之申請理由。</td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck01.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene" title="基因資訊">gene</a><a name="BaseModel.gene"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#BackboneElement">BackboneElement</a></td><td style="" class="hierarchy xhtCellBorder0">基因資訊<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genTestCode" title="基因檢測代碼">genTestCode</a><a name="BaseModel.gene.genTestCode"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">基因檢測代碼<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.mutationType" title="基因突變類型">mutationType</a><a name="BaseModel.gene.mutationType"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">基因突變類型<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.specimenType" title="基因檢測檢體類型">specimenType</a><a name="BaseModel.gene.specimenType"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">基因檢測檢體類型<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genMethod" title="基因檢測方法">genMethod</a><a name="BaseModel.gene.genMethod"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">基因檢測方法<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genDate" title="基因檢測日期">genDate</a><a name="BaseModel.gene.genDate"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#dateTime">dateTime</a></td><td style="" class="hierarchy xhtCellBorder0">基因檢測日期<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genOrg" title="基因檢測機構">genOrg</a><a name="BaseModel.gene.genOrg"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">基因檢測機構<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: white; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genResult" title="基因檢測分析結果">genResult</a><a name="BaseModel.gene.genResult"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">基因檢測分析結果<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_datatype.gif" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genInterpretation" title="基因臨床判讀結果,醫師判讀結果">genInterpretation</a><a name="BaseModel.gene.genInterpretation"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#CodeableConcept">CodeableConcept</a></td><td style="" class="hierarchy xhtCellBorder0">基因臨床判讀結果<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowEven"><td style="background-image: url(tbl_bck010.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: white; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genPdf" title="基因報告(請填寫完整檔案路徑)">genPdf</a><a name="BaseModel.gene.genPdf"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#base64Binary">base64Binary</a></td><td style="" class="hierarchy xhtCellBorder0">基因報告(檔案路徑)<br/></td></tr>
<tr class="xhtRowBorder0 xhtRowOdd"><td style="background-image: url(tbl_bck000.png)" class="hierarchy xhtCellBorder0 xhtCellNoWrap"><img src="tbl_spacer.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_blank.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="tbl_vjoin_end.png" alt="" style="background-color: inherit" class="hierarchy"/><img src="icon_primitive.png" alt="" style="background-color: #F7F7F7; background-color: inherit" title="Primitive Data Type" class="hierarchy"/> <span style="position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0" class="sr-only">BaseModel.gene.</span><a href="StructureDefinition-BaseModel-definitions.html#BaseModel.gene.genPdfTitle" title="基因報告名稱">genPdfTitle</a><a name="BaseModel.gene.genPdfTitle"> </a></td><td style="" class="hierarchy xhtCellBorder0"/><td style="" class="hierarchy xhtCellBorder0">0..*</td><td style="" class="hierarchy xhtCellBorder0"><a href="http://hl7.org/fhir/R4/datatypes.html#string">string</a></td><td style="" class="hierarchy xhtCellBorder0">基因報告名稱<br/></td></tr>
<tr><td colspan="5" class="hierarchy"><br/><a href="https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views" title="Legend for this format"><img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH3goXBCwdPqAP0wAAAldJREFUOMuNk0tIlFEYhp9z/vE2jHkhxXA0zJCMitrUQlq4lnSltEqCFhFG2MJFhIvIFpkEWaTQqjaWZRkp0g26URZkTpbaaOJkDqk10szoODP//7XIMUe0elcfnPd9zsfLOYplGrpRwZaqTtw3K7PtGem7Q6FoidbGgqHVy/HRb669R+56zx7eRV1L31JGxYbBtjKK93cxeqfyQHbehkZbUkK20goELEuIzEd+dHS+qz/Y8PTSif0FnGkbiwcAjHaU1+QWOptFiyCLp/LnKptpqIuXHx6rbR26kJcBX3yLgBfnd7CxwJmflpP2wUg0HIAoUUpZBmKzELGWcN8nAr6Gpu7tLU/CkwAaoKTWRSQyt89Q8w6J+oVQkKnBoblH7V0PPvUOvDYXfopE/SJmALsxnVm6LbkotrUtNowMeIrVrBcBpaMmdS0j9df7abpSuy7HWehwJdt1lhVwi/J58U5beXGAF6c3UXLycw1wdFklArBn87xdh0ZsZtArghBdAA3+OEDVubG4UEzP6x1FOWneHh2VDAHBAt80IbdXDcesNoCvs3E5AFyNSU5nbrDPZpcUEQQTFZiEVx+51fxMhhyJEAgvlriadIJZZksRuwBYMOPBbO3hePVVqgEJhFeUuFLhIPkRP6BQLIBrmMenujm/3g4zc398awIe90Zb5A1vREALqneMcYgP/xVQWlG+Ncu5vgwwlaUNx+3799rfe96u9K0JSDXcOzOTJg4B6IgmXfsygc7/Bvg9g9E58/cDVmGIBOP/zT8Bz1zqWqpbXIsd0O9hajXfL6u4BaOS6SeWAAAAAElFTkSuQmCC" alt="doco" style="background-color: inherit"/> Documentation for this format</a></td></tr></table></div>
  </text>
  <url value="https://nhicore.nhi.gov.tw/base/StructureDefinition/BaseModel"/>
  <version value="1.0.0"/>
  <name value="BaseModel"/>
  <title value="臺灣健保署基礎(Base)資料模型"/>
  <status value="active"/>
  <date value="2026-10-19T03:12:37+00:00"/>
  <publisher value="衛生福利部中央健康保險署"/>
  <contact>
    <name value="衛生福利部中央健康保險署"/>
    <telecom>
      <system value="url"/>
      <value value="https://www.nhi.gov.tw"/>
    </telecom>
  </contact>
  <description
               value="臺灣健保署基礎(Base)資料模型,此邏輯模型為定義臺灣健保署基礎情境下使用的所有資料欄位。
為了便於實作者快速理解,資料欄位會使用易於理解的命名,實作者再透過邏輯模型中的功能頁籤「Mappings」
瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目(element)。亦可配合
[視覺化邏輯模型圖]進行欄位對應。"/>
  <fhirVersion value="4.0.1"/>
  <mapping>
    <identity value="TWNHIBASEClaim"/>
    <uri
         value="https://nhicore.nhi.gov.tw/base/StructureDefinition/Claim-twnhibase"/>
    <name value="Mapping to TWNHIBASE Claim"/>
  </mapping>
  <mapping>
    <identity value="TWNHIBASEPatient"/>
    <uri
         value="https://nhicore.nhi.gov.tw/base/StructureDefinition/Patient-twnhibase"/>
    <name value="Mapping to TWNHIBASE Patient"/>
  </mapping>
  <mapping>
    <identity value="TWNHIBASEOrganization"/>
    <uri
         value="https://nhicore.nhi.gov.tw/base/StructureDefinition/Organization-twnhibase"/>
    <name value="Mapping to TWNHIBASE Organization"/>
  </mapping>
  <mapping>
    <identity value="TWNHIBASEObservationDiagnostic"/>
    <uri
         value="https://nhicore.nhi.gov.tw/base/StructureDefinition/Observation-diagnostic-twnhibase"/>
    <name value="Mapping to TWNHIBASE ObservationDiagnostic"/>
  </mapping>
  <mapping>
    <identity value="TWNHIBASEDocumentReference"/>
    <uri
         value="https://nhicore.nhi.gov.tw/base/StructureDefinition/DocumentReference-twnhibase"/>
    <name value="Mapping to TWNHIBASE DocumentReference"/>
  </mapping>
  <kind value="logical"/>
  <abstract value="false"/>
  <type
        value="https://nhicore.nhi.gov.tw/base/StructureDefinition/BaseModel"/>
  <baseDefinition value="http://hl7.org/fhir/StructureDefinition/Base"/>
  <derivation value="specialization"/>
  <snapshot>
    <extension
               url="http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version">
      <valueString value="4.0.1"/>
    </extension>
    <element id="BaseModel">
      <path value="BaseModel"/>
      <short value="臺灣健保署基礎(Base)資料模型"/>
      <definition
                  value="臺灣健保署基礎(Base)資料模型,此邏輯模型為定義臺灣健保署基礎情境下使用的所有資料欄位。
為了便於實作者快速理解,資料欄位會使用易於理解的命名,實作者再透過邏輯模型中的功能頁籤「Mappings」
瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目(element)。亦可配合
[視覺化邏輯模型圖]進行欄位對應。"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Base"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <isModifier value="false"/>
    </element>
    <element id="BaseModel.hosp">
      <path value="BaseModel.hosp"/>
      <short value="院所資訊"/>
      <definition value="院所資訊"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.hosp"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization"/>
        <comment value="院所資訊"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.id">
      <path value="BaseModel.hosp.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.extension">
      <path value="BaseModel.hosp.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.modifierExtension">
      <path value="BaseModel.hosp.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.hospId">
      <path value="BaseModel.hosp.hospId"/>
      <short value="醫事機構代碼"/>
      <definition value="醫事機構代碼,必須存在於醫事機構基本資料檔內"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.hosp.hospId"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.provider.reference"/>
        <comment value="醫事機構代碼"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization.identifier.value"/>
        <comment value="醫事機構代碼"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.applType">
      <path value="BaseModel.hosp.applType"/>
      <short value="申報類別"/>
      <definition value="申報類別"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.hosp.applType"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.subType.coding.code"/>
        <comment value="申報類別"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.applDate">
      <path value="BaseModel.hosp.applDate"/>
      <short value="申請日期"/>
      <definition value="申請日期"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.hosp.applDate"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.created"/>
        <comment value="申請日期"/>
      </mapping>
    </element>
    <element id="BaseModel.patient">
      <path value="BaseModel.patient"/>
      <short value="病人資訊"/>
      <definition value="病人資訊"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.patient"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient"/>
        <comment value="(病人資訊)"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.id">
      <path value="BaseModel.patient.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.extension">
      <path value="BaseModel.patient.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.modifierExtension">
      <path value="BaseModel.patient.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.patId">
      <path value="BaseModel.patient.patId"/>
      <short value="病歷號"/>
      <definition value="病歷號 (參與醫院必須註冊命名系統)"/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.patient.patId"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.identifier.where(type.coding.code = 'MR').value"/>
        <comment value="病歷號"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.name">
      <path value="BaseModel.patient.name"/>
      <short value="姓名"/>
      <definition value="姓名"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.patient.name"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="HumanName"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.name.text"/>
        <comment value="姓名"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.idCard">
      <path value="BaseModel.patient.idCard"/>
      <short value="身分證號"/>
      <definition value="身分證號"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.patient.idCard"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.patient.reference"/>
        <comment value="身分證號"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map
             value="Patient.identifier.where(type.coding.code = 'NNxxx').value"/>
        <comment value="身分證號"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.birthday">
      <path value="BaseModel.patient.birthday"/>
      <short value="出生日期"/>
      <definition value="出生日期"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.patient.birthday"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.birthDate"/>
        <comment value="出生日期"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.gender">
      <path value="BaseModel.patient.gender"/>
      <short value="病人性別"/>
      <definition value="病人性別"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.patient.gender"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.gender"/>
        <comment value="病人性別"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis">
      <path value="BaseModel.diagnosis"/>
      <short value="疾病資訊"/>
      <definition value="疾病資訊"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.diagnosis"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
    </element>
    <element id="BaseModel.diagnosis.id">
      <path value="BaseModel.diagnosis.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis.extension">
      <path value="BaseModel.diagnosis.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis.modifierExtension">
      <path value="BaseModel.diagnosis.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis.icd10cmCode">
      <path value="BaseModel.diagnosis.icd10cmCode"/>
      <short value="國際疾病分類代碼 (sequence=1),共病症 (sequence&gt;=2)"/>
      <definition value="國際疾病分類代碼 (sequence=1),共病症 (sequence&gt;=2)"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.diagnosis.icd10cmCode"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.diagnosis.diagnosisCodeableConcept.coding.code"/>
        <comment value="國際疾病分類代碼"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis.diagDate">
      <path value="BaseModel.diagnosis.diagDate"/>
      <short value="診斷日期"/>
      <definition value="YYYYMMDD,西元年月日,民國前為負數,sequence=1時為必填"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.diagnosis.diagDate"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.diagnosis.extension[recordedDate].valueDate"/>
        <comment value="診斷日期"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis.diagCurrentStatus">
      <path value="BaseModel.diagnosis.diagCurrentStatus"/>
      <short value="簡要病摘。連結院內HIS系統之簡要病摘,或填寫原基因定序檢測之申請理由。"/>
      <definition value="簡要病摘。連結院內HIS系統之簡要病摘,或填寫原基因定序檢測之申請理由。"/>
      <min value="1"/>
      <max value="1"/>
      <base>
        <path value="BaseModel.diagnosis.diagCurrentStatus"/>
        <min value="1"/>
        <max value="1"/>
      </base>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.diagnosis.type.text"/>
        <comment value="簡要病摘"/>
      </mapping>
    </element>
    <element id="BaseModel.gene">
      <path value="BaseModel.gene"/>
      <short value="基因資訊"/>
      <definition value="基因資訊"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="BackboneElement"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization"/>
        <comment value="基因資訊"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic"/>
        <comment value="基因資訊"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEDocumentReference"/>
        <map value="DocumentReference"/>
        <comment value="基因資訊"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.id">
      <path value="BaseModel.gene.id"/>
      <representation value="xmlAttr"/>
      <short value="Unique id for inter-element referencing"/>
      <definition
                  value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
      <min value="0"/>
      <max value="1"/>
      <base>
        <path value="Element.id"/>
        <min value="0"/>
        <max value="1"/>
      </base>
      <type>
        <extension
                   url="http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type">
          <valueUrl value="string"/>
        </extension>
        <code value="http://hl7.org/fhirpath/System.String"/>
      </type>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.extension">
      <path value="BaseModel.gene.extension"/>
      <slicing>
        <discriminator>
          <type value="value"/>
          <path value="url"/>
        </discriminator>
        <description value="Extensions are always sliced by (at least) url"/>
        <rules value="open"/>
      </slicing>
      <short value="Additional content defined by implementations"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="Element.extension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="false"/>
      <isSummary value="false"/>
      <mapping>
        <identity value="rim"/>
        <map value="n/a"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.modifierExtension">
      <path value="BaseModel.gene.modifierExtension"/>
      <short value="Extensions that cannot be ignored even if unrecognized"/>
      <definition
                  value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.

Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)."/>
      <comment
               value="There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
      <requirements
                    value="Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored.  This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)."/>
      <alias value="extensions"/>
      <alias value="user content"/>
      <alias value="modifiers"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BackboneElement.modifierExtension"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="Extension"/>
      </type>
      <constraint>
        <key value="ele-1"/>
        <severity value="error"/>
        <human value="All FHIR elements must have a @value or children"/>
        <expression
                    value="hasValue() or (children().count() &gt; id.count())"/>
        <xpath value="@value|f:*|h:div"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Element"/>
      </constraint>
      <constraint>
        <key value="ext-1"/>
        <severity value="error"/>
        <human value="Must have either extensions or value[x], not both"/>
        <expression value="extension.exists() != value.exists()"/>
        <xpath
               value="exists(f:extension)!=exists(f:*[starts-with(local-name(.), &quot;value&quot;)])"/>
        <source value="http://hl7.org/fhir/StructureDefinition/Extension"/>
      </constraint>
      <isModifier value="true"/>
      <isModifierReason
                        value="Modifier extensions are expected to modify the meaning or interpretation of the element that contains them"/>
      <isSummary value="true"/>
      <mapping>
        <identity value="rim"/>
        <map value="N/A"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genTestCode">
      <path value="BaseModel.gene.genTestCode"/>
      <short value="基因檢測代碼"/>
      <definition value="基因檢測代碼"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genTestCode"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map
             value="Claim.supportingInfo.where(category.coding.code = 'geneInfo').valueReference.reference"/>
        <comment value="基因檢測代碼"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.component.code.coding.code"/>
        <comment value="基因檢測代碼"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.mutationType">
      <path value="BaseModel.gene.mutationType"/>
      <short value="基因突變類型"/>
      <definition value="基因突變類型"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.mutationType"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map
             value="ObservationDiagnostic.component.where(code.coding.code = '48019-4').valueCodeableConcept.coding.code"/>
        <comment value="基因突變類型"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.specimenType">
      <path value="BaseModel.gene.specimenType"/>
      <short value="基因檢測檢體類型"/>
      <definition value="基因檢測檢體類型"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.specimenType"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.specimen.reference"/>
        <comment value="基因檢測檢體類型"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genMethod">
      <path value="BaseModel.gene.genMethod"/>
      <short value="基因檢測方法"/>
      <definition value="基因檢測方法"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genMethod"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.method.coding.code"/>
        <comment value="基因檢測方法"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genDate">
      <path value="BaseModel.gene.genDate"/>
      <short value="基因檢測日期"/>
      <definition value="基因檢測日期"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genDate"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.effectiveDateTime"/>
        <comment value="基因檢測日期"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genOrg">
      <path value="BaseModel.gene.genOrg"/>
      <short value="基因檢測機構"/>
      <definition value="基因檢測機構"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genOrg"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization.identifier.value"/>
        <comment value="基因檢測機構"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.performer.reference"/>
        <comment value="基因檢測機構"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genResult">
      <path value="BaseModel.gene.genResult"/>
      <short value="基因檢測分析結果"/>
      <definition value="基因檢測分析結果"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genResult"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.valueCodeableConcept.coding.code"/>
        <comment value="基因檢測分析結果"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genInterpretation">
      <path value="BaseModel.gene.genInterpretation"/>
      <short value="基因臨床判讀結果"/>
      <definition value="基因臨床判讀結果,醫師判讀結果"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genInterpretation"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.interpretation.coding.code"/>
        <comment value="基因臨床判讀結果"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genPdf">
      <path value="BaseModel.gene.genPdf"/>
      <short value="基因報告(檔案路徑)"/>
      <definition value="基因報告(請填寫完整檔案路徑)"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genPdf"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="base64Binary"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.derivedFrom.reference"/>
        <comment value="基因報告(請填寫完整檔案路徑)"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEDocumentReference"/>
        <map value="DocumentReference.content.attachment.url"/>
        <comment value="基因報告(請填寫完整檔案路徑)"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genPdfTitle">
      <path value="BaseModel.gene.genPdfTitle"/>
      <short value="基因報告名稱"/>
      <definition value="基因報告名稱"/>
      <min value="0"/>
      <max value="*"/>
      <base>
        <path value="BaseModel.gene.genPdfTitle"/>
        <min value="0"/>
        <max value="*"/>
      </base>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEDocumentReference"/>
        <map value="DocumentReference.content.attachment.title"/>
        <comment value="基因報告名稱"/>
      </mapping>
    </element>
  </snapshot>
  <differential>
    <element id="BaseModel">
      <path value="BaseModel"/>
      <short value="臺灣健保署基礎(Base)資料模型"/>
      <definition
                  value="臺灣健保署基礎(Base)資料模型,此邏輯模型為定義臺灣健保署基礎情境下使用的所有資料欄位。
為了便於實作者快速理解,資料欄位會使用易於理解的命名,實作者再透過邏輯模型中的功能頁籤「Mappings」
瞭解各資料欄位實際使用本IG的哪個Profiles的哪個資料項目(element)。亦可配合
[視覺化邏輯模型圖]進行欄位對應。"/>
    </element>
    <element id="BaseModel.hosp">
      <path value="BaseModel.hosp"/>
      <short value="院所資訊"/>
      <definition value="院所資訊"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization"/>
        <comment value="院所資訊"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.hospId">
      <path value="BaseModel.hosp.hospId"/>
      <short value="醫事機構代碼"/>
      <definition value="醫事機構代碼,必須存在於醫事機構基本資料檔內"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.provider.reference"/>
        <comment value="醫事機構代碼"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization.identifier.value"/>
        <comment value="醫事機構代碼"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.applType">
      <path value="BaseModel.hosp.applType"/>
      <short value="申報類別"/>
      <definition value="申報類別"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.subType.coding.code"/>
        <comment value="申報類別"/>
      </mapping>
    </element>
    <element id="BaseModel.hosp.applDate">
      <path value="BaseModel.hosp.applDate"/>
      <short value="申請日期"/>
      <definition value="申請日期"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.created"/>
        <comment value="申請日期"/>
      </mapping>
    </element>
    <element id="BaseModel.patient">
      <path value="BaseModel.patient"/>
      <short value="病人資訊"/>
      <definition value="病人資訊"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient"/>
        <comment value="(病人資訊)"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.patId">
      <path value="BaseModel.patient.patId"/>
      <short value="病歷號"/>
      <definition value="病歷號 (參與醫院必須註冊命名系統)"/>
      <min value="0"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.identifier.where(type.coding.code = 'MR').value"/>
        <comment value="病歷號"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.name">
      <path value="BaseModel.patient.name"/>
      <short value="姓名"/>
      <definition value="姓名"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="HumanName"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.name.text"/>
        <comment value="姓名"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.idCard">
      <path value="BaseModel.patient.idCard"/>
      <short value="身分證號"/>
      <definition value="身分證號"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.patient.reference"/>
        <comment value="身分證號"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map
             value="Patient.identifier.where(type.coding.code = 'NNxxx').value"/>
        <comment value="身分證號"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.birthday">
      <path value="BaseModel.patient.birthday"/>
      <short value="出生日期"/>
      <definition value="出生日期"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.birthDate"/>
        <comment value="出生日期"/>
      </mapping>
    </element>
    <element id="BaseModel.patient.gender">
      <path value="BaseModel.patient.gender"/>
      <short value="病人性別"/>
      <definition value="病人性別"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEPatient"/>
        <map value="Patient.gender"/>
        <comment value="病人性別"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis">
      <path value="BaseModel.diagnosis"/>
      <short value="疾病資訊"/>
      <definition value="疾病資訊"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="BackboneElement"/>
      </type>
    </element>
    <element id="BaseModel.diagnosis.icd10cmCode">
      <path value="BaseModel.diagnosis.icd10cmCode"/>
      <short value="國際疾病分類代碼 (sequence=1),共病症 (sequence&gt;=2)"/>
      <definition value="國際疾病分類代碼 (sequence=1),共病症 (sequence&gt;=2)"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.diagnosis.diagnosisCodeableConcept.coding.code"/>
        <comment value="國際疾病分類代碼"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis.diagDate">
      <path value="BaseModel.diagnosis.diagDate"/>
      <short value="診斷日期"/>
      <definition value="YYYYMMDD,西元年月日,民國前為負數,sequence=1時為必填"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="date"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.diagnosis.extension[recordedDate].valueDate"/>
        <comment value="診斷日期"/>
      </mapping>
    </element>
    <element id="BaseModel.diagnosis.diagCurrentStatus">
      <path value="BaseModel.diagnosis.diagCurrentStatus"/>
      <short value="簡要病摘。連結院內HIS系統之簡要病摘,或填寫原基因定序檢測之申請理由。"/>
      <definition value="簡要病摘。連結院內HIS系統之簡要病摘,或填寫原基因定序檢測之申請理由。"/>
      <min value="1"/>
      <max value="1"/>
      <type>
        <code value="code"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map value="Claim.diagnosis.type.text"/>
        <comment value="簡要病摘"/>
      </mapping>
    </element>
    <element id="BaseModel.gene">
      <path value="BaseModel.gene"/>
      <short value="基因資訊"/>
      <definition value="基因資訊"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="BackboneElement"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization"/>
        <comment value="基因資訊"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic"/>
        <comment value="基因資訊"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEDocumentReference"/>
        <map value="DocumentReference"/>
        <comment value="基因資訊"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genTestCode">
      <path value="BaseModel.gene.genTestCode"/>
      <short value="基因檢測代碼"/>
      <definition value="基因檢測代碼"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEClaim"/>
        <map
             value="Claim.supportingInfo.where(category.coding.code = 'geneInfo').valueReference.reference"/>
        <comment value="基因檢測代碼"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.component.code.coding.code"/>
        <comment value="基因檢測代碼"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.mutationType">
      <path value="BaseModel.gene.mutationType"/>
      <short value="基因突變類型"/>
      <definition value="基因突變類型"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map
             value="ObservationDiagnostic.component.where(code.coding.code = '48019-4').valueCodeableConcept.coding.code"/>
        <comment value="基因突變類型"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.specimenType">
      <path value="BaseModel.gene.specimenType"/>
      <short value="基因檢測檢體類型"/>
      <definition value="基因檢測檢體類型"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.specimen.reference"/>
        <comment value="基因檢測檢體類型"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genMethod">
      <path value="BaseModel.gene.genMethod"/>
      <short value="基因檢測方法"/>
      <definition value="基因檢測方法"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.method.coding.code"/>
        <comment value="基因檢測方法"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genDate">
      <path value="BaseModel.gene.genDate"/>
      <short value="基因檢測日期"/>
      <definition value="基因檢測日期"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="dateTime"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.effectiveDateTime"/>
        <comment value="基因檢測日期"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genOrg">
      <path value="BaseModel.gene.genOrg"/>
      <short value="基因檢測機構"/>
      <definition value="基因檢測機構"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEOrganization"/>
        <map value="Organization.identifier.value"/>
        <comment value="基因檢測機構"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.performer.reference"/>
        <comment value="基因檢測機構"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genResult">
      <path value="BaseModel.gene.genResult"/>
      <short value="基因檢測分析結果"/>
      <definition value="基因檢測分析結果"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.valueCodeableConcept.coding.code"/>
        <comment value="基因檢測分析結果"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genInterpretation">
      <path value="BaseModel.gene.genInterpretation"/>
      <short value="基因臨床判讀結果"/>
      <definition value="基因臨床判讀結果,醫師判讀結果"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="CodeableConcept"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.interpretation.coding.code"/>
        <comment value="基因臨床判讀結果"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genPdf">
      <path value="BaseModel.gene.genPdf"/>
      <short value="基因報告(檔案路徑)"/>
      <definition value="基因報告(請填寫完整檔案路徑)"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="base64Binary"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEObservationDiagnostic"/>
        <map value="ObservationDiagnostic.derivedFrom.reference"/>
        <comment value="基因報告(請填寫完整檔案路徑)"/>
      </mapping>
      <mapping>
        <identity value="TWNHIBASEDocumentReference"/>
        <map value="DocumentReference.content.attachment.url"/>
        <comment value="基因報告(請填寫完整檔案路徑)"/>
      </mapping>
    </element>
    <element id="BaseModel.gene.genPdfTitle">
      <path value="BaseModel.gene.genPdfTitle"/>
      <short value="基因報告名稱"/>
      <definition value="基因報告名稱"/>
      <min value="0"/>
      <max value="*"/>
      <type>
        <code value="string"/>
      </type>
      <mapping>
        <identity value="TWNHIBASEDocumentReference"/>
        <map value="DocumentReference.content.attachment.title"/>
        <comment value="基因報告名稱"/>
      </mapping>
    </element>
  </differential>
</StructureDefinition>