診療情報提供書FHIR記述仕様 実装ガイド
1.1.6 - release Japan

診療情報提供書FHIR記述仕様 実装ガイド - Local Development build (v1.1.6) built by the FHIR (HL7® FHIR® Standard) Build Tools. See the Directory of published versions

Resource Profile(リソースプロファイル): JP_AllergyIntolerance_CLINS_eCS - JSON Profile

Active as of 2024-02-25

JSON representation of the JP-AllergyIntolerance-CLINS-eCS resource profile(リソースプロファイル).

Raw json | Download


{
  "resourceType" : "StructureDefinition",
  "id" : "JP-AllergyIntolerance-CLINS-eCS",
  "text" : {
    "status" : "extensions",
    "div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" style=\"border: 0px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top;\"><tr style=\"border: 1px #F0F0F0 solid; font-size: 11px; font-family: verdana; vertical-align: top\"><th style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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 style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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 style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"https://build.fhir.org/ig/FHIR/ig-guidance/readingIgs.html#table-views\" title=\"Minimum and Maximum # of times the the element can appear in the instance\">Card.</a></th><th style=\"width: 100px\" class=\"hierarchy\"><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 style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><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 style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_resource.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance\">AllergyIntolerance</a><a name=\"AllergyIntolerance\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"padding-left: 3px; padding-right: 3px; border: 1px maroon solid; font-weight: bold; color: #301212; background-color: #fdf4f4;\" href=\"http://hl7.org/fhir/R4/conformance-rules.html#constraints\" title=\"This element has or is affected by constraints (warning-medication-allergy)\">C</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-JP-AllergyIntolerance-eCS.html\">JP_AllergyIntolerance_eCS</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">診療情報におけるアレルギー情報/薬剤禁忌の格納に使用する</span><br/><span style=\"font-weight:bold\">warning-medication-allergy: </span>注意喚起:R2011:薬剤禁忌情報として本リソース種別を使用するのであれば、category要素は&quot;medication&quot;で、criticality要素は&quot;high&quot;を設定しなければならない。このままcriticality要素が&quot;high&quot;以外で差し支えなければ修正不要。</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck11.png)\" class=\"hierarchy\"><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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.meta\">meta</a><a name=\"AllergyIntolerance.meta\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck110.png)\" class=\"hierarchy\"><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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.meta.profile\" title=\"準拠しているプロファイルを受信側に通知するため、本文書のプロファイルを識別するURLを必ず指定する。http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS\">profile</a><a name=\"AllergyIntolerance.meta.profile\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">canonical</a>(<a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/structuredefinition.html\">StructureDefinition</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">準拠しているプロファイルを受信側に通知するため、本文書のプロファイルを識別するURLを必ず指定する。http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck103.png)\" class=\"hierarchy\"><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_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic\" href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.meta.tag\">Slices for tag</a><a name=\"AllergyIntolerance.meta.tag\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">0</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">電子カルテ情報共有サービスでは、長期保存フラグの設定する場合に使用する。詳細はJP_AllergyIntolerance_CLINS_eCSを参照のこと。</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by value:$this</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck1025.png)\" class=\"hierarchy\"><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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.meta.tag:lts\" title=\"Slice lts: 電子カルテ情報共有サービスで長期保存フラグの設定する場合に使用する。\">tag:lts</a><a name=\"AllergyIntolerance.meta.tag\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">電子カルテ情報共有サービスで長期保存フラグの設定する場合に使用する。<br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">At least the following</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10250.png)\" class=\"hierarchy\"><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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.system\">system</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">用語システムのアイデンティティ / Identity of the terminology system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10250.png)\" class=\"hierarchy\"><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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_fixed.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Fixed Value\" class=\"hierarchy\"/> <a href=\"http://hl7.org/fhir/R4/datatypes-definitions.html#Coding.code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">システムによって定義された構文のシンボル / Symbol in syntax defined by the system<br/><span style=\"font-weight: bold\">Fixed Value: </span><span style=\"color: darkgreen\">LTS</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10250.png)\" class=\"hierarchy\"><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_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.meta.tag:lts.system\" title=\"固定値 http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication\u3000を設定する。\">system</a><a name=\"AllergyIntolerance.meta.tag.system\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">固定値 http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication\u3000を設定する。</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10240.png)\" class=\"hierarchy\"><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_blank.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_slice.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-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.meta.tag:lts.code\" title=\"長期保存フラグ\u3000固定値 LTSを設定する。\">code</a><a name=\"AllergyIntolerance.meta.tag.code\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: red\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">長期保存フラグ\u3000固定値 LTSを設定する。</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><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_extension_simple.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Simple Extension\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.extension\">extension</a><a name=\"AllergyIntolerance.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/extensibility.html#Extension\">Extension</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Extension</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck14.png)\" class=\"hierarchy\"><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_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.extension:eCS_InstitutionNumber\" title=\"Slice eCS_InstitutionNumber: 本情報を作成発行した医療機関の識別番号を記述するために使用する拡張「eCS_InstitutionNumber」。電子カルテ情報サービスでは、この拡張による記述は必須。本情報は、ServiceRequestの要素として記述することも可能であるが、その場合もこの拡張で記述することとする。\">extension:eCS_InstitutionNumber</a><a name=\"AllergyIntolerance.extension\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..<span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"StructureDefinition-jp-ecs-institution-number.html\" title=\"Extension\">JP_eCS_InstitutionNumber</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">本情報を作成発行した医療機関の識別番号を記述するために使用する拡張「eCS_InstitutionNumber」。電子カルテ情報サービスでは、この拡張による記述は必須。本情報は、ServiceRequestの要素として記述することも可能であるが、その場合もこの拡張で記述することとする。</td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.category\">category</a><a name=\"AllergyIntolerance.category\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">*</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">特定された原因物質のカテゴリ。記述を可能な限り推奨する。</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck10.png)\" class=\"hierarchy\"><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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.criticality\">criticality</a><a name=\"AllergyIntolerance.criticality\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">潜在的な臨床的危険性、致命度</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck01.png)\" class=\"hierarchy\"><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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.patient\">patient</a><a name=\"AllergyIntolerance.patient\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-JP-Patient-CLINS-eCS.html\">CLINS電子カルテ情報共有サービス用:JP_Patient_CLINS_eCS</a>)</td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">&quot;このアレルギー不耐症を有する患者のFHIRリソース\\(JP_Patient)への参照。電子カルテ情報サービスでは、\\(JP_Patient_CLINS_eCS)への参照とする。&quot;</span></td></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck001.png)\" class=\"hierarchy\"><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_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.patient.identifier\">identifier</a><a name=\"AllergyIntolerance.patient.identifier\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>\r\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0000.png)\" class=\"hierarchy\"><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_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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-JP-AllergyIntolerance-CLINS-eCS-definitions.html#AllergyIntolerance.patient.identifier.system\">system</a><a name=\"AllergyIntolerance.patient.identifier.system\"> </a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#uri\">uri</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">識別子値の名前空間 / The namespace for the identifier value</span><br/><span style=\"font-weight:bold\">Fixed Value: </span><span style=\"color: darkgreen\">http://jpfhir.jp/fhir/clins/Idsystem/JP_Insurance_memberID</span></td></tr>\r\n<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>"
  },
  "url" : "http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS",
  "version" : "1.1.6",
  "name" : "JP_AllergyIntolerance_CLINS_eCS",
  "title" : "CLINS電子カルテ情報共有サービス用:JP_AllergyIntolerance_CLINS_eCS",
  "status" : "active",
  "date" : "2024-02-25",
  "publisher" : "管理団体:(一社)日本HL7協会、(一社)日本医療情報学会.",
  "contact" : [
    {
      "name" : "管理団体:(一社)日本HL7協会、(一社)日本医療情報学会.",
      "telecom" : [
        {
          "system" : "url",
          "value" : "http://jpfhir.jp"
        },
        {
          "system" : "email",
          "value" : "office@hlfhir.jp"
        }
      ]
    }
  ],
  "description" : "CLINS 電子カルテ共有サービス用 AllergyIntoleranceリソース(アレルギー情報/薬剤禁忌)プロファイル。 JP_AllergyIntolerance_eCSからの派生プロファイル。",
  "jurisdiction" : [
    {
      "coding" : [
        {
          "system" : "urn:iso:std:iso:3166-2",
          "code" : "JP"
        }
      ]
    }
  ],
  "copyright" : "(一社)日本HL7協会、(一社)日本医療情報学会. CC(Creative Commons) BY-ND 4.0",
  "fhirVersion" : "4.0.1",
  "mapping" : [
    {
      "identity" : "rim",
      "uri" : "http://hl7.org/v3",
      "name" : "RIM Mapping"
    },
    {
      "identity" : "w5",
      "uri" : "http://hl7.org/fhir/fivews",
      "name" : "FiveWs Pattern Mapping"
    },
    {
      "identity" : "v2",
      "uri" : "http://hl7.org/v2",
      "name" : "HL7 v2 Mapping"
    }
  ],
  "kind" : "resource",
  "abstract" : false,
  "type" : "AllergyIntolerance",
  "baseDefinition" : "http://jpfhir.jp/fhir/eCS/StructureDefinition/JP_AllergyIntolerance_eCS",
  "derivation" : "constraint",
  "snapshot" : {
    "element" : [
      {
        "id" : "AllergyIntolerance",
        "path" : "AllergyIntolerance",
        "short" : "診療情報におけるアレルギー情報/薬剤禁忌の格納に使用する",
        "definition" : "診療情報におけるアレルギー情報/薬剤禁忌の格納に使用する",
        "comment" : "このプロファイルは、電子カルテ情報共有サービスに送信するために適合したプロファイルである。薬剤禁忌情報かアレルギー情報かの区別はcategory要素がmedicationかそれ以外かによる。",
        "alias" : [
          "Allergy",
          "Intolerance",
          "Adverse Reaction"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AllergyIntolerance",
          "min" : 0,
          "max" : "*"
        },
        "constraint" : [
          {
            "key" : "ait-1",
            "severity" : "error",
            "human" : "AllergyIntolerance.verificationStatusに'entered-in-error'が入力されていない場合には、AllergyIntolerance.ClinicalStatusは、存在しなければならない。/ AllergyIntolerance.clinicalStatus SHALL be present if verificationStatus is not entered-in-error.",
            "expression" : "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').exists() or clinicalStatus.exists()",
            "xpath" : "f:verificationStatus/f:coding/f:code/@value='entered-in-error' or exists(f:clinicalStatus)",
            "source" : "http://jpfhir.jp/fhir/core/StructureDefinition/JP_AllergyIntolerance"
          },
          {
            "key" : "ait-2",
            "severity" : "error",
            "human" : "AllergyIntolerance.verificationStatusに'entered-in-error'が入力されている場合、AllergyIntolerance.ClinicalStatusは、存在してはならない。 / AllergyIntolerance.clinicalStatus SHALL NOT be present if verification Status is entered-in-error",
            "expression" : "verificationStatus.coding.where(system = 'http://terminology.hl7.org/CodeSystem/allergyintolerance-verification' and code = 'entered-in-error').empty() or clinicalStatus.empty()",
            "xpath" : "not(f:verificationStatus/f:coding/f:code/@value='entered-in-error') or not(exists(f:clinicalStatus))",
            "source" : "http://jpfhir.jp/fhir/core/StructureDefinition/JP_AllergyIntolerance"
          },
          {
            "key" : "dom-2",
            "severity" : "error",
            "human" : "リソースが別のリソースに含まれている場合、ネストされたリソースを含めてはなりません / If the resource is contained in another resource, it SHALL NOT contain nested Resources",
            "expression" : "contained.contained.empty()",
            "xpath" : "not(parent::f:contained and f:contained)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-3",
            "severity" : "error",
            "human" : "リソースが別のリソースに含まれている場合、それはリソースの他の場所から参照されるか、含有リソースを参照しなければならない。 / If the resource is contained in another resource, it SHALL be referred to from elsewhere in the resource or SHALL refer to the containing resource",
            "expression" : "contained.where((('#'+id in (%resource.descendants().reference | %resource.descendants().as(canonical) | %resource.descendants().as(uri) | %resource.descendants().as(url))) or descendants().where(reference = '#').exists() or descendants().where(as(canonical) = '#').exists() or descendants().where(as(canonical) = '#').exists()).not()).trace('unmatched', id).empty()",
            "xpath" : "not(exists(for $id in f:contained/*/f:id/@value return $contained[not(parent::*/descendant::f:reference/@value=concat('#', $contained/*/id/@value) or descendant::f:reference[@value='#'])]))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-4",
            "severity" : "error",
            "human" : "リソースが別のリソースに含まれている場合、meta.versionidもmeta.lastupdatedも持ってはならない。 / If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated",
            "expression" : "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "dom-5",
            "severity" : "error",
            "human" : "別のリソースにリソースが含まれている場合、セキュリティラベルはあってはならない。 / If a resource is contained in another resource, it SHALL NOT have a security label",
            "expression" : "contained.meta.security.empty()",
            "xpath" : "not(exists(f:contained/*/f:meta/f:security))",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice",
                "valueBoolean" : true
              },
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation",
                "valueMarkdown" : "リソースに叙述(Narative)がない場合、データを完全に理解するシステムのみがリソースを人間に安全に表示できます。リソースに人間の読み取り可能な表現を含めることは、はるかに堅牢なエコシステムと、仲介システムによるリソースのより安価な取り扱いになります。一部のエコシステムは、リソースの分布をリソースを完全に理解しているシステムのみに制限しており、その結果、実装者は叙述(Narative)が余計であると信じるかもしれません。しかし、経験によると、そのようなエコシステムは、多くの場合、時間の経過とともに新しい参加者に開かれています。 / When a resource has no narrative, only systems that fully understand the data can display the resource to a human safely. Including a human readable representation in the resource makes for a much more robust eco-system and cheaper handling of resources by intermediary systems. Some ecosystems restrict distribution of resources to only those systems that do fully understand the resources, and as a consequence implementers may believe that the narrative is superfluous. However experience shows that such eco-systems often open up to new participants over time."
              }
            ],
            "key" : "dom-6",
            "severity" : "warning",
            "human" : "リソースには、堅牢な管理のための叙述(Narative)が必要です / A resource should have narrative for robust management",
            "expression" : "text.`div`.exists()",
            "xpath" : "exists(f:text/h:div)",
            "source" : "http://hl7.org/fhir/StructureDefinition/DomainResource"
          },
          {
            "key" : "warning-medication-allergy",
            "severity" : "warning",
            "human" : "注意喚起:R2011:薬剤禁忌情報として本リソース種別を使用するのであれば、category要素は\"medication\"で、criticality要素は\"high\"を設定しなければならない。このままcriticality要素が\"high\"以外で差し支えなければ修正不要。",
            "expression" : "category.where($this='medication').exists() and criticality!='high'",
            "source" : "http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "rim",
            "map" : "Observation[classCode=OBS, moodCode=EVN]"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.id",
        "path" : "AllergyIntolerance.id",
        "short" : "このアーティファクトの論理ID / Logical id of this artifact",
        "definition" : "リソースのURLで使用されるリソースの論理ID。割り当てられたら、この値は変更されません。 / The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes.",
        "comment" : "リソースにIDがないのは、IDが作成操作を使用してサーバーに送信されている場合です。 / The only time that a resource does not have an id is when it is being submitted to the server using a create operation.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "id"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "AllergyIntolerance.meta",
        "path" : "AllergyIntolerance.meta",
        "short" : "リソースに関するメタデータ / Metadata about the resource",
        "definition" : "リソースに関するメタデータ。これは、インフラストラクチャによって維持されるコンテンツです。コンテンツの変更は、常にリソースのバージョンの変更に関連付けられているとは限りません。 / The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Resource.meta",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Meta"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "AllergyIntolerance.meta.id",
        "path" : "AllergyIntolerance.meta.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "エレメント相互参照のためのユニークID",
        "definition" : "リソース内の要素の固有ID(内部参照用)。これは、スペースを含まない任意の文字列値である可能性があります。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.extension",
        "path" : "AllergyIntolerance.meta.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "拡張子は常にURLで切り片にされます。",
          "rules" : "open"
        },
        "short" : "実装によって定義される追加コンテンツ",
        "definition" : "要素の基本的な定義に含まれない追加情報を表すために使用されることがあります。拡張機能の使用を安全かつ管理しやすくするために、定義および使用に適用される厳格なガバナンスのセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たす必要のある要件のセットがあります。",
        "comment" : "どのようなアプリケーション、プロジェクト、または標準が拡張機能を使用しているかに関わらず、拡張機能の使用には決して汚名が付くわけではありません - それらを使用または定義する機関または管轄区域に関係なく。拡張機能の使用こそが、FHIR仕様を誰にとっても簡単なコアレベルで維持することを可能にします。",
        "alias" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "拡張機能または値[x]のいずれかが必要です。両方ではありません。",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.versionId",
        "path" : "AllergyIntolerance.meta.versionId",
        "short" : "バージョン固有の識別子",
        "definition" : "バージョン固有の識別子",
        "comment" : "サーバーがこの値を割り当て、クライアントが指定した値を無視する。ただし、サーバーが更新/削除時にバージョンの整合性を強制する場合を除く。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Meta.versionId",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "id"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "AllergyIntolerance.meta.lastUpdated",
        "path" : "AllergyIntolerance.meta.lastUpdated",
        "short" : "このリソースのデータが最後に作成、更新、複写された日時。最終更新日時。YYYY-MM-DDThh:mm:ss.sss+zz:zz\u3000例:2015-02-07T13:28:17.239+09:00",
        "definition" : "このリソースのデータが最後に作成、更新、複写された日時。最終更新日時。YYYY-MM-DDThh:mm:ss.sss+zz:zz\u3000例:2015-02-07T13:28:17.239+09:00",
        "comment" : "この要素は、このリソースのデータを取り込んで蓄積していたシステムが、このリソースになんらかの変更があった可能性があった日時を取得し、このデータを再取り込みする必要性の判断をするために使われる。本要素に前回取り込んだ時点より後の日時が設定されている場合には、なんらかの変更があった可能性がある(変更がない場合もある)ものとして判断される。したがって、内容になんらかの変更があった場合、またはこのリソースのデータが初めて作成された場合には、その時点以降の日時(たとえば、このリソースのデータを作成した日時)を設定しなければならない。内容の変更がない場合でも、このリソースのデータが作り直された場合や単に複写された場合にその日時を設定しなおしてもよい。ただし、内容に変更がないのであれば、日時を変更しなくてもよい。また、この要素の変更とmeta.versionIdの変更とは、必ずしも連動しないことがある。",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Meta.lastUpdated",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "instant"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "AllergyIntolerance.meta.source",
        "path" : "AllergyIntolerance.meta.source",
        "short" : "「リソースがどこから来たかを特定する」",
        "definition" : "リソースのソースシステムを識別するURI。これにより、リソース内の情報のソースをトラックまたは区別するために使用できる最小限の[プロビナンス](provenance.html#)情報が提供されます。ソースは、別のFHIRサーバー、ドキュメント、メッセージ、データベースなどを識別できます。",
        "comment" : "プロバナンスのリソースにおいて、これはProvenance.entity.what[x]に対応します。ソースの正確な使用方法(および含意されるProvenance.entity.role)は実装者の判断に委ねられます。指定されたソースは1つだけです。追加のプロバナンスの詳細が必要な場合は、完全なプロバナンスリソースを使用するべきです。\n\nこの要素は、正規のURLでホストされていないリソースの現在のマスターソースがどこにあるかを示すために使用できます。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Meta.source",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "AllergyIntolerance.meta.profile",
        "path" : "AllergyIntolerance.meta.profile",
        "short" : "準拠しているプロファイルを受信側に通知するため、本文書のプロファイルを識別するURLを必ず指定する。http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS",
        "definition" : "準拠しているプロファイルを受信側に通知するため、本文書のプロファイルを識別するURLを必ず指定する。http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS",
        "comment" : "これらの主張が時間の経過に伴って検証または更新される方法と、それらを決定するサーバーや他の基盤に任されます。プロファイルURLのリストは1セットです。",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Meta.profile",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "canonical",
            "targetProfile" : [
              🔗 "http://hl7.org/fhir/StructureDefinition/StructureDefinition"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true
      },
      {
        "id" : "AllergyIntolerance.meta.security",
        "path" : "AllergyIntolerance.meta.security",
        "short" : "このリソースに適用されたセキュリティラベル",
        "definition" : "このリソースにはセキュリティラベルが適用されています。これらのタグにより、特定のリソースが全体的なセキュリティポリシーやインフラストラクチャに関連付けられます。",
        "comment" : "セキュリティラベルは変更せずにリソースのバージョンを更新可能です。セキュリティラベルのリストはセットであり、一意性はシステム/コードに基づき、バージョンと表示は無視されます。",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Meta.security",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SecurityLabels"
            }
          ],
          "strength" : "extensible",
          "description" : "医療プライバシーおよびセキュリティ分類システムからのセキュリティラベル。",
          "valueSet" : "http://hl7.org/fhir/ValueSet/security-labels"
        }
      },
      {
        "id" : "AllergyIntolerance.meta.tag",
        "path" : "AllergyIntolerance.meta.tag",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        },
        "short" : "電子カルテ情報共有サービスでは、長期保存フラグの設定する場合に使用する。詳細はJP_AllergyIntolerance_CLINS_eCSを参照のこと。",
        "definition" : "電子カルテ情報共有サービスでは、長期保存フラグの設定する場合に使用する。詳細はJP_AllergyIntolerance_CLINS_eCSを参照のこと。",
        "comment" : "リソースの表示バージョンを変更することなく、タグを更新できます。タグのリストは集合です。ユニーク性はシステム/コードに基づき、バージョンと表示は無視されます。",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Meta.tag",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Tags"
            }
          ],
          "strength" : "example",
          "description" : "様々なタグを表すコードで、一般的にはワークフローに関連しています。例:「ジョーンズ博士によるレビューが必要です」。",
          "valueSet" : "http://hl7.org/fhir/ValueSet/common-tags"
        }
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts",
        "path" : "AllergyIntolerance.meta.tag",
        "sliceName" : "lts",
        "short" : "電子カルテ情報共有サービスで長期保存フラグの設定する場合に使用する。",
        "definition" : "電子カルテ情報共有サービスで長期保存フラグの設定する場合に使用する。",
        "comment" : "リソースの表示バージョンを変更することなく、タグを更新できます。タグのリストは集合です。ユニーク性はシステム/コードに基づき、バージョンと表示は無視されます。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Meta.tag",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "patternCoding" : {
          "system" : "http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication",
          "code" : "LTS"
        },
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素は、@valueまたはchildrenを持っている必要があります。",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Tags"
            }
          ],
          "strength" : "example",
          "description" : "様々なタグを表すコードで、一般的にはワークフローに関連しています。例:「ジョーンズ博士によるレビューが必要です」。",
          "valueSet" : "http://hl7.org/fhir/ValueSet/common-tags"
        }
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.id",
        "path" : "AllergyIntolerance.meta.tag.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.extension",
        "path" : "AllergyIntolerance.meta.tag.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.system",
        "path" : "AllergyIntolerance.meta.tag.system",
        "short" : "固定値 http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication\u3000を設定する。",
        "definition" : "固定値 http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication\u3000を設定する。",
        "comment" : "uriは、oid(urn:oid:...)またはuuid(urn:uuid:...)である場合があります。OIDとUUIDは、HL7 OIDレジストリへの参照となります。それ以外の場合、URIは、FHIRの特別なURIを定義したHL7のリストから来るか、システムを明確かつ明確に確立する定義を参照する必要があります。 / The URI may be an OID (urn:oid:...) or a UUID (urn:uuid:...).  OIDs and UUIDs SHALL be references to the HL7 OID registry. Otherwise, the URI should come from HL7's list of FHIR defined special URIs or it should reference to some definition that establishes the system clearly and unambiguously.",
        "requirements" : "シンボルの定義のソースについて明確である必要があります。 / Need to be unambiguous about the source of the definition of the symbol.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.3"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystem"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.system rdfs:subPropertyOf dt:CDCoding.codeSystem"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.version",
        "path" : "AllergyIntolerance.meta.tag.version",
        "short" : "システムのバージョン - 関連する場合 / Version of the system - if relevant",
        "definition" : "このコードを選択するときに使用されたコードシステムのバージョン。コードの意味がバージョン全体で一貫しているため、適切にメンテナンスしたコードシステムでは報告されたバージョンを必要としないことに注意してください。ただし、これは一貫して保証することはできず、意味が一貫していることが保証されていない場合、バージョンを交換する必要があります。 / The version of the code system which was used when choosing this code. Note that a well-maintained code system does not need the version reported, because the meaning of codes is consistent across versions. However this cannot consistently be assured, and when the meaning is not guaranteed to be consistent, the version SHOULD be exchanged.",
        "comment" : "用語がコードシステムバージョンを識別するために使用する文字列を明確に定義していない場合、推奨は、そのバージョンがバージョンの日付として公式に公開された日付(FHIR日付形式で表現)を使用することです。 / Where the terminology does not clearly define what string should be used to identify code system versions, the recommendation is to use the date (expressed in FHIR date format) on which that version was officially published as the version date.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.version",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.7"
          },
          {
            "identity" : "rim",
            "map" : "./codeSystemVersion"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.version rdfs:subPropertyOf dt:CDCoding.codeSystemVersion"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.code",
        "path" : "AllergyIntolerance.meta.tag.code",
        "short" : "長期保存フラグ\u3000固定値 LTSを設定する。",
        "definition" : "長期保存フラグ\u3000固定値 LTSを設定する。",
        "requirements" : "システム内の特定のコードを参照する必要があります。 / Need to refer to a particular code in the system.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Coding.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1"
          },
          {
            "identity" : "rim",
            "map" : "./code"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.code rdfs:subPropertyOf dt:CDCoding.code"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "AllergyIntolerance.meta.tag.display",
        "short" : "システムによって定義された表現 / Representation defined by the system",
        "definition" : "システムのルールに従って、システム内のコードの意味の表現。 / A representation of the meaning of the code in the system, following the rules of the system.",
        "requirements" : "システムを知らない読者のために、コードの人間の読み取り可能な意味を持ち込むことができる必要があります。 / Need to be able to carry a human-readable meaning of the code for readers that do not know  the system.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.2 - but note this is not well followed"
          },
          {
            "identity" : "rim",
            "map" : "CV.displayName"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.display rdfs:subPropertyOf dt:CDCoding.displayName"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.userSelected",
        "path" : "AllergyIntolerance.meta.tag.userSelected",
        "short" : "このコーディングがユーザーによって直接選択された場合 / If this coding was chosen directly by the user",
        "definition" : "このコーディングがユーザーによって直接選択されたことを示します。利用可能なアイテムのピックリスト(コードまたはディスプレイ)。 / Indicates that this coding was chosen by a user directly - e.g. off a pick list of available items (codes or displays).",
        "comment" : "一連の代替案の中で、直接選択されたコードが新しい翻訳の最も適切な出発点です。この要素の使用とその結果をより完全に明確にするためには、「直接選択された」ことについては曖昧さがあり、取引パートナー契約が必要になる場合があります。 / Amongst a set of alternatives, a directly chosen code is the most appropriate starting point for new translations. There is some ambiguity about what exactly 'directly chosen' implies, and trading partner agreement may be needed to clarify the use of this element and its consequences more completely.",
        "requirements" : "これは、臨床安全基準として特定されています - この正確なシステム/コードペアは、いくつかのルールまたは言語処理に基づいてシステムによって推測されるのではなく、明示的に選択されたことです。 / This has been identified as a clinical safety criterium - that this exact system/code pair was chosen explicitly, rather than inferred by the system based on some rules or language processing.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Coding.userSelected",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "boolean"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "Sometimes implied by being first"
          },
          {
            "identity" : "rim",
            "map" : "CD.codingRationale"
          },
          {
            "identity" : "orim",
            "map" : "fhir:Coding.userSelected fhir:mapsTo dt:CDCoding.codingRationale. fhir:Coding.userSelected fhir:hasMap fhir:Coding.userSelected.map. fhir:Coding.userSelected.map a fhir:Map;   fhir:target dt:CDCoding.codingRationale. fhir:Coding.userSelected\\#true a [     fhir:source \"true\";     fhir:target dt:CDCoding.codingRationale\\#O   ]"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.implicitRules",
        "path" : "AllergyIntolerance.implicitRules",
        "short" : "このコンテンツが作成されたルールのセット / A set of rules under which this content was created",
        "definition" : "リソースが構築されたときに従った一連のルールへの参照。コンテンツの処理時に理解する必要があります。多くの場合、これは他のプロファイルなどとともに特別なルールを定義する実装ガイドへの参照です。 / A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc.",
        "comment" : "このルールセットを主張することは、コンテンツが限られた取引パートナーのセットによってのみ理解されることを制限します。これにより、本質的に長期的にデータの有用性が制限されます。ただし、既存の健康エコシステムは非常に破壊されており、一般的に計算可能な意味でデータを定義、収集、交換する準備ができていません。可能な限り、実装者や仕様ライターはこの要素の使用を避ける必要があります。多くの場合、使用する場合、URLは、これらの特別なルールを他のプロファイル、バリューセットなどとともに叙述(Narative)の一部として定義する実装ガイドへの参照です。 / Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.implicitRules",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "暗黙のルールは、意味または解釈を変更するリソースに関する追加の知識を提供する可能性があるため、この要素は修飾子としてラベル付けされています。 / This element is labeled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation",
        "isSummary" : true
      },
      {
        "id" : "AllergyIntolerance.language",
        "path" : "AllergyIntolerance.language",
        "short" : "リソースコンテンツの言語 / Language of the resource content",
        "definition" : "リソースが書かれている基本言語。 / The base language in which the resource is written.",
        "comment" : "言語は、インデックス作成とアクセシビリティをサポートするために提供されます(通常、テキストから音声までのサービスなどのサービスが言語タグを使用します)。叙述(Narative)のHTML言語タグは、叙述(Narative)に適用されます。リソース上の言語タグを使用して、リソース内のデータから生成された他のプレゼンテーションの言語を指定できます。すべてのコンテンツが基本言語である必要はありません。リソース。言語は、叙述(Narative)に自動的に適用されると想定されるべきではありません。言語が指定されている場合、HTMLのDIV要素にも指定されている場合(XML:LangとHTML Lang属性の関係については、HTML5のルールを参照してください)。 / Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Resource.language",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet",
              "valueCanonical" : "http://hl7.org/fhir/ValueSet/all-languages"
            },
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Language"
            }
          ],
          "strength" : "preferred",
          "description" : "人間の言語。 / A human language.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/languages"
        }
      },
      {
        "id" : "AllergyIntolerance.text",
        "path" : "AllergyIntolerance.text",
        "short" : "Text summary of the resource, for human interpretation. このリソースを人間が解釈するためのテキスト要約",
        "definition" : "リソースの概要を含み、人間へのリソースの内容を表すために使用できる人間の読み取り可能な叙述(Narative)。叙述(Narative)はすべての構造化されたデータをエンコードする必要はありませんが、人間が叙述(Narative)を読むだけで「臨床的に安全」にするために十分な詳細を含める必要があります。リソースの定義は、臨床的安全を確保するために、叙述(Narative)で表現するコンテンツを定義する場合があります。 / A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety.",
        "comment" : "含まれるリソースには叙述(Narative)がありません。含まれていないリソースには叙述(Narative)が必要です。場合によっては、リソースには、追加の個別のデータがほとんどまたはまったくないテキストのみがあります(すべてのMinoccur = 1要素が満たされている限り)。これは、情報がtext blob (バイナリー ラージ オブジェクト)としてキャプチャされるレガシーシステムからのデータ、またはテキストが生またはナレーションされ、エンコードされた情報が後で追加される場合に必要になる場合があります。 / Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
        "alias" : [
          "narrative",
          "html",
          "xhtml",
          "display"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Narrative"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Act.text?"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.contained",
        "path" : "AllergyIntolerance.contained",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "profile",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        },
        "short" : "インラインリソースが含まれています / Contained, inline Resources",
        "definition" : "これらのリソースには、それらを含むリソースを除いて独立した存在はありません - 独立して特定することはできず、独自の独立したトランザクションスコープを持つこともできません。 / These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope.",
        "comment" : "識別が失われると、コンテンツを適切に識別できる場合は、これを行うべきではありません。含まれるリソースには、メタ要素にプロファイルとタグがある場合がありますが、セキュリティラベルはありません。 / This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels.",
        "alias" : [
          "inline resources",
          "anonymous resources",
          "contained resources"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Resource"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.contained:encounter",
        "path" : "AllergyIntolerance.contained",
        "sliceName" : "encounter",
        "short" : "アレルギー/薬剤禁忌情報を記述(取得)したときの入院外来受診情報をコンパクトに格納したEncounterリソース",
        "definition" : "アレルギー/薬剤禁忌情報を記述(取得)したときの入院外来受診情報をコンパクトに格納したEncounterリソース",
        "comment" : "encounter要素から参照される場合には、そのJP_Encounterリソースの実体。JP_Encounterリソースにおける必要最小限の要素だけが含まれればよい。ここで埋め込まれるJP_Encounterリソースでは、Encounter.classにこの情報を記録したときの受診情報(入外区分など)を記述して使用する。",
        "alias" : [
          "Visit"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Encounter",
            "profile" : [
              🔗 "http://jpfhir.jp/fhir/core/StructureDefinition/JP_Encounter"
            ]
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "workflow",
            "map" : "Event"
          },
          {
            "identity" : "rim",
            "map" : "Encounter[@moodCode='EVN']"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.contained:recorder",
        "path" : "AllergyIntolerance.contained",
        "sliceName" : "recorder",
        "short" : "アレルギー/薬剤禁忌情報を記述(取得)した医療者情報をコンパクトに格納したPractitionerリソース",
        "definition" : "アレルギー/薬剤禁忌情報を記述(取得)した医療者情報をコンパクトに格納したPractitionerリソース",
        "comment" : "recorder要素から参照される場合には、そのJP_Practitionerリソースの実体。JP_Practitionerリソースにおける必要最小限の要素だけが含まれればよい。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.contained",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Practitioner",
            "profile" : [
              🔗 "http://jpfhir.jp/fhir/core/StructureDefinition/JP_Practitioner"
            ]
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "Entity. Role, or Act"
          },
          {
            "identity" : "v2",
            "map" : "PRD (as one example)"
          },
          {
            "identity" : "rim",
            "map" : "Role"
          },
          {
            "identity" : "servd",
            "map" : "Provider"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.extension",
        "path" : "AllergyIntolerance.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "Extension",
        "definition" : "An Extension",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false
      },
      {
        "id" : "AllergyIntolerance.extension:eCS_InstitutionNumber",
        "path" : "AllergyIntolerance.extension",
        "sliceName" : "eCS_InstitutionNumber",
        "short" : "本情報を作成発行した医療機関の識別番号を記述するために使用する拡張「eCS_InstitutionNumber」。電子カルテ情報サービスでは、この拡張による記述は必須。本情報は、ServiceRequestの要素として記述することも可能であるが、その場合もこの拡張で記述することとする。",
        "definition" : "本情報を作成発行した医療機関の識別番号を記述するために使用する拡張「eCS_InstitutionNumber」。電子カルテ情報サービスでは、この拡張による記述は必須。本情報は、ServiceRequestの要素として記述することも可能であるが、その場合もこの拡張で記述することとする。",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              🔗 "http://jpfhir.jp/fhir/clins/Extension/StructureDefinition/JP_eCS_InstitutionNumber"
            ]
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          },
          {
            "key" : "valid-value-institutionNumberExtension",
            "severity" : "error",
            "human" : "施設番号\u3000valueIdentifier.value値は、2桁都道府県番号、1桁医療機関区分(1|2|3)、7桁保険医療機関番号の連結10桁とする。",
            "expression" : "value.ofType(Identifier).value.matches('[0-4][0-9][1-3][0-9]{7}')",
            "source" : "http://jpfhir.jp/fhir/clins/Extension/StructureDefinition/JP_eCS_InstitutionNumber"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "AllergyIntolerance.extension:eCS_Department",
        "path" : "AllergyIntolerance.extension",
        "sliceName" : "eCS_Department",
        "short" : "本情報を作成発行した診療科または作成発行者の診療科情報を記述するために使用する拡張「eCS_Department」",
        "definition" : "本情報を作成発行した診療科または作成発行者の診療科情報を記述するために使用する拡張「eCS_Department」",
        "comment" : "コード化する場合には、JAMI(SS-MIX2) 診療科コード表のsystem値\"http://jami.jp/SS-MIX2/CodeSystem/ClinicalDepartment\"を使用する。診療科を記述する場合には、そのコード化の有無に関わらずtext要素による記述は必須。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "DomainResource.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension",
            "profile" : [
              🔗 "http://jpfhir.jp/fhir/eCS/Extension/StructureDefinition/JP_eCS_Department"
            ]
          }
        ],
        "condition" : [
          "ele-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), 'value')])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false
      },
      {
        "id" : "AllergyIntolerance.modifierExtension",
        "path" : "AllergyIntolerance.modifierExtension",
        "short" : "無視できない拡張機能 / Extensions that cannot be ignored",
        "definition" : "リソースの基本的な定義の一部ではなく、それを含む要素の理解および/または含有要素の子孫の理解を変更するために使用される場合があります。通常、修飾子要素は否定または資格を提供します。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義することが許可されていますが、拡張機能の定義の一部として満たされる一連の要件があります。アプリケーションの処理リソースは、修飾子拡張機能をチェックする必要があります。\n\nモディファイア拡張は、リソースまたはdomainResource上の要素の意味を変更してはなりません(修飾軸自体の意味を変更することはできません)。 / May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it 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 is allowed to 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : "修飾子拡張機能により、安全に無視できる大部分の拡張機能と明確に区別できるように、安全に無視できない拡張機能が可能になります。これにより、実装者が拡張の存在を禁止する必要性を排除することにより、相互運用性が促進されます。詳細については、[修飾子拡張の定義](拡張性.html#modifierextension)を参照してください。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "DomainResource.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "モディファイア拡張は、それらを含むリソースの意味または解釈を変更することが期待されています / Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them",
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier",
        "path" : "AllergyIntolerance.identifier",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "system"
            }
          ],
          "rules" : "open"
        },
        "short" : "このリソース情報の識別ID。",
        "definition" : "このリソース情報の識別ID。",
        "comment" : "リソース一意識別IDの仕様は、「診療情報・サマリー汎用リソース一意識別ID仕様」を参照のこと。",
        "requirements" : "さまざまな参加システムで知られており、サーバー全体で一貫している方法でアレルギー耐性を識別できるようにします。 / Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "AllergyIntolerance.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.identifier"
          },
          {
            "identity" : "v2",
            "map" : "IAM-7"
          },
          {
            "identity" : "rim",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier",
        "path" : "AllergyIntolerance.identifier",
        "sliceName" : "resourceIdentifier",
        "short" : "このアイテムの外部ID / External ids for this item",
        "definition" : "リソースが更新され、サーバーからサーバーに伝播するにつれて一定のままであるパフォーマーまたは他のシステムによってこのアレルギー耐性に割り当てられたビジネス識別子。 / Business identifiers assigned to this AllergyIntolerance by the performer or other systems which remain constant as the resource is updated and propagates from server to server.",
        "comment" : "これはビジネス識別子であり、リソース識別子ではありません([ディスカッション](Resource.html#識別子を参照))。識別子が単一のリソースインスタンスにのみ表示することがベストプラクティスですが、ビジネス慣行は、同じ識別子を持つ複数のリソースインスタンスが存在する可能性があることを時々決定する場合があります。たとえば、複数の患者と個人のリソースインスタンスは、同じ社会保険番号を共有する場合があります。 / This is a business identifier, not a resource identifier (see [discussion](http://hl7.org/fhir/R4/resource.html#identifiers)).  It is best practice for the identifier to only appear on a single resource instance, however business practices may occasionally dictate that multiple resource instances with the same identifier can exist - possibly even with different resource types.  For example, multiple Patient and a Person resource instance might share the same social insurance number.",
        "requirements" : "さまざまな参加システムで知られており、サーバー全体で一貫している方法でアレルギー耐性を識別できるようにします。 / Allows identification of the AllergyIntolerance as it is known by various participating systems and in a way that remains consistent across servers.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.identifier",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.identifier"
          },
          {
            "identity" : "v2",
            "map" : "IAM-7"
          },
          {
            "identity" : "rim",
            "map" : "id"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.id",
        "path" : "AllergyIntolerance.identifier.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.extension",
        "path" : "AllergyIntolerance.identifier.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.use",
        "path" : "AllergyIntolerance.identifier.use",
        "short" : "通常|公式|一時的|セカンダリ|古い(知られている場合) / usual | official | temp | secondary | old (If known)",
        "definition" : "この識別子の目的。 / The purpose of this identifier.",
        "comment" : "アプリケーションは、識別子が一時的なものであると明示的に言っていない限り、永続的であると想定できます。 / Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements" : "特定の使用のコンテキストが一連の識別子の中から選択される適切な識別子を許可します。 / Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.use",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "これは、アプリケーションが一時的なIDを永続的なIDと間違えてはならないため、「IS修飾子」とラベル付けされています。 / This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IdentifierUse"
            }
          ],
          "strength" : "required",
          "description" : "既知の場合、この識別子の目的を識別します。 / Identifies the purpose for this identifier, if known .",
          "valueSet" : "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Role.code or implied by context"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.type",
        "path" : "AllergyIntolerance.identifier.type",
        "short" : "識別子の説明 / Description of identifier",
        "definition" : "特定の目的に使用する識別子を決定するために使用できる識別子のコード化されたタイプ。 / A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment" : "この要素は、識別子の一般的なカテゴリのみを扱います。識別子。システムに対応するコードに使用しないでください。一部の識別子は、一般的な使用法により複数のカテゴリに分類される場合があります。システムがわかっている場合、タイプは常にシステム定義の一部であるため、タイプは不要です。ただし、システムが不明な識別子を処理する必要があることがよくあります。多くの異なるシステムが同じタイプを持っているため、タイプとシステムの間に1:1の関係はありません。 / This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements" : "識別子システムが不明な場合、ユーザーは識別子を使用できます。 / Allows users to make use of identifiers when the identifier system is not known.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IdentifierType"
            }
          ],
          "strength" : "extensible",
          "description" : "特定の目的に使用する識別子を決定するために使用できる識別子のコード化されたタイプ。 / A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/identifier-type"
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.5"
          },
          {
            "identity" : "rim",
            "map" : "Role.code or implied by context"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.system",
        "path" : "AllergyIntolerance.identifier.system",
        "short" : "識別子値の名前空間 / The namespace for the identifier value",
        "definition" : "値の名前空間、つまり一意のセット値を記述するURLを確立します。 / Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "comment" : "リソース一意識別IDのsystem値は\"http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier\"\u3000を設定する。",
        "requirements" : "識別子のセットがたくさんあります。2つの識別子を一致させるには、どのセットを扱っているかを知る必要があります。システムは、特定の一意の識別子セットを識別します。 / There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Identifier.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "patternUri" : "http://jpfhir.jp/fhir/core/IdSystem/resourceInstance-identifier",
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.4 / EI-2-4"
          },
          {
            "identity" : "rim",
            "map" : "II.root or Role.id.root"
          },
          {
            "identity" : "servd",
            "map" : "./IdentifierType"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.value",
        "path" : "AllergyIntolerance.identifier.value",
        "short" : "「リソース一意識別ID」の文字列。URI形式を使う場合には、urn:ietf:rfc:3986に準拠すること。",
        "definition" : "「リソース一意識別ID」の文字列。URI形式を使う場合には、urn:ietf:rfc:3986に準拠すること。",
        "comment" : "値が完全なURIの場合、システムはurn:ietf:rfc:3986でなければなりません。値の主な目的は、計算マッピングです。その結果、比較目的で正規化される可能性があります(例えば、有意でない白文字、ダッシュなどの削除)ヒューマンディスプレイ用の値は、[レンダリングされた値拡張](拡張レンダリングValue.html)を使用して伝達できます。識別子。価値は、識別子の知識を使用しない限り、ケースに敏感なものとして扱われます。システムにより、プロセッサーは、非セイズに固有の処理が安全であると確信できます。 / If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Identifier.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.1 / EI.1"
          },
          {
            "identity" : "rim",
            "map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity" : "servd",
            "map" : "./Value"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.period",
        "path" : "AllergyIntolerance.identifier.period",
        "short" : "IDが使用に有効だった時間期間 / Time period when id is/was valid for use",
        "definition" : "識別子が使用される/有効な期間。 / Time period during which identifier is/was valid for use.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.7 + CX.8"
          },
          {
            "identity" : "rim",
            "map" : "Role.effectiveTime or implied by context"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.identifier:resourceIdentifier.assigner",
        "path" : "AllergyIntolerance.identifier.assigner",
        "short" : "IDを発行した組織(単なるテキストである可能性があります) / Organization that issued id (may be just text)",
        "definition" : "識別子を発行/管理する組織。 / Organization that issued/manages the identifier.",
        "comment" : "識別子は、.reference要素を省略し、割り当て組織に関する名前またはその他のテキスト情報を反映した.display要素のみを含む場合があります。 / The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.assigner",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity" : "rim",
            "map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity" : "servd",
            "map" : "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.clinicalStatus",
        "path" : "AllergyIntolerance.clinicalStatus",
        "short" : "臨床的状態のステータス。",
        "definition" : "臨床的状態のステータス。コードで記述は必須。ただし、verificationStatus要素が'entered-in-error'であれば、本要素は存在してはならない。それ以外では必須。",
        "comment" : "active | inactive | resolved のいすれか(現存、非現存、解消)system=http://terminology.hl7.org/CodeSystem/allergyintolerance-clinical",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.clinicalStatus",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "condition" : [
          "ait-1",
          "ait-2"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : true,
        "isModifierReason" : "この要素には、ステータスが非アクティブであるコードを含み、アレルギー耐性をアクティブにしなくなったとマークする解決されたため、修飾子としてラベル付けされています。 / This element is labeled as a modifier because the status contains the codes inactive and resolved that mark the AllergyIntolerance as no longer active.",
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceClinicalStatus"
            }
          ],
          "strength" : "required",
          "description" : "アレルギーまたは不耐性の臨床状態。 / The clinical status of the allergy or intolerance.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/allergyintolerance-clinical|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.status"
          },
          {
            "identity" : "rim",
            "map" : "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"clinicalStatus\", moodCode=EVN].value"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.clinicalStatus.id",
        "path" : "AllergyIntolerance.clinicalStatus.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.clinicalStatus.extension",
        "path" : "AllergyIntolerance.clinicalStatus.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.clinicalStatus.coding",
        "path" : "AllergyIntolerance.clinicalStatus.coding",
        "short" : "用語システムによって定義されたコード / Code defined by a terminology system",
        "definition" : "用語システムによって定義されたコードへの参照。 / A reference to a code defined by a terminology system.",
        "comment" : "コードは、列挙されたCTなどの非常に正式な定義まで、列挙またはコードリストで非常にさりげなく定義される場合があります。詳細については、HL7 V3コアプリンシップを参照してください。コーディングの順序付けは未定義であり、意味を推測するために使用されません。一般に、せいぜい、コーディング値の1つのみがuserselected = trueとしてラベル付けされます。 / Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements" : "コードシステム内の代替エンコーディング、および他のコードシステムへの翻訳が可能になります。 / Allows for alternative encodings within a code system, and translations to other code systems.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.clinicalStatus.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "AllergyIntolerance.clinicalStatus.text",
        "short" : "コードだけでは記述できない情報がある場合にコードと併用してもよい。値が使用されない可能性はある。",
        "definition" : "コードだけでは記述できない情報がある場合にコードと併用してもよい。値が使用されない可能性はある。",
        "comment" : "多くの場合、テキストはコーディングの1つの表示名と同じです。 / Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "用語からのコードは、それらを使用する人間のすべてのニュアンスを使用して、常に正しい意味をキャプチャするとは限りません。または、適切なコードがまったくない場合があります。これらの場合、テキストはソースの完全な意味をキャプチャするために使用されます。 / The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.verificationStatus",
        "path" : "AllergyIntolerance.verificationStatus",
        "short" : "入力された臨床的状態に対する検証状況を示す。確からしさと考えられる。記述する場合にはコード化記述が必須。clinicalStatusとの制約条件を参照のこと。",
        "definition" : "unconfirmed | confirmed | refuted | entered-in-error  のいずれか(未確認、確認ずみ、否定、エラー)\u3000system=http://terminology.hl7.org/CodeSystem/allergyintolerance-verification",
        "comment" : "検証型には臨床的判断が含まれているため、データ型はCodeAbleconceptです。そのため、必要なFHIR値セットが許可するよりも特異性が必要になる場合があります。たとえば、スノムコーディングにより、追加の特異性が可能になる場合があります。 / The data type is CodeableConcept because verificationStatus has some clinical judgment involved, such that there might need to be more specificity than the required FHIR value set allows. For example, a SNOMED coding might allow for additional specificity.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.verificationStatus",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "condition" : [
          "ait-1",
          "ait-2"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : true,
        "isModifierReason" : "この要素は、アレルギー耐性を現在有効ではないとマークする反論および侵入のコードが含まれているため、修飾子としてラベル付けされています。 / This element is labeled as a modifier because the status contains the codes refuted and entered-in-error that mark the AllergyIntolerance as not currently valid.",
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceVerificationStatus"
            }
          ],
          "strength" : "required",
          "description" : "特定された物質に対する反応の傾向または潜在的なリスクに関連する確実性に関する主張。 / Assertion about certainty associated with a propensity, or potential risk, of a reaction to the identified substance.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/allergyintolerance-verification|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.status"
          },
          {
            "identity" : "rim",
            "map" : "Observation ACT .inboundRelationship[typeCode=COMP].source[classCode=OBS, code=\"verificationStatus\", moodCode=EVN].value"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.verificationStatus.id",
        "path" : "AllergyIntolerance.verificationStatus.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.verificationStatus.extension",
        "path" : "AllergyIntolerance.verificationStatus.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.verificationStatus.coding",
        "path" : "AllergyIntolerance.verificationStatus.coding",
        "short" : "用語システムによって定義されたコード / Code defined by a terminology system",
        "definition" : "用語システムによって定義されたコードへの参照。 / A reference to a code defined by a terminology system.",
        "comment" : "コードは、列挙されたCTなどの非常に正式な定義まで、列挙またはコードリストで非常にさりげなく定義される場合があります。詳細については、HL7 V3コアプリンシップを参照してください。コーディングの順序付けは未定義であり、意味を推測するために使用されません。一般に、せいぜい、コーディング値の1つのみがuserselected = trueとしてラベル付けされます。 / Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements" : "コードシステム内の代替エンコーディング、および他のコードシステムへの翻訳が可能になります。 / Allows for alternative encodings within a code system, and translations to other code systems.",
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.verificationStatus.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "AllergyIntolerance.verificationStatus.text",
        "short" : "コードだけでは記述できない情報がある場合にはtext記述を併用してもよい。",
        "definition" : "コードだけでは記述できない情報がある場合にはtext記述を併用してもよい。",
        "comment" : "多くの場合、テキストはコーディングの1つの表示名と同じです。 / Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "用語からのコードは、それらを使用する人間のすべてのニュアンスを使用して、常に正しい意味をキャプチャするとは限りません。または、適切なコードがまったくない場合があります。これらの場合、テキストはソースの完全な意味をキャプチャするために使用されます。 / The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.type",
        "path" : "AllergyIntolerance.type",
        "short" : "副反応の生理的なメカニズムの種類(アレルギーによるものか不耐性によるものかどうか)",
        "definition" : "記述する場合は、コード表:\"http://hl7.org/fhir/allergy-intolerance-type\" から\u3000allergy | intolerance のいずれか(アレルギー反応、不耐性反応)。",
        "comment" : "メカニズムの種類を正確に決めることは難しいので、この情報はあくまで情報登録側の判断に依存する。",
        "alias" : [
          "Category",
          "Class"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceType"
            }
          ],
          "strength" : "required",
          "description" : "反応リスクの基礎となる生理学的メカニズムの特定。 / Identification of the underlying physiological mechanism for a Reaction Risk.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/allergy-intolerance-type|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.class"
          },
          {
            "identity" : "v2",
            "map" : "IAM-9"
          },
          {
            "identity" : "rim",
            "map" : "code"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.category",
        "path" : "AllergyIntolerance.category",
        "short" : "特定された原因物質のカテゴリ。記述を可能な限り推奨する。",
        "definition" : "コード表:\"http://hl7.org/fhir/allergy-intolerance-category\" から\u3000food | medication | environment | biologic\u3000のいずれか\u3000(食物、医薬品、環境、生物学的)を選択する。電子カルテシステムで、これらのカテゴリーが区別されて登録されている場合には可能な限りコードを設定すること。電子カルテ情報サービスでは、薬剤禁忌情報として本リソース種別を使用する場合には、必ず本要素は\"medication\"として存在しなければならず、criticality要素は\"high\"を設定しなければならない。これ以外の場合には、本リソースの情報は薬剤禁忌以外のアレルギー情報として取り扱われる。",
        "comment" : "電子カルテ情報共有サービスでは、薬剤禁忌情報として本リソース種別を使用する場合には、必ず本要素は\"medication\"として存在しなければならず、criticality要素は\"high\"を設定しなければならない。これ以外の場合には、本リソースの情報は薬剤禁忌以外のアレルギー情報として取り扱われる。",
        "alias" : [
          "Category",
          "Type",
          "Reaction Type",
          "Class"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AllergyIntolerance.category",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceCategory"
            }
          ],
          "strength" : "required",
          "description" : "アレルギーまたは不耐性に関連する同定された物質のカテゴリ。 / Category of an identified substance associated with allergies or intolerances.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/allergy-intolerance-category|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.class"
          },
          {
            "identity" : "v2",
            "map" : "AL1-2"
          },
          {
            "identity" : "rim",
            "map" : "value < IntoleranceValue (Agent)"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.criticality",
        "path" : "AllergyIntolerance.criticality",
        "short" : "潜在的な臨床的危険性、致命度",
        "definition" : "記述する場合は、コード表:\"http://hl7.org/fhir/allergy-intolerance-criticality\" から\u3000low | high | unable-to-assess\u3000のいずれか(低、高、評価不能)。電子カルテ情報サービスでは、薬剤禁忌情報として本リソース種別を使用する場合には、category要素の記述を参照すること。",
        "comment" : "電子カルテ情報共有サービスでは、薬剤禁忌情報として本リソース種別を使用する場合には、category要素の記述を参照すること。",
        "alias" : [
          "Severity",
          "Seriousness",
          "Contra-indication",
          "Risk"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.criticality",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceCriticality"
            }
          ],
          "strength" : "required",
          "description" : "特定された物質に対する反応の潜在的な臨床的危害または深刻さの推定。 / Estimate of the potential clinical harm, or seriousness, of a reaction to an identified substance.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/allergy-intolerance-criticality|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.grade"
          },
          {
            "identity" : "v2",
            "map" : "AL1-4"
          },
          {
            "identity" : "rim",
            "map" : "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.code",
        "path" : "AllergyIntolerance.code",
        "short" : "アレルギー・不耐反応の対象物の情報。アレルギー・不耐反応の対象物の情報。薬剤禁忌情報の場合には、医薬品情報のコード。",
        "definition" : "JP-Coreで定めるallergy-substanceコード表のコードを使用を推奨する。コード化できない場合には、code.text のみで記述する。コード化の有無にかかわらず、電子カルテシステム等で登録され表示されている文字列をcode.textに必ず設定すること。",
        "comment" : "推奨するコード表はJFAGYコード(コード化する場合):system値は、category要素の値に対応して、http://jpfhir.jp/fhir/core/CodeSystem/JP_JfagyFoodAllergen_CS、http://jpfhir.jp/fhir/core/CodeSystem/JP_JfagyNonFoodNonMedicationAllergen_CS、http://jpfhir.jp/fhir/core/CodeSystem/JP_JfagyMedicationAllergen_CS の3つのいずれかから選択する。\n 電子カルテ情報サービスでは、コード化する場合にはJFAGYコード表を使用することが必須。\nアレルギー情報はコードにより正確に表現することが困難であることが多いので、コード化の有無にかかわらず、必ず電子カルテシステム等で登録され表示されている文字列をcode.textに必ず設定すること。",
        "alias" : [
          "Code"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.code",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "example",
          "valueSet" : "http://jpfhir.jp/fhir/core/ValueSet/JP_AllergyIntolerance_VS"
        },
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.what[x]"
          },
          {
            "identity" : "v2",
            "map" : "AL1-3 / IAM-3"
          },
          {
            "identity" : "rim",
            "map" : "substance/product:\r\r.participation[typeCode=CAGNT].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rnegated/excluded substance/product:\r\r.participation[typeCode=CAGNT, negationInd=true].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]\r\rpositive or negated/excluded condition/situation:\r\rObservation.code=ASSERTION; Observation.value"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.code.id",
        "path" : "AllergyIntolerance.code.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.code.extension",
        "path" : "AllergyIntolerance.code.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.code.coding",
        "path" : "AllergyIntolerance.code.coding",
        "short" : "用語システムによって定義されたコード / Code defined by a terminology system",
        "definition" : "用語システムによって定義されたコードへの参照。 / A reference to a code defined by a terminology system.",
        "comment" : "コードは、列挙されたCTなどの非常に正式な定義まで、列挙またはコードリストで非常にさりげなく定義される場合があります。詳細については、HL7 V3コアプリンシップを参照してください。コーディングの順序付けは未定義であり、意味を推測するために使用されません。一般に、せいぜい、コーディング値の1つのみがuserselected = trueとしてラベル付けされます。 / Codes may be defined very casually in enumerations, or code lists, up to very formal definitions such as SNOMED CT - see the HL7 v3 Core Principles for more information.  Ordering of codings is undefined and SHALL NOT be used to infer meaning. Generally, at most only one of the coding values will be labeled as UserSelected = true.",
        "requirements" : "コードシステム内の代替エンコーディング、および他のコードシステムへの翻訳が可能になります。 / Allows for alternative encodings within a code system, and translations to other code systems.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "CodeableConcept.coding",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Coding"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "strength" : "required",
          "valueSet" : "http://jpfhir.jp/fhir/core/ValueSet/JP_AllergyIntolerance_VS"
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.1-8, C*E.10-22"
          },
          {
            "identity" : "rim",
            "map" : "union(., ./translation)"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.coding rdfs:subPropertyOf dt:CD.coding"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.code.text",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "AllergyIntolerance.code.text",
        "short" : "コード化の有無にかかわらず、電子カルテシステム等で登録され表示されている文字列をcode.textに必ず設定すること。",
        "definition" : "データを入力したユーザー、および/またはユーザーの意図された意味を表すユーザーによって見られる/選択/発言された概念の人間の言語表現。 / A human language representation of the concept as seen/selected/uttered by the user who entered the data and/or which represents the intended meaning of the user.",
        "comment" : "多くの場合、テキストはコーディングの1つの表示名と同じです。 / Very often the text is the same as a displayName of one of the codings.",
        "requirements" : "用語からのコードは、それらを使用する人間のすべてのニュアンスを使用して、常に正しい意味をキャプチャするとは限りません。または、適切なコードがまったくない場合があります。これらの場合、テキストはソースの完全な意味をキャプチャするために使用されます。 / The codes from the terminologies do not always capture the correct meaning with all the nuances of the human using them, or sometimes there is no appropriate code at all. In these cases, the text is used to capture the full meaning of the source.",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "CodeableConcept.text",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "C*E.9. But note many systems use C*E.2 for this"
          },
          {
            "identity" : "rim",
            "map" : "./originalText[mediaType/code=\"text/plain\"]/data"
          },
          {
            "identity" : "orim",
            "map" : "fhir:CodeableConcept.text rdfs:subPropertyOf dt:CD.originalText"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient",
        "path" : "AllergyIntolerance.patient",
        "short" : "\"このアレルギー不耐症を有する患者のFHIRリソース\\(JP_Patient)への参照。電子カルテ情報サービスでは、\\(JP_Patient_CLINS_eCS)への参照とする。\"",
        "definition" : "\"このアレルギー不耐症を有する患者のFHIRリソース\\(JP_Patient)への参照。電子カルテ情報サービスでは、\\(JP_Patient_CLINS_eCS)への参照とする。\"",
        "comment" : "電子カルテ共有サービスでは、別途BundleリソースでPatientリソースが送信されているので、その被保険者個人識別子を明示することにより患者を参照する。",
        "alias" : [
          "Patient"
        ],
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.patient",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://jpfhir.jp/fhir/clins/StructureDefinition/JP_Patient_eCS"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.subject[x]"
          },
          {
            "identity" : "v2",
            "map" : "(PID-3)"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=SBJ].role[classCode=PAT]"
          },
          {
            "identity" : "w5",
            "map" : "FiveWs.subject"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.id",
        "path" : "AllergyIntolerance.patient.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.extension",
        "path" : "AllergyIntolerance.patient.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.reference",
        "path" : "AllergyIntolerance.patient.reference",
        "short" : "リテラル参照、相対、内部または絶対URL / Literal reference, Relative, internal or absolute URL",
        "definition" : "他のリソースが見つかった場所への参照。参照は相対的な参照である場合があります。この場合、それはサービスベースURLまたはリソースが見つかった場所に解決する絶対URLに関連しています。参照はバージョン固有のかどうかです。参照がFHIR Restfulサーバーへのものではない場合は、バージョンに固有のものであると想定する必要があります。内部フラグメント参照( '#'で開始)含まれるリソースを参照してください。 / A reference to a location at which the other resource is found. The reference may be a relative reference, in which case it is relative to the service base URL, or an absolute URL that resolves to the location where the resource is found. The reference may be version specific or not. If the reference is not to a FHIR RESTful server, then it should be assumed to be version specific. Internal fragment references (start with '#') refer to contained resources.",
        "comment" : "絶対URLを使用すると、クラウド/Webコンテキストに適した安定したスケーラブルなアプローチが提供されますが、相対的/論理的な参照を使用すると、閉じたエコシステムの境界を横切る際に使用するのに適した柔軟なアプローチが提供されます。絶対URLは、FHIR Restfulサーバーを指す必要はありませんが、これは好ましいアプローチです。URLが構造 \"/[type]/[id]\"に適合している場合、参照がFHIR Restfulサーバーへの参照であると想定する必要があります。 / Using absolute URLs provides a stable scalable approach suitable for a cloud/web context, while using relative/logical references provides a flexible approach suitable for use when trading across closed eco-system boundaries.   Absolute URLs do not need to point to a FHIR RESTful server, though this is the preferred approach. If the URL conforms to the structure \"/[type]/[id]\" then it should be assumed that the reference is to a FHIR RESTful server.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.reference",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "condition" : [
          "ref-1"
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.type",
        "path" : "AllergyIntolerance.patient.type",
        "short" : "入力リファレンスを指す(例:「患者」) / Type the reference refers to (e.g. \"Patient\")",
        "definition" : "参照のターゲットの予想タイプ。reference.typeとreference.Referenceが入力され、参照.ReferenceがFHIR URLである場合、どちらも一貫しているものとします。\n\nこのタイプは、このリファレンスが指すタイプであるリソース定義の標準URLです。参照は、http://hl7.org/fhir/structuredefinition/に関連するURLです。「患者」はhttp://hl7.org/fhir/structuredefinition/patientへの参照です。絶対URLは、論理モデルでのみ許可されます(リソースではなく論理モデルの参照でのみ使用できます)。 / The expected type of the target of the reference. If both Reference.type and Reference.reference are populated and Reference.reference is a FHIR URL, both SHALL be consistent.\n\nThe type is the Canonical URL of Resource Definition that is the type this reference refers to. References are URLs that are relative to http://hl7.org/fhir/StructureDefinition/ e.g. \"Patient\" is a reference to http://hl7.org/fhir/StructureDefinition/Patient. Absolute URLs are only allowed for logical models (and can only be used in references in logical models, not resources).",
        "comment" : "この要素は、参照のターゲットのタイプを示すために使用されます。これは、他の要素の中で存在する(またはそうでない)使用される場合があります。場合によっては、ターゲットのタイプは、参照の検査(例:RESTFUL URL)または参照のターゲットを解決することによって決定される場合があります。タイプと参照の両方が提供されている場合、参照は指定したものと同じタイプのリソースに解決するものとします。 / This element is used to indicate the type of  the target of the reference. This may be used which ever of the other elements are populated (or not). In some cases, the type of the target may be determined by inspection of the reference (e.g. a RESTful URL) or by resolving the target of the reference; if both the type and a reference is provided, the reference SHALL resolve to a resource of the same type as that specified.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "FHIRResourceTypeExt"
            }
          ],
          "strength" : "extensible",
          "description" : "AAリソース(または、論理モデルの場合、論理モデルのURI)。 / Aa resource (or, for logical models, the URI of the logical model).",
          "valueSet" : "http://hl7.org/fhir/ValueSet/resource-types"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier",
        "path" : "AllergyIntolerance.patient.identifier",
        "short" : "文字通りの参照が不明な場合、論理的参照 / Logical reference, when literal reference is not known",
        "definition" : "ターゲットリソースの識別子。これは、他のリソースを直接参照する方法がない場合に使用されます。これは、それが表すエンティティがFHIRサーバーを介して利用できないか、リソースの作成者が既知の識別子を実際の場所に変換する方法がないためです。。Identifierが実際にFHIRインスタンスとして公開されているものを指し示すことを指し示す必要はありませんが、FHIRインスタンスとして公開されると予想されるビジネス概念を指し示し、その場合は参照によって許可されるFHIRリソースタイプ。 / An identifier for the target resource. This is used when there is no way to reference the other resource directly, either because the entity it represents is not available through a FHIR server, or because there is no way for the author of the resource to convert a known identifier to an actual location. There is no requirement that a Reference.identifier point to something that is actually exposed as a FHIR instance, but it SHALL point to a business concept that would be expected to be exposed as a FHIR instance, and that instance would need to be of a FHIR resource type allowed by the reference.",
        "comment" : "参照の代わりに識別子が提供される場合、参照を処理するシステムは、識別子が使用されるビジネスコンテキストを理解している場合にのみ識別子を参照に解決できます。これはグローバル(たとえば、全国の識別子)であることがありますが、しばしばそうではありません。このため、参照を使用して作業するために説明されている有用なメカニズム(たとえば、チェーン、含まれる)はありません。また、サーバーは参照を解決できるとは期待されていません。サーバーは、識別子ベースの参照を触れずに受け入れ、それを解決し、それを拒否することができます -  capabilitystatement.rest.resource.ReferencePolicyを参照してください。\n\n識別子とリテラル参照の両方が提供される場合、リテラル参照が推奨されます。識別子がリテラルリファレンスと一致することを確認するために、リソースの処理リソースの処理が許可されていますが、必須ではありません - \n\n論理参照を文字通り参照に変換するアプリケーションは、論理参照の存在を残すか、それを削除することを選択する場合があります。\n\n参照は、FHIRリソースとして表現できる可能性のある構造を指すことを目的としていますが、実際のFHIRリソースインスタンスとして存在する必要はありません。 。識別子と呼ばれるコンテンツは、参照のために許可されているリソースタイプの制限によって暗示される論理的制約を満たす必要があります。たとえば、タイプが参照されている場合、薬物処方の識別子を送信することは合法ではありません(観察|診断障害)。参照用のユースケースの1つは、FHIR表現が存在しない状況です(タイプが参照(任意)。 / When an identifier is provided in place of a reference, any system processing the reference will only be able to resolve the identifier to a reference if it understands the business context in which the identifier is used. Sometimes this is global (e.g. a national identifier) but often it is not. For this reason, none of the useful mechanisms described for working with references (e.g. chaining, includes) are possible, nor should servers be expected to be able resolve the reference. Servers may accept an identifier based reference untouched, resolve it, and/or reject it - see CapabilityStatement.rest.resource.referencePolicy. \n\nWhen both an identifier and a literal reference are provided, the literal reference is preferred. Applications processing the resource are allowed - but not required - to check that the identifier matches the literal reference\n\nApplications converting a logical reference to a literal reference may choose to leave the logical reference present, or remove it.\n\nReference is intended to point to a structure that can potentially be expressed as a FHIR resource, though there is no need for it to exist as an actual FHIR resource instance - except in as much as an application wishes to actual find the target of the reference. The content referred to be the identifier must meet the logical constraints implied by any limitations on what resource types are permitted for the reference.  For example, it would not be legitimate to send the identifier for a drug prescription if the type were Reference(Observation|DiagnosticReport).  One of the use-cases for Reference.identifier is the situation where no FHIR representation exists (where the type is Reference (Any).",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.identifier",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Identifier"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : ".identifier"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.id",
        "path" : "AllergyIntolerance.patient.identifier.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.extension",
        "path" : "AllergyIntolerance.patient.identifier.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.use",
        "path" : "AllergyIntolerance.patient.identifier.use",
        "short" : "通常|公式|一時的|セカンダリ|古い(知られている場合) / usual | official | temp | secondary | old (If known)",
        "definition" : "この識別子の目的。 / The purpose of this identifier.",
        "comment" : "アプリケーションは、識別子が一時的なものであると明示的に言っていない限り、永続的であると想定できます。 / Applications can assume that an identifier is permanent unless it explicitly says that it is temporary.",
        "requirements" : "特定の使用のコンテキストが一連の識別子の中から選択される適切な識別子を許可します。 / Allows the appropriate identifier for a particular context of use to be selected from among a set of identifiers.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.use",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "これは、アプリケーションが一時的なIDを永続的なIDと間違えてはならないため、「IS修飾子」とラベル付けされています。 / This is labeled as \"Is Modifier\" because applications should not mistake a temporary id for a permanent one.",
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IdentifierUse"
            }
          ],
          "strength" : "required",
          "description" : "既知の場合、この識別子の目的を識別します。 / Identifies the purpose for this identifier, if known .",
          "valueSet" : "http://hl7.org/fhir/ValueSet/identifier-use|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Role.code or implied by context"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.type",
        "path" : "AllergyIntolerance.patient.identifier.type",
        "short" : "識別子の説明 / Description of identifier",
        "definition" : "特定の目的に使用する識別子を決定するために使用できる識別子のコード化されたタイプ。 / A coded type for the identifier that can be used to determine which identifier to use for a specific purpose.",
        "comment" : "この要素は、識別子の一般的なカテゴリのみを扱います。識別子。システムに対応するコードに使用しないでください。一部の識別子は、一般的な使用法により複数のカテゴリに分類される場合があります。システムがわかっている場合、タイプは常にシステム定義の一部であるため、タイプは不要です。ただし、システムが不明な識別子を処理する必要があることがよくあります。多くの異なるシステムが同じタイプを持っているため、タイプとシステムの間に1:1の関係はありません。 / This element deals only with general categories of identifiers.  It SHOULD not be used for codes that correspond 1..1 with the Identifier.system. Some identifiers may fall into multiple categories due to common usage.   Where the system is known, a type is unnecessary because the type is always part of the system definition. However systems often need to handle identifiers where the system is not known. There is not a 1:1 relationship between type and system, since many different systems have the same type.",
        "requirements" : "識別子システムが不明な場合、ユーザーは識別子を使用できます。 / Allows users to make use of identifiers when the identifier system is not known.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.type",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "IdentifierType"
            }
          ],
          "strength" : "extensible",
          "description" : "特定の目的に使用する識別子を決定するために使用できる識別子のコード化されたタイプ。 / A coded type for an identifier that can be used to determine which identifier to use for a specific purpose.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/identifier-type"
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.5"
          },
          {
            "identity" : "rim",
            "map" : "Role.code or implied by context"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.system",
        "path" : "AllergyIntolerance.patient.identifier.system",
        "short" : "識別子値の名前空間 / The namespace for the identifier value",
        "definition" : "値の名前空間、つまり一意のセット値を記述するURLを確立します。 / Establishes the namespace for the value - that is, a URL that describes a set values that are unique.",
        "comment" : "識別子。システムは常にケースに敏感です。 / Identifier.system is always case sensitive.",
        "requirements" : "識別子のセットがたくさんあります。2つの識別子を一致させるには、どのセットを扱っているかを知る必要があります。システムは、特定の一意の識別子セットを識別します。 / There are many sets  of identifiers.  To perform matching of two identifiers, we need to know what set we're dealing with. The system identifies a particular set of unique identifiers.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.system",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "uri"
          }
        ],
        "fixedUri" : "http://jpfhir.jp/fhir/clins/Idsystem/JP_Insurance_memberID",
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.4 / EI-2-4"
          },
          {
            "identity" : "rim",
            "map" : "II.root or Role.id.root"
          },
          {
            "identity" : "servd",
            "map" : "./IdentifierType"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.value",
        "path" : "AllergyIntolerance.patient.identifier.value",
        "short" : "一意の値 / The value that is unique",
        "definition" : "通常、識別子の部分はユーザーに関連し、システムのコンテキスト内で一意のユーザーに関連しています。 / The portion of the identifier typically relevant to the user and which is unique within the context of the system.",
        "comment" : "値が完全なURIの場合、システムはurn:ietf:rfc:3986でなければなりません。値の主な目的は、計算マッピングです。その結果、比較目的で正規化される可能性があります(例えば、有意でない白文字、ダッシュなどの削除)ヒューマンディスプレイ用の値は、[レンダリングされた値拡張](拡張レンダリングValue.html)を使用して伝達できます。識別子。価値は、識別子の知識を使用しない限り、ケースに敏感なものとして扱われます。システムにより、プロセッサーは、非セイズに固有の処理が安全であると確信できます。 / If the value is a full URI, then the system SHALL be urn:ietf:rfc:3986.  The value's primary purpose is computational mapping.  As a result, it may be normalized for comparison purposes (e.g. removing non-significant whitespace, dashes, etc.)  A value formatted for human display can be conveyed using the [Rendered Value extension](http://hl7.org/fhir/R4/extension-rendered-value.html). Identifier.value is to be treated as case sensitive unless knowledge of the Identifier.system allows the processer to be confident that non-case-sensitive processing is safe.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.value",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.1 / EI.1"
          },
          {
            "identity" : "rim",
            "map" : "II.extension or II.root if system indicates OID or GUID (Or Role.id.extension or root)"
          },
          {
            "identity" : "servd",
            "map" : "./Value"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.period",
        "path" : "AllergyIntolerance.patient.identifier.period",
        "short" : "IDが使用に有効だった時間期間 / Time period when id is/was valid for use",
        "definition" : "識別子が使用される/有効な期間。 / Time period during which identifier is/was valid for use.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.period",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Period"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.7 + CX.8"
          },
          {
            "identity" : "rim",
            "map" : "Role.effectiveTime or implied by context"
          },
          {
            "identity" : "servd",
            "map" : "./StartDate and ./EndDate"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.assigner",
        "path" : "AllergyIntolerance.patient.identifier.assigner",
        "short" : "IDを発行した組織(単なるテキストである可能性があります) / Organization that issued id (may be just text)",
        "definition" : "識別子を発行/管理する組織。 / Organization that issued/manages the identifier.",
        "comment" : "識別子は、.reference要素を省略し、割り当て組織に関する名前またはその他のテキスト情報を反映した.display要素のみを含む場合があります。 / The Identifier.assigner may omit the .reference element and only contain a .display element reflecting the name or other textual information about the assigning organization.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Identifier.assigner",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "CX.4 / (CX.4,CX.9,CX.10)"
          },
          {
            "identity" : "rim",
            "map" : "II.assigningAuthorityName but note that this is an improper use by the definition of the field.  Also Role.scoper"
          },
          {
            "identity" : "servd",
            "map" : "./IdentifierIssuingAuthority"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.display",
        "extension" : [
          {
            "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-translatable",
            "valueBoolean" : true
          }
        ],
        "path" : "AllergyIntolerance.patient.display",
        "short" : "リソースのテキスト代替 / Text alternative for the resource",
        "definition" : "リソースリファレンスに加えてリソースを識別するプレーンテキストの叙述(Narative)。 / Plain text narrative that identifies the resource in addition to the resource reference.",
        "comment" : "これは通常、参照されるリソースのリソース.textと同じではありません。目的は、参照されているものを完全に説明するのではなく、特定することです。 / This is generally not the same as the Resource.text of the referenced resource.  The purpose is to identify what's being referenced, not to fully describe it.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Reference.display",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.encounter",
        "path" : "AllergyIntolerance.encounter",
        "short" : "このアレルギ情報を記録したときの受診情報(入外区分など)を記述しているEncounterリソースへの参照",
        "definition" : "このアレルギ情報を記録したときの受診情報(入外区分など)を記述しているEncounterリソースへの参照",
        "comment" : "記述方法は、「診療情報・サマリー汎用リソース外部参照仕様」を参照のこと。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.encounter",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://jpfhir.jp/fhir/core/StructureDefinition/JP_Encounter"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.context"
          },
          {
            "identity" : "rim",
            "map" : ".inboundRelationship[typeCode=COMP].source[classCode=ENC, moodCode=EVN]"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.onset[x]",
        "path" : "AllergyIntolerance.onset[x]",
        "short" : "登録日またはこの状態の存在が開始した日",
        "definition" : "電子カルテ情報サービスで記述する場合には、onsetDateTime要素を使用する。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.onset[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          },
          {
            "code" : "Age"
          },
          {
            "code" : "Period"
          },
          {
            "code" : "Range"
          },
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.init"
          },
          {
            "identity" : "rim",
            "map" : "effectiveTime.low"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.recordedDate",
        "path" : "AllergyIntolerance.recordedDate",
        "short" : "この情報が記録された登録日",
        "definition" : "この情報が記録された登録日",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.recordedDate",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.recorded"
          },
          {
            "identity" : "v2",
            "map" : "IAM-13"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].time"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.recorder",
        "path" : "AllergyIntolerance.recorder",
        "short" : "アレルギー登録者の情報を記述しているJP_Practitionerリソースへの参照",
        "definition" : "アレルギー登録者の情報を記述しているJP_Practitionerリソースへの参照",
        "comment" : "記述方法は、「診療情報・サマリー汎用リソース外部参照仕様」を参照のこと。",
        "alias" : [
          "Author"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.recorder",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://jpfhir.jp/fhir/core/StructureDefinition/JP_Practitioner"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.author"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=AUT].role"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.asserter",
        "path" : "AllergyIntolerance.asserter",
        "short" : "この状態があると確認(主張)した人の情報を記述しているJP_Patient、JP_Practitioner、RelatedPersonのいずれかのリソースへの参照。",
        "definition" : "この状態があると確認(主張)した人の情報を記述しているJP_Patient、JP_Practitioner、RelatedPersonのいずれかのリソースへの参照。",
        "comment" : "記述方法は、「診療情報・サマリー汎用リソース外部参照仕様」を参照のこと。",
        "alias" : [
          "Source",
          "Informant"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.asserter",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://jpfhir.jp/fhir/core/StructureDefinition/JP_Patient"🔗 ,
              "http://jpfhir.jp/fhir/core/StructureDefinition/JP_Practitioner"🔗 ,
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"
            ]
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "mustSupport" : true,
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "w5",
            "map" : "FiveWs.source"
          },
          {
            "identity" : "v2",
            "map" : "IAM-14 (if patient) / IAM-18 (if practitioner)"
          },
          {
            "identity" : "rim",
            "map" : ".participation[typeCode=INF].role"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.lastOccurrence",
        "path" : "AllergyIntolerance.lastOccurrence",
        "short" : "最後(直近)に知られている発生日時",
        "definition" : "最後(直近)に知られている発生日時",
        "comment" : "この日付は、反応日の開始の1つによって複製される場合があります。最後の発生の日付のテキスト表現が必要な場合。「10年前の幼少期に」コメント要素を使用する必要があります。 / This date may be replicated by one of the Onset of Reaction dates. Where a textual representation of the date of last occurrence is required e.g. 'In Childhood, '10 years ago' the Comment element should be used.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.lastOccurrence",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)].effectiveTime"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.note",
        "path" : "AllergyIntolerance.note",
        "short" : "状態に関する追加的な情報で他の要素で記述できないような情報",
        "definition" : "状態に関する追加的な情報で他の要素で記述できないような情報",
        "comment" : "例:「高リスク」の深刻さにフラグを立てる理由を含む。集中治療室内またはコルチコステロイドカバーの下での投与など、将来の曝露または物質の投与に関連する指示。メモは、一般的な条件としてのアレルギーまたは不耐性に関連しており、その特定のエピソードとは関係ありません。エピソードノートと説明には、allergyIntolerance.event.descriptionとallergyIntolerance.event.notesを使用します。 / For example: including reason for flagging a seriousness of 'High Risk'; and instructions related to future exposure or administration of the substance, such as administration within an Intensive Care Unit or under corticosteroid cover. The notes should be related to an allergy or intolerance as a condition in general and not related to any particular episode of it. For episode notes and descriptions, use AllergyIntolerance.event.description and  AllergyIntolerance.event.notes.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AllergyIntolerance.note",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Annotation"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "subjectOf.observationEvent[code=\"annotation\"].value"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.note.id",
        "path" : "AllergyIntolerance.note.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.note.extension",
        "path" : "AllergyIntolerance.note.extension",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "url"
            }
          ],
          "description" : "Extensions are always sliced by (at least) url",
          "rules" : "open"
        },
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.note.author[x]",
        "path" : "AllergyIntolerance.note.author[x]",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "type",
              "path" : "$this"
            }
          ],
          "ordered" : false,
          "rules" : "open"
        },
        "short" : "注釈の責任者 / Individual responsible for the annotation",
        "definition" : "注釈を作成する責任者。 / The individual responsible for making the annotation.",
        "comment" : "誰がコメントをしたかについて特定の帰属が必要ない場合に組織が使用されます。 / Organization is used when there's no need for specific attribution as to who made the comment.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Annotation.author[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://hl7.org/fhir/StructureDefinition/Practitioner"🔗 ,
              "http://hl7.org/fhir/StructureDefinition/Patient"🔗 ,
              "http://hl7.org/fhir/StructureDefinition/RelatedPerson"🔗 ,
              "http://hl7.org/fhir/StructureDefinition/Organization"
            ]
          },
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.participant[typeCode=AUT].role"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.note.author[x]:authorString",
        "path" : "AllergyIntolerance.note.author[x]",
        "sliceName" : "authorString",
        "short" : "記載者氏名などの文字列。必ずしも氏名でなくてもよい。",
        "definition" : "記載者氏名などの文字列。必ずしも氏名でなくてもよい。",
        "comment" : "誰がコメントをしたかについて特定の帰属が必要ない場合に組織が使用されます。 / Organization is used when there's no need for specific attribution as to who made the comment.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Annotation.author[x]",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.participant[typeCode=AUT].role"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.note.time",
        "path" : "AllergyIntolerance.note.time",
        "short" : "この追加的な情報が作成された日時",
        "definition" : "この追加的な情報が作成された日時",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Annotation.time",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.effectiveTime"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.note.text",
        "path" : "AllergyIntolerance.note.text",
        "short" : "追加的な情報の内容。markdown形式のテキストが使用できる。データとして1Mバイト以内であること。",
        "definition" : "追加的な情報の内容。markdown形式のテキストが使用できる。データとして1Mバイト以内であること。",
        "min" : 1,
        "max" : "1",
        "base" : {
          "path" : "Annotation.text",
          "min" : 1,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "markdown"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "N/A"
          },
          {
            "identity" : "rim",
            "map" : "Act.text"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction",
        "path" : "AllergyIntolerance.reaction",
        "short" : "対象物質に暴露したことに関連して派生した有害反応の履歴事実に関する情報。複数記述できる。",
        "definition" : "対象物質に暴露したことに関連して派生した有害反応の履歴事実に関する情報。複数記述できる。",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AllergyIntolerance.reaction",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "BackboneElement"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "outBoundRelationship[typeCode=SUBJ].target[classCode=OBS, moodCode=EVN, code <= CommonClinicalObservationType, value <= ObservationValue (Reaction Type)]"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.id",
        "path" : "AllergyIntolerance.reaction.id",
        "representation" : [
          "xmlAttr"
        ],
        "short" : "要素間参照のための一意のID / Unique id for inter-element referencing",
        "definition" : "リソース内の要素の一意のID(内部参照用)。これは、スペースを含まない文字列値である場合があります。 / Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "Element.id",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "extension" : [
              {
                "url" : "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type",
                "valueUrl" : "string"
              }
            ],
            "code" : "http://hl7.org/fhirpath/System.String"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.extension",
        "path" : "AllergyIntolerance.reaction.extension",
        "short" : "実装で定義された追加のコンテンツ / Additional content defined by implementations",
        "definition" : "要素の基本的な定義の一部ではない追加情報を表すために使用できます。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。 / 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" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : [
          "extensions",
          "user content"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "Element.extension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "n/a"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.modifierExtension",
        "path" : "AllergyIntolerance.reaction.modifierExtension",
        "short" : "認識されていなくても無視できない拡張機能 / Extensions that cannot be ignored even if unrecognized",
        "definition" : "要素の基本的な定義の一部ではなく、それが含まれている要素の理解、および/または含まれる要素の子孫の理解を変更するために使用される場合があります。通常、修飾子要素は否定または資格を提供します。拡張機能を安全で管理しやすくするために、拡張機能の定義と使用に適用される厳格なガバナンスセットがあります。実装者は拡張機能を定義できますが、拡張機能の定義の一部として満たされる一連の要件があります。アプリケーションの処理リソースは、修飾子拡張機能をチェックする必要があります。\n\nモディファイア拡張は、リソースまたはdomainResource上の要素の意味を変更してはなりません(修飾軸自体の意味を変更することはできません)。 / 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself).",
        "comment" : "拡張機能を使用または定義する機関や管轄権に関係なく、アプリケーション、プロジェクト、または標準による拡張機能の使用に関連するスティグマはありません。拡張機能の使用は、FHIR仕様がすべての人にコアレベルのシンプルさを保持できるようにするものです。 / 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" : "修飾子拡張機能により、安全に無視できる大部分の拡張機能と明確に区別できるように、安全に無視できない拡張機能が可能になります。これにより、実装者が拡張の存在を禁止する必要性を排除することにより、相互運用性が促進されます。詳細については、[修飾子拡張の定義](拡張性.html#modifierextension)を参照してください。 / 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" : [
          "extensions",
          "user content",
          "modifiers"
        ],
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "BackboneElement.modifierExtension",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Extension"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          },
          {
            "key" : "ext-1",
            "severity" : "error",
            "human" : "両方ではなく、拡張または値[x]が必要です / Must have either extensions or value[x], not both",
            "expression" : "extension.exists() != value.exists()",
            "xpath" : "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])",
            "source" : "http://hl7.org/fhir/StructureDefinition/Extension"
          }
        ],
        "isModifier" : true,
        "isModifierReason" : "修飾子拡張は、それらを含む要素の意味または解釈を変更することが期待されています / Modifier extensions are expected to modify the meaning or interpretation of the element that contains them",
        "isSummary" : true,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "N/A"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.substance",
        "path" : "AllergyIntolerance.reaction.substance",
        "short" : "Specific substance or pharmaceutical product considered to be responsible for event. 有害反応の原因と考えられる特定の物質または医薬品",
        "definition" : "Identification of the specific substance (or pharmaceutical product) considered to be responsible for the Adverse Reaction event. Note: the substance for a specific reaction may be different from the substance identified as the cause of the risk, but it must be consistent with it. For instance, it may be a more specific substance (e.g. a brand medication) or a composite product that includes the identified substance. It must be clinically safe to only process the 'code' and ignore the 'reaction.substance'.  If a receiving system is unable to confirm that AllergyIntolerance.reaction.substance falls within the semantic scope of AllergyIntolerance.code, then the receiving system should ignore AllergyIntolerance.reaction.substance.  \n有害反応の原因と考えられる物質(または医薬品)。  \n注:特定の有害反応を誘発する物質は、原因として特定された物質と異なっていてもよいが、整合がとれていなければならない。たとえば、より具体的な物質(ブランド薬など)や、特定された物質を含む複合製品の場合がある。  \nAllergyIntolerance.codeのみを処理し、AllergyIntolerance.reaction.substanceを無視しても、臨床的に安全でなければならない。  \n受信システムがAllergyIntolerance.reaction.substanceがAllergyIntolerance.codeのセマンティックスコープ内に(前者が後者の意味的な下位概念にあること)を確認できない場合、受信システムはAllergyIntolerance.reaction.substanceを無視する必要がある。",
        "comment" : "特定の物質(または医薬品)のコード化は、可能な限り、意思決定サポートをトリガーできる用語で使用する必要があります。「コード」要素は、特定の物質または医薬品、またはグループまたはクラスの物質を使用できるようにします。物質のクラスに対するアレルギーまたは不耐性の場合(たとえば、「ペニシリン」)、「反応」要素を使用して、反応を引き起こしたと特定された特定の物質をコーディングすることができます(たとえば、例えば、「アモキシシリン」)。「コード」と「反応」要素の値の複製は、特定の物質が「コード」に記録されている場合に受け入れられます。 / Coding of the specific substance (or pharmaceutical product) with a terminology capable of triggering decision support should be used wherever possible.  The 'code' element allows for the use of a specific substance or pharmaceutical product, or a group or class of substances. In the case of an allergy or intolerance to a class of substances, (for example, \"penicillins\"), the 'reaction.substance' element could be used to code the specific substance that was identified as having caused the reaction (for example, \"amoxycillin\"). Duplication of the value in the 'code' and 'reaction.substance' elements is acceptable when a specific substance has been recorded in 'code'.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.reaction.substance",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "SubstanceCode"
            }
          ],
          "strength" : "example",
          "description" : "物質のタイプを定義するコード(医薬品を含む)。 / Codes defining the type of the substance (including pharmaceutical products).",
          "valueSet" : "http://hl7.org/fhir/ValueSet/substance-code"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].participation[typeCode=CSM].role[classCode=ADMM].player[classCode=MAT, determinerCode=KIND, code <= ExposureAgentEntityType]"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.manifestation",
        "path" : "AllergyIntolerance.reaction.manifestation",
        "short" : "Clinical symptoms/signs associated with the Event. この有害反応に関連する症状や兆候",
        "definition" : "Clinical symptoms and/or signs that are observed or associated with the adverse reaction event.  \nこの有害反応に関連する症状や兆候。",
        "comment" : "顕現は、単語、フレーズ、または簡単な説明として表現できます。例:吐き気、発疹、または反応なし。可能であれば、症状は用語でコード化することが望ましい。ここに入力された値は、英国NHS CUIガイドラインで推奨されるように、副作用のリストの一部としてアプリケーション画面に表示するために使用できます。一般的に使用される用語には、Snomed CTまたはICD10が含まれますが、これらに限定されません。 / Manifestation can be expressed as a single word, phrase or brief description. For example: nausea, rash or no reaction. It is preferable that manifestation should be coded with a terminology, where possible. The values entered here may be used to display on an application screen as part of a list of adverse reactions, as recommended in the UK NHS CUI guidelines.  Terminologies commonly used include, but are not limited to, SNOMED CT or ICD10.",
        "alias" : [
          "Symptoms",
          "Signs"
        ],
        "min" : 1,
        "max" : "*",
        "base" : {
          "path" : "AllergyIntolerance.reaction.manifestation",
          "min" : 1,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "Manifestation"
            }
          ],
          "strength" : "example",
          "description" : "有害反応イベントに観察または関連する臨床症状および/または徴候。 / Clinical symptoms and/or signs that are observed or associated with an Adverse Reaction Event.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/clinical-findings"
        },
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "AL1-5"
          },
          {
            "identity" : "rim",
            "map" : "code"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.description",
        "path" : "AllergyIntolerance.reaction.description",
        "short" : "Description of the event as a whole. この有害反応に関する全般的な記述",
        "definition" : "Text description about the reaction as a whole, including details of the manifestation if required.  \n必要であれば症状兆候の詳細も含めた、有害反応全体に関するテキストによる記述。",
        "comment" : "説明を使用して、状況、反応の詳細、前後に起こったことなど、発生した反応の特定のイベントの詳細を提供します。イベントに関連する情報ですが、特定のケアを説明しない情報は、コメントフィールドに把握する必要があります。たとえば、4歳で、患者に連鎖球菌のペニシリンを投与され、その後重度のじんましんを発症しました。 / Use the description to provide any details of a particular event of the occurred reaction such as circumstances, reaction specifics, what happened before/after. Information, related to the event, but not describing a particular care should be captured in the comment field. For example: at the age of four, the patient was given penicillin for strep throat and subsequently developed severe hives.",
        "alias" : [
          "Narrative",
          "Text"
        ],
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.reaction.description",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "string"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "text"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.onset",
        "path" : "AllergyIntolerance.reaction.onset",
        "short" : "Date(/time) when manifestations showed. この有害反応がみられた日時",
        "definition" : "Record of the date and/or time of the onset of the Reaction.  \nこの有害反応の開始の日付もしくは日時の記録。",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.reaction.onset",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "dateTime"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "v2",
            "map" : "AL1-6"
          },
          {
            "identity" : "rim",
            "map" : "effectiveTime.low"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.severity",
        "path" : "AllergyIntolerance.reaction.severity",
        "short" : "mild | moderate | severe (of event as a whole) (軽度 | 中度 | 重度)",
        "definition" : "Clinical assessment of the severity of the reaction event as a whole, potentially considering multiple different manifestations.  \n有害反応の重症度の全体としての臨床的な評価で、潜在的には複数の異なる症状兆候を考慮して決める。",
        "comment" : "この評価は非常に主観的であることが認められています。客観的なスケールが適用されている特定の実践ドメインがある場合があります。このモデルには、拡張機能として目的スケールを含めることができます。 / It is acknowledged that this assessment is very subjective. There may be some specific practice domains where objective scales have been applied. Objective scales can be included in this model as extensions.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.reaction.severity",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "code"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "AllergyIntoleranceSeverity"
            }
          ],
          "strength" : "required",
          "description" : "反応イベント全体の重症度の臨床評価は、潜在的に複数の異なる症状を考慮しています。 / Clinical assessment of the severity of a reaction event as a whole, potentially considering multiple different manifestations.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/reaction-event-severity|4.0.1"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "inboundRelationship[typeCode=SUBJ].source[classCode=OBS, moodCode=EVN, code=SEV, value <= SeverityObservation (Severity Level)]"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.exposureRoute",
        "path" : "AllergyIntolerance.reaction.exposureRoute",
        "short" : "How the subject was exposed to the substance. 患者がこの物質にどのように暴露したか",
        "definition" : "Identification of the route by which the subject was exposed to the substance.  \n患者がどのような経路でこの物質に暴露したかの同定。",
        "comment" : "可能な限り、用語による露出経路のコーディングは、可能な限り使用する必要があります。 / Coding of the route of exposure with a terminology should be used wherever possible.",
        "min" : 0,
        "max" : "1",
        "base" : {
          "path" : "AllergyIntolerance.reaction.exposureRoute",
          "min" : 0,
          "max" : "1"
        },
        "type" : [
          {
            "code" : "CodeableConcept"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "binding" : {
          "extension" : [
            {
              "url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
              "valueString" : "RouteOfAdministration"
            }
          ],
          "strength" : "example",
          "description" : "被験者の体への、またはそれへの治療剤の投与の経路または生理学的経路を説明するコード化された概念。 / A coded concept describing the route or physiological path of administration of a therapeutic agent into or onto the body of a subject.",
          "valueSet" : "http://hl7.org/fhir/ValueSet/route-codes"
        },
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "outBoundRelationship[typeCode=SAS].target[classCode=SBADM, code <= ExposureCode].routeCode"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.reaction.note",
        "path" : "AllergyIntolerance.reaction.note",
        "short" : "Text about event not captured in other fields. 他のフィールド要素では記述できない追加テキスト",
        "definition" : "Additional text about the adverse reaction event not captured in other fields.  \n他のフィールド要素では記述できない、有害反応に関する追加テキスト。",
        "comment" : "このフィールドを使用して、特定のイベントに間接的に関連する情報を記録し、説明に記載されていません。たとえば、臨床記録は利用できなくなり、母親と母親が患者に提供した情報に基づいて記録されています。 / Use this field to record information indirectly related to a particular event and not captured in the description. For example: Clinical records are no longer available, recorded based on information provided to the patient by her mother and her mother is deceased.",
        "min" : 0,
        "max" : "*",
        "base" : {
          "path" : "AllergyIntolerance.reaction.note",
          "min" : 0,
          "max" : "*"
        },
        "type" : [
          {
            "code" : "Annotation"
          }
        ],
        "constraint" : [
          {
            "key" : "ele-1",
            "severity" : "error",
            "human" : "すべてのFHIR要素には、@valueまたは子供が必要です / All FHIR elements must have a @value or children",
            "expression" : "hasValue() or (children().count() > id.count())",
            "xpath" : "@value|f:*|h:div",
            "source" : "http://hl7.org/fhir/StructureDefinition/Element"
          }
        ],
        "isModifier" : false,
        "isSummary" : false,
        "mapping" : [
          {
            "identity" : "rim",
            "map" : "subjectOf.observationEvent[code=\"annotation\"].value"
          }
        ]
      }
    ]
  },
  "differential" : {
    "element" : [
      {
        "id" : "AllergyIntolerance",
        "path" : "AllergyIntolerance",
        "comment" : "このプロファイルは、電子カルテ情報共有サービスに送信するために適合したプロファイルである。薬剤禁忌情報かアレルギー情報かの区別はcategory要素がmedicationかそれ以外かによる。",
        "constraint" : [
          {
            "key" : "warning-medication-allergy",
            "severity" : "warning",
            "human" : "注意喚起:R2011:薬剤禁忌情報として本リソース種別を使用するのであれば、category要素は\"medication\"で、criticality要素は\"high\"を設定しなければならない。このままcriticality要素が\"high\"以外で差し支えなければ修正不要。",
            "expression" : "category.where($this='medication').exists() and criticality!='high'",
            "source" : "http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS"
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.meta.profile",
        "path" : "AllergyIntolerance.meta.profile",
        "short" : "準拠しているプロファイルを受信側に通知するため、本文書のプロファイルを識別するURLを必ず指定する。http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS",
        "definition" : "準拠しているプロファイルを受信側に通知するため、本文書のプロファイルを識別するURLを必ず指定する。http://jpfhir.jp/fhir/clins/StructureDefinition/JP_AllergyIntolerance_eCS",
        "min" : 1,
        "max" : "1"
      },
      {
        "id" : "AllergyIntolerance.meta.tag",
        "path" : "AllergyIntolerance.meta.tag",
        "slicing" : {
          "discriminator" : [
            {
              "type" : "value",
              "path" : "$this"
            }
          ],
          "rules" : "open"
        }
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts",
        "path" : "AllergyIntolerance.meta.tag",
        "sliceName" : "lts",
        "short" : "電子カルテ情報共有サービスで長期保存フラグの設定する場合に使用する。",
        "definition" : "電子カルテ情報共有サービスで長期保存フラグの設定する場合に使用する。",
        "min" : 0,
        "max" : "1",
        "patternCoding" : {
          "system" : "http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication",
          "code" : "LTS"
        },
        "mustSupport" : true
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.system",
        "path" : "AllergyIntolerance.meta.tag.system",
        "short" : "固定値 http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication\u3000を設定する。",
        "definition" : "固定値 http://jpfhir.jp/fhir/clins/CodeSystem/JP_ehrshrs_indication\u3000を設定する。",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "AllergyIntolerance.meta.tag:lts.code",
        "path" : "AllergyIntolerance.meta.tag.code",
        "short" : "長期保存フラグ\u3000固定値 LTSを設定する。",
        "definition" : "長期保存フラグ\u3000固定値 LTSを設定する。",
        "min" : 1,
        "mustSupport" : true
      },
      {
        "id" : "AllergyIntolerance.extension",
        "path" : "AllergyIntolerance.extension",
        "min" : 1
      },
      {
        "id" : "AllergyIntolerance.extension:eCS_InstitutionNumber",
        "path" : "AllergyIntolerance.extension",
        "sliceName" : "eCS_InstitutionNumber",
        "short" : "本情報を作成発行した医療機関の識別番号を記述するために使用する拡張「eCS_InstitutionNumber」。電子カルテ情報サービスでは、この拡張による記述は必須。本情報は、ServiceRequestの要素として記述することも可能であるが、その場合もこの拡張で記述することとする。",
        "definition" : "本情報を作成発行した医療機関の識別番号を記述するために使用する拡張「eCS_InstitutionNumber」。電子カルテ情報サービスでは、この拡張による記述は必須。本情報は、ServiceRequestの要素として記述することも可能であるが、その場合もこの拡張で記述することとする。",
        "min" : 1
      },
      {
        "id" : "AllergyIntolerance.category",
        "path" : "AllergyIntolerance.category",
        "comment" : "電子カルテ情報共有サービスでは、薬剤禁忌情報として本リソース種別を使用する場合には、必ず本要素は\"medication\"として存在しなければならず、criticality要素は\"high\"を設定しなければならない。これ以外の場合には、本リソースの情報は薬剤禁忌以外のアレルギー情報として取り扱われる。"
      },
      {
        "id" : "AllergyIntolerance.criticality",
        "path" : "AllergyIntolerance.criticality",
        "comment" : "電子カルテ情報共有サービスでは、薬剤禁忌情報として本リソース種別を使用する場合には、category要素の記述を参照すること。"
      },
      {
        "id" : "AllergyIntolerance.patient",
        "path" : "AllergyIntolerance.patient",
        "comment" : "電子カルテ共有サービスでは、別途BundleリソースでPatientリソースが送信されているので、その被保険者個人識別子を明示することにより患者を参照する。",
        "type" : [
          {
            "code" : "Reference",
            "targetProfile" : [
              🔗 "http://jpfhir.jp/fhir/clins/StructureDefinition/JP_Patient_eCS"
            ]
          }
        ]
      },
      {
        "id" : "AllergyIntolerance.patient.identifier.system",
        "path" : "AllergyIntolerance.patient.identifier.system",
        "fixedUri" : "http://jpfhir.jp/fhir/clins/Idsystem/JP_Insurance_memberID"
      }
    ]
  }
}