This page is part of the 旅遊醫學疫苗接種或開立藥品紀錄上傳實作指引 (v1.0.0: Releases Ballot 1) based on FHIR (HL7® FHIR® Standard) R4. This is the current published version. For a full list of available versions, see the Directory of published versions
Active as of 2024-09-23 |
JSON representation of the composition-vacc resource profile.
{
"resourceType" : "StructureDefinition",
"id" : "composition-vacc",
"text" : {
"status" : "extensions",
"div" : "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition composition-vacc</b></p><a name=\"composition-vacc\"> </a><a name=\"hccomposition-vacc\"> </a><a name=\"composition-vacc-en-US\"> </a><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 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 & 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-composition-vacc-definitions.html#Composition\">Composition</a><a name=\"Composition\"> </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 ( code-newissue, code-addissue )\">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=\"https://twcore.mohw.gov.tw/ig/twcore/0.2.2/StructureDefinition-Composition-twcore.html\">TWCoreComposition</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\">將一組resources組成一份連貫的臨床聲明,並附有臨床證明。</span><br/><span style=\"font-weight:bold\">code-newissue: </span>當type = Newissue,則identifier必填<br/><span style=\"font-weight:bold\">code-addissue: </span>當type = Addissue,則identifier必填</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-composition-vacc-definitions.html#Composition.identifier\">identifier</a><a name=\"Composition.identifier\"> </a></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=\"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 ( identifier-format )\">C</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\">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#Identifier\">Identifier</a></td><td style=\"vertical-align: top; text-align : left; background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">證書編號(7碼),例如:9999999<br/><span style=\"font-weight:bold\">identifier-format: </span>證書編號(7)</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-composition-vacc-definitions.html#Composition.type\">type</a><a name=\"Composition.type\"> </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\">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: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5\" href=\"https://twcore.mohw.gov.tw/ig/twcore/0.2.2/StructureDefinition-CodeableConcept-tw.html\" title=\"CodeableConcept\">CodeableConceptTW</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\">Composition的種類(如果可能請使用LOINC)</span><br/><span style=\"font-weight:bold\">Binding: </span><a href=\"ValueSet-twvacc-one-certificate-type-values.html\" title=\"https://vacc.cdc.gov.tw/vacc/ValueSet/twvacc-one-certificate-type-values\">CDC-VACC系統-1-證書類型值集</a> (<a href=\"http://hl7.org/fhir/R4/terminologies.html#required\" title=\"To be conformant, the concept in this element SHALL be from the specified value set.\">required</a>)</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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-composition-vacc-definitions.html#Composition.subject\">subject</a><a name=\"Composition.subject\"> </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\">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-patient-vacc.html\">個案資料(Patient VACC)</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\">Composition是關於誰和/或什麼</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-composition-vacc-definitions.html#Composition.date\">date</a><a name=\"Composition.date\"> </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\">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: 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#dateTime\">dateTime</a></td><td style=\"vertical-align: top; text-align : left; background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">發證日期,格式:西元年-月-日,例如:2024-04-05。</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_reference.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-composition-vacc-definitions.html#Composition.author\">author</a><a name=\"Composition.author\"> </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\">*</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-vaccination-organization-vacc.html\">接種機構(Vaccination Organization VACC/NIIS)</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></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-composition-vacc-definitions.html#Composition.title\">title</a><a name=\"Composition.title\"> </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\">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: 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#string\">string</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\">Required Pattern: </span><span style=\"color: darkgreen\">疫苗接種證書資料</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_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-composition-vacc-definitions.html#Composition.section\">section</a><a name=\"Composition.section\"> </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_bck000.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_reference.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Reference to another Resource\" class=\"hierarchy\"/> <a href=\"StructureDefinition-composition-vacc-definitions.html#Composition.section.entry\">entry</a><a name=\"Composition.section.entry\"> </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\">*</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=\"http://hl7.org/fhir/R4/references.html\">Reference</a>(<a href=\"StructureDefinition-immunization-vacc.html\">VACC系統疫苗紀錄(Immunization VACC)</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><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" : "https://vacc.cdc.gov.tw/vacc/StructureDefinition/composition-vacc",
"version" : "1.0.0",
"name" : "CompositionVACC",
"title" : "證書資料(Composition VACC)",
"status" : "active",
"date" : "2024-09-23T16:58:27+08:00",
"publisher" : "衛福部疾病管制署",
"contact" : [
{
"name" : "衛福部疾病管制署",
"telecom" : [
{
"system" : "url",
"value" : "https://www.cdc.gov.tw"
}
]
}
],
"description" : "此證書資料(Composition VACC)Profile 說明本IG如何進一步定義定義臺灣核心-臨床文件架構(TW Core Composition) Profile以呈現接種疫苗/開立藥品紀錄的證書資料。",
"fhirVersion" : "4.0.1",
"mapping" : [
{
"identity" : "workflow",
"uri" : "http://hl7.org/fhir/workflow",
"name" : "Workflow Pattern"
},
{
"identity" : "rim",
"uri" : "http://hl7.org/v3",
"name" : "RIM Mapping"
},
{
"identity" : "cda",
"uri" : "http://hl7.org/v3/cda",
"name" : "CDA (R2)"
},
{
"identity" : "fhirdocumentreference",
"uri" : "http://hl7.org/fhir/documentreference",
"name" : "FHIR DocumentReference"
},
{
"identity" : "w5",
"uri" : "http://hl7.org/fhir/fivews",
"name" : "FiveWs Pattern Mapping"
}
],
"kind" : "resource",
"abstract" : false,
"type" : "Composition",
"baseDefinition" : "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Composition-twcore",
"derivation" : "constraint",
"snapshot" : {
"element" : [
{
"id" : "Composition",
"path" : "Composition",
"short" : "將一組resources組成一份連貫的臨床聲明,並附有臨床證明。",
"definition" : "一組與健康照護相關的資訊,這些訊息被組合成一個單一的邏輯套件,提供一個單一的連貫的意義陳述,建立自己的上下文,並且提供有關於是誰做出陳述的臨床認證。",
"comment" : "雖然此規範的重點在於特定於病人的臨床聲明,但此resource也可適用於其他與健康照護相關的聲明,如研究方案設計、醫療發票和其他不必然與特定於病人或臨床相關的活動。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition",
"min" : 0,
"max" : "*"
},
"constraint" : [
{
"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" : "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" : "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" : "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" : "code-newissue",
"severity" : "error",
"human" : "當type = Newissue,則identifier必填",
"expression" : "(type.coding.exists(system='https://vacc.cdc.gov.tw/vacc/CodeSystem/twvacc-certificate-type-values' and code='Newissue')) implies (identifier.exists())",
"source" : "https://vacc.cdc.gov.tw/vacc/StructureDefinition/composition-vacc"
},
{
"key" : "code-addissue",
"severity" : "error",
"human" : "當type = Addissue,則identifier必填",
"expression" : "(type.coding.exists(system='https://vacc.cdc.gov.tw/vacc/CodeSystem/twvacc-certificate-type-values' and code='Addissue')) implies (identifier.exists())",
"source" : "https://vacc.cdc.gov.tw/vacc/StructureDefinition/composition-vacc"
}
],
"isModifier" : false,
"isSummary" : false,
"mapping" : [
{
"identity" : "rim",
"map" : "Entity. Role, or Act"
},
{
"identity" : "workflow",
"map" : "Event"
},
{
"identity" : "rim",
"map" : "Document[classCode=\"DOC\" and moodCode=\"EVN\" and isNormalAct()]"
},
{
"identity" : "cda",
"map" : "ClinicalDocument"
},
{
"identity" : "fhirdocumentreference",
"map" : "when described by DocumentReference"
}
]
},
{
"id" : "Composition.id",
"path" : "Composition.id",
"short" : "不重複的ID用以識別儲存在特定FHIR Server中的Composition紀錄,通常又稱為邏輯性ID。",
"definition" : "resource的邏輯ID,在resource的URL中使用。一旦指定,這個值永遠不會改變。",
"comment" : "一個resource使用新增操作(create operation)提交給伺服器時是此resource唯一沒有id的時刻",
"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" : "Composition.meta",
"path" : "Composition.meta",
"short" : "此Composition Resource的metadata",
"definition" : "關於resource的metadata。這是由基礎建設維護的內容。對內容的改變可能並不總是與resource的版本改變相關。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.meta",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Meta"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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
},
{
"id" : "Composition.implicitRules",
"path" : "Composition.implicitRules",
"short" : "創建此內容所依據的一組規則",
"definition" : "構建resource時遵循的一系列規則的參照,在處理內容時必須理解這些規則。通常這是IG定義特殊規則及其他profiles的參照。",
"comment" : "宣告這套規則限制了內容只能被有限的貿易夥伴所理解。這從本質上限制了資料的長期有用性。然而,現有的健康生態體系高度分裂,還沒有準備好以普遍可計算的方式定義、收集和交換資料。只要有可能,實作者和(或)規範編寫者應該避免使用這個資料項目。通常,在使用時,此URL是對實作指引的參照,此指引將這些特殊規則與其他profiles、value sets等一起定義為其敘述的一部分。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.implicitRules",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "uri"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "Composition.language",
"path" : "Composition.language",
"short" : "用以表述Composition Resource內容的語言",
"definition" : "編寫此resource的基礎語言",
"comment" : "提供語言是為了支援索引和可存取性(通常,文字表述轉語音等服務使用此語言標籤)。html lanuage tag適用於此敘述。resource上的語言標籤可用於指定從resource中的資料所產成的其他表述之語言。不是所有的內容都必須使用此基礎語言。不應該假定Resource.language自動適用於敘述。如果指定語言,它也應該被指定在html中的div元素(關於xml:lang和html lang屬性之間的關係,見HTML5中的規則)。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Resource.language",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"example" : [
{
"label" : "Value",
"valueString" : "zh-TW"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "人類語言;鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。",
"valueSet" : "http://hl7.org/fhir/ValueSet/languages"
}
},
{
"id" : "Composition.text",
"path" : "Composition.text",
"short" : "Composition Resource之內容摘要以供人閱讀",
"definition" : "人可讀的敘述,包含resource的摘要,可用於向人表述resource的內容。敘述不需要對所有的結構化資料進行編碼,但需要包含足夠的細節使人在閱讀敘述時理解「臨床安全性」。resource定義可定義哪些內容應該在敘述中表示,以確保臨床安全。",
"comment" : "內嵌(contained)的resource沒有敘述,非內嵌(contained)的resource則 **建議應該(SHOULD)** 有敘述。在某些情況下,resource可能只有文字表述,很少或沒有額外的離散資料(只要滿足所有minOccurs=1的資料項目)。這對於來自舊有系統的資料可能是必要的,在這些系統中,從 「文字表述區塊(text blob) 」獲取訊息,或者文字表述是額外的原始輸入或敘述,而編碼訊息是後來添加的。",
"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" : "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" : "Composition.contained",
"path" : "Composition.contained",
"short" : "內嵌的(contained)、行內的Resources",
"definition" : "這些resource內嵌(contains)的resource不會另外存於任何FHIR伺服器,意即它們無法在任何FHIR伺服器中被找到,也無法有自己獨立的資料異動/交易(transaction)範圍。",
"comment" : "內嵌(contained)的resource沒有敘述,非內嵌(contained)的resource則 **建議應該(SHOULD)** 有敘述。在某些情況下,resource可能只有文字表述,很少或沒有額外的離散資料(只要滿足所有minOccurs=1的資料項目)。這對於來自舊有系統的資料可能是必要的,在這些系統中,從 「文字表述區塊(text blob) 」獲取訊息,或者文字表述是額外的原始輸入或敘述,而編碼訊息是後來添加的。",
"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" : "Composition.extension",
"path" : "Composition.extension",
"short" : "擴充的資料項目",
"definition" : "可用於表示不屬於此資料項目基本定義的附加資訊。為了擴充的使用安全和可管理,對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充,但作為擴充定義的一部分,有一套要求 **必須(SHALL)** 滿足。",
"comment" : "無論使用或定義擴充的機構或管轄區,任何應用程式、專案或標準使用擴充都不背負任何污名(stigma)。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DomainResource.extension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "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" : "Composition.modifierExtension",
"path" : "Composition.modifierExtension",
"short" : "此擴充的資料項目可能會完全修正或改變其他資料項目的意涵,需特別留意。",
"definition" : "可以用來表示不屬於資料項目的基本定義的附加資訊,並且修改對它所內嵌(contained)的資料項目的理解和(或)對包含資料項目之後續使用的理解。通常,修飾用的資料項目提供否定或限定。為了使擴充的使用安全和可管理,對擴充的定義和使用有一套嚴格的管理。儘管任何實作者都可以定義一個擴充,但作為擴充定義的一部分,有一套要求 **必須(SHALL)** 滿足。處理resource的應用程式被要求檢查修飾用的擴充資料項目。 \n修飾用的擴充資料項目 **必須沒有(SHALL NOT)** 改變resource或DomainResource上任何資料項目的含義(包括不能改變modifierExtension本身的含義)。",
"comment" : "無論使用或定義擴充的機構或管轄區,任何應用程式、專案或標準使用擴充都不背負任何污名(stigma)。使用擴充是允許FHIR規範為每個人保留一個核心的簡易性。",
"requirements" : "修飾用的資料項目擴充將不能安全地忽略的擴充與絕大多數可以安全地忽略的擴充明確區分開來。透過消除禁止實作者擴充存在的需求來促進可互操作性。更多訊息,請參見[修飾用的資料項目擴充之定義](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "DomainResource.modifierExtension",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Extension"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "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
},
{
"id" : "Composition.identifier",
"path" : "Composition.identifier",
"short" : "證書編號(7碼),例如:9999999",
"definition" : "與版本無關的Composition識別碼。隨著時間的推移,該識別碼將保持不變。",
"comment" : "類似於 CDA 中的 ClinicalDocument/setId。請參閱resource定義中的討論,了解它們之間的關係。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.identifier",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Identifier"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "identifier-format",
"severity" : "error",
"human" : "證書編號(7)",
"expression" : "value.matches('^[0-9]{7}$')",
"source" : "https://vacc.cdc.gov.tw/vacc/StructureDefinition/composition-vacc"
}
],
"mustSupport" : true,
"isModifier" : false,
"isSummary" : true,
"mapping" : [
{
"identity" : "workflow",
"map" : "Event.identifier"
},
{
"identity" : "w5",
"map" : "FiveWs.identifier"
},
{
"identity" : "rim",
"map" : "Document.id / Document.setId"
},
{
"identity" : "cda",
"map" : ".setId"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.masterIdentifier"
}
]
},
{
"id" : "Composition.status",
"path" : "Composition.status",
"short" : "registered | partial | preliminary | final | amended | corrected +",
"definition" : "此composition的工作流程/臨床狀態。狀態是指文件的臨床狀態的標識。",
"comment" : "如果一個composition被標記為撤回(withdraw),那麼該系列中的composition/文件或者此composition或文件系列中的資料,若未被明確標記為(該撤回)不可信的情況下,則不應向用戶展示。「錯誤輸入 (entered-in-error)標籤是此composition為何被標記為修飾用資料項目(modifier)的原因。\n某些報告工作流程要求最終文件的原始敘述永不更改;意即只能添加新的敘述。composition resource 沒有明確的狀態(status)來明確註明是否適用此業務規則。如有需要,這將透過擴充來處理。",
"requirements" : "需要能夠標記為臨時(interim)、修改(amended)或撤回(withdrawn)的composition或文件。",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.status",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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 labelled as a modifier because it is a status element that contains status entered-in-error which means that the resource should not be treated as valid",
"isSummary" : true,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "CompositionStatus"
}
],
"strength" : "required",
"description" : "Composition的工作流程/臨床狀態;應填入所綁定值集中的其中一個代碼。",
"valueSet" : "http://hl7.org/fhir/ValueSet/composition-status|4.0.1"
},
"mapping" : [
{
"identity" : "workflow",
"map" : "Event.status"
},
{
"identity" : "w5",
"map" : "FiveWs.status"
},
{
"identity" : "rim",
"map" : "interim: .completionCode=\"IN\" & ./statusCode[isNormalDatatype()]=\"active\"; final: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and not(./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct()]); amended: .completionCode=\"AU\" && ./statusCode[isNormalDatatype()]=\"complete\" and ./inboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()]/source[subsumesCode(\"ActClass#CACT\") and moodCode=\"EVN\" and domainMember(\"ReviseComposition\", code) and isNormalAct() and statusCode=\"completed\"]; withdrawn : .completionCode=NI && ./statusCode[isNormalDatatype()]=\"obsolete\""
},
{
"identity" : "cda",
"map" : "n/a"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.status"
}
]
},
{
"id" : "Composition.type",
"path" : "Composition.type",
"short" : "Composition的種類(如果可能請使用LOINC)",
"definition" : "指定特定類型的composition(如病史和體檢、出院摘要、病程紀錄)。這通常等同於製作composition的目的。",
"comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
"requirements" : "描述composition的關鍵metadata資料項目,用於查詢/篩選。",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.type",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"
]
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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,
"binding" : {
"strength" : "required",
"valueSet" : "https://vacc.cdc.gov.tw/vacc/ValueSet/twvacc-one-certificate-type-values"
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id" : "Composition.category",
"path" : "Composition.category",
"short" : "Composition的分類",
"definition" : "composition類型的分類 - 有助於索引和查詢。這可能是由 Composition Type 中指定的代碼隱含或衍生出來的。",
"comment" : "\"這是來自XDS/MHD的metadata欄位\"。",
"requirements" : "幫助人類在檢視composition或規範文件時評估composition是否感興趣。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.category",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"
]
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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,
"binding" : {
"strength" : "extensible",
"description" : "應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。",
"valueSet" : "http://hl7.org/fhir/ValueSet/document-classcodes"
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id" : "Composition.subject",
"path" : "Composition.subject",
"short" : "Composition是關於誰和/或什麼",
"definition" : "composition是關於誰或什麼的。composition可以是關於一個人(病人或醫護人員)、一個設備(如機器),甚至是一群對象(如關於一群牲畜的文件,或一群有共同曝露的病人)。",
"comment" : "對於臨床文件來說,這通常是指病人。",
"requirements" : "查詢composition的基本metadata,指明compoisition/文件的作者和/或內容。",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.subject",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://vacc.cdc.gov.tw/vacc/StructureDefinition/patient-vacc"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "rim",
"map" : ".participation[typeCode=\"SBJ\"].role[typeCode=\"PAT\"]"
},
{
"identity" : "cda",
"map" : ".recordTarget"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.subject"
},
{
"identity" : "w5",
"map" : "FiveWs.subject"
}
]
},
{
"id" : "Composition.encounter",
"path" : "Composition.encounter",
"short" : "Composition的情境",
"definition" : "描述與該文件相關的臨床就醫事件或照護類型。",
"requirements" : "為composition提供情境並支持查詢。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.encounter",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Encounter-twcore"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "workflow",
"map" : "Event.context"
},
{
"identity" : "w5",
"map" : "FiveWs.context"
},
{
"identity" : "rim",
"map" : "unique(highest(./outboundRelationship[typeCode=\"SUBJ\" and isNormalActRelationship()], priorityNumber)/target[moodCode=\"EVN\" and classCode=(\"ENC\", \"PCPR\") and isNormalAct])"
},
{
"identity" : "cda",
"map" : ".componentOf.encompassingEncounter"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.context.encounter"
}
]
},
{
"id" : "Composition.date",
"path" : "Composition.date",
"short" : "發證日期,格式:西元年-月-日,例如:2024-04-05。",
"definition" : "composition編輯時間,即作者最後一次邏輯上更改composition的時間。",
"comment" : "composition上的最後修改日期可能在文件被證明日期之後而未更改。這意味著修改過的文件上的日期是修改日期,而非原始撰寫之日期。",
"requirements" : "dateTime 用於追蹤、組織版本和查詢。請注意:這是創作此版本Composition的時間。打包成文檔時,Bundle.timestamp 是打包日期。",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.date",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "dateTime"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "workflow",
"map" : "Event.occurrence[x]"
},
{
"identity" : "w5",
"map" : "FiveWs.done[x]"
},
{
"identity" : "rim",
"map" : ".effectiveTime[type=\"TS\"]"
},
{
"identity" : "cda",
"map" : ".effectiveTime"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.content.attachment.date, DocumentReference.created"
}
]
},
{
"id" : "Composition.author",
"path" : "Composition.author",
"short" : "發證機構",
"definition" : "指明誰對composition中的資訊負責,而不一定是誰輸入了它。",
"requirements" : "指明誰對內容負責",
"min" : 1,
"max" : "*",
"base" : {
"path" : "Composition.author",
"min" : 1,
"max" : "*"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://vacc.cdc.gov.tw/vacc/StructureDefinition/vaccination-organization-vacc"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "workflow",
"map" : "Event.performer"
},
{
"identity" : "w5",
"map" : "FiveWs.author"
},
{
"identity" : "rim",
"map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
},
{
"identity" : "cda",
"map" : ".author.assignedAuthor"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.agent"
}
]
},
{
"id" : "Composition.title",
"path" : "Composition.title",
"short" : "人類可讀的名稱/標題",
"definition" : "composition的正式可讀標籤",
"comment" : "對於許多composition來說,標題與文本或 Composition.type 的顯示名稱相同(如 「會診﹙consultation﹚」或 「病程紀錄﹙progress note﹚」)。請注意:CDA 並不強制要求標題,但目前還沒有發現省略標題有用的情況,因此在此強制要求標題。歡迎在試用區間對這一要求提出反饋意見。",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.title",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"patternString" : "疫苗接種證書資料",
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "rim",
"map" : "./title"
},
{
"identity" : "cda",
"map" : ".title"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.description, DocumentReference.content.attachment.title"
}
]
},
{
"id" : "Composition.confidentiality",
"path" : "Composition.confidentiality",
"short" : "根據特定技術領域的定義",
"definition" : "具體說明Composition保密等級的代碼",
"comment" : "此資料項目的確切使用,以及與高度敏感文件相關的執行和問題超出了基本規範的範圍,並委託給實作Profiles(見安全小節)。 此資料項目被標記為修飾用,因為高度機密的文件不能被當作非機密文件處理。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.confidentiality",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "DocumentConfidentiality"
}
],
"strength" : "required",
"description" : "應填入所綁定值集中的其中一個代碼。",
"valueSet" : "http://terminology.hl7.org/ValueSet/v3-ConfidentialityClassification|2014-03-26"
},
"mapping" : [
{
"identity" : "rim",
"map" : ".confidentialityCode"
},
{
"identity" : "cda",
"map" : ".confidentialityCode"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.securityLabel"
}
]
},
{
"id" : "Composition.attester",
"path" : "Composition.attester",
"short" : "證明Composition的準確性",
"definition" : "證明composition/文件準確無誤的參與者",
"comment" : "每位參與者只需每位證明者只列一次",
"requirements" : "指明對composition內容準確性的責任",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.attester",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "rim",
"map" : ".participation[typeCode=\"AUTHEN\"].role[classCode=\"ASSIGNED\"]"
},
{
"identity" : "cda",
"map" : ".authenticator/.legalAuthenticator"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.authenticator"
}
]
},
{
"id" : "Composition.attester.id",
"path" : "Composition.attester.id",
"representation" : [
"xmlAttr"
],
"short" : "Unique id for inter-element referencing",
"definition" : "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" : "Composition.attester.extension",
"path" : "Composition.attester.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" : "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" : "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" : "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" : "Composition.attester.modifierExtension",
"path" : "Composition.attester.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "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" : "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" : "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" : "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" : "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" : "Composition.attester.mode",
"path" : "Composition.attester.mode",
"short" : "personal | professional | legal | official",
"definition" : "認證者提供的認證類型",
"requirements" : "指明認證的權威程度",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.attester.mode",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "CompositionAttestationMode"
}
],
"strength" : "required",
"description" : "認證者提供的認證類型;應填入所綁定值集中的其中一個代碼。",
"valueSet" : "http://hl7.org/fhir/ValueSet/composition-attestation-mode|4.0.1"
},
"mapping" : [
{
"identity" : "rim",
"map" : "unique(./modeCode)"
},
{
"identity" : "cda",
"map" : "implied by .authenticator/.legalAuthenticator"
}
]
},
{
"id" : "Composition.attester.time",
"path" : "Composition.attester.time",
"short" : "此Composition被證明的時間",
"definition" : "當composition被該方證實的時間",
"requirements" : "指明composition中的資訊何時被認為是準確的。(自那時起可能發生了變化)。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.attester.time",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "dateTime"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "./time[type=\"TS\" and isNormalDatatype()]"
},
{
"identity" : "cda",
"map" : ".authenticator.time"
}
]
},
{
"id" : "Composition.attester.party",
"path" : "Composition.attester.party",
"short" : "誰證明了此Composition",
"definition" : "誰以指定的方式證明了此composition",
"requirements" : "指明由誰承擔composition內容準確性的責任",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.attester.party",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"🔗 ,
"http://hl7.org/fhir/StructureDefinition/RelatedPerson"🔗 ,
"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"🔗 ,
"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore"🔗 ,
"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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.witness"
},
{
"identity" : "rim",
"map" : "./role[classCode=\"ASSIGNED\" and isNormalRole]/player[determinerCode=\"INST\" and classCode=(\"DEV\", \"PSN\") and isNormalEntity()] or ./role[classCode=\"ASSIGNED\" and isNormalRole and not(player)]/scoper[determinerCode=\"INST\" and classCode=\"ORG\" and isNormalEntity()]"
},
{
"identity" : "cda",
"map" : ".authenticator.assignedEnttty"
}
]
},
{
"id" : "Composition.custodian",
"path" : "Composition.custodian",
"short" : "維護Composition的機構",
"definition" : "指明負責持續維護和存取composition/文件資訊的機構或團體",
"comment" : "當此文件是衍生自composition時非常有用。它提供了如何獲取文件的最新版本的指導。這是可選項,因為有時編寫系統並不知道可以根據情境推斷。不過,在處理派生文件時,了解這一資訊非常重要,因此鼓勵提供一個保管者。",
"requirements" : "指明在哪裡可以找到當前版本、在哪裡可以報告問題等",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.custodian",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "rim",
"map" : ".participation[typeCode=\"RCV\"].role[classCode=\"CUST\"].scoper[classCode=\"ORG\" and determinerCode=\"INST\"]"
},
{
"identity" : "cda",
"map" : ".custodian.assignedCustodian"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.custodian"
}
]
},
{
"id" : "Composition.relatesTo",
"path" : "Composition.relatesTo",
"short" : "與其他Composition/文件之間的關係",
"definition" : "此composition與其他已有的composition或文件之間的關係",
"comment" : "要參照(使用 relatesTo)「document」type的 Bundle 或其他只有識別碼的 Composition,請使用帶有識別碼的 resourceReference。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.relatesTo",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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"
},
{
"identity" : "cda",
"map" : ".relatedDocument"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.relatesTo"
}
]
},
{
"id" : "Composition.relatesTo.id",
"path" : "Composition.relatesTo.id",
"representation" : [
"xmlAttr"
],
"short" : "Unique id for inter-element referencing",
"definition" : "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" : "Composition.relatesTo.extension",
"path" : "Composition.relatesTo.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" : "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" : "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" : "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" : "Composition.relatesTo.modifierExtension",
"path" : "Composition.relatesTo.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "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" : "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" : "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" : "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" : "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" : "Composition.relatesTo.code",
"path" : "Composition.relatesTo.code",
"short" : "replaces | transforms | signs | appends",
"definition" : "此composition與另一個compoisition或文件的關系類型",
"comment" : "如果此文件附加了另一個文件,那麼如果不存取參照的文件,就無法完全理解此文件。",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.relatesTo.code",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "DocumentRelationshipType"
}
],
"strength" : "required",
"description" : "檔案之間的關係型別;應填入所綁定值集中的其中一個代碼。",
"valueSet" : "http://hl7.org/fhir/ValueSet/document-relationship-type|4.0.1"
},
"mapping" : [
{
"identity" : "rim",
"map" : ".outboundRelationship.typeCode"
},
{
"identity" : "cda",
"map" : ".relatedDocument.typeCode"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.relatesTo.code"
}
]
},
{
"id" : "Composition.relatesTo.target[x]",
"path" : "Composition.relatesTo.target[x]",
"short" : "此關係的目標文件",
"definition" : "此關係的目標composition/文件",
"min" : 1,
"max" : "1",
"base" : {
"path" : "Composition.relatesTo.target[x]",
"min" : 1,
"max" : "1"
},
"type" : [
{
"code" : "Identifier"
},
{
"code" : "Reference",
"targetProfile" : [
🔗 "http://hl7.org/fhir/StructureDefinition/Composition"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : ".target[classCode=\"DOC\", moodCode=\"EVN\"].id"
},
{
"identity" : "cda",
"map" : ".relatedDocument.id"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.relatesTo.target"
}
]
},
{
"id" : "Composition.event",
"path" : "Composition.event",
"short" : "正在記錄的臨床服務",
"definition" : "記錄的臨床服務,例如:結腸鏡檢查或闌尾切除術。",
"comment" : "事件需要與類型資料項目保持一致,但如果需求,也可以提供更多的詳細資訊。",
"requirements" : "為composition提供情境背景,並在描述事件的resource和為描述事件而創建的composition之間建立連結。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.event",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "outboundRelationship[typeCode=\"SUBJ\"].target[classCode<'ACT']"
},
{
"identity" : "cda",
"map" : ".documentationOf.serviceEvent"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.event"
}
]
},
{
"id" : "Composition.event.id",
"path" : "Composition.event.id",
"representation" : [
"xmlAttr"
],
"short" : "Unique id for inter-element referencing",
"definition" : "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" : "Composition.event.extension",
"path" : "Composition.event.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" : "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" : "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" : "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" : "Composition.event.modifierExtension",
"path" : "Composition.event.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "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" : "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" : "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" : "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" : "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" : "Composition.event.code",
"path" : "Composition.event.code",
"short" : "此代碼表代表了正在被記錄的主要臨床行為",
"definition" : "一個概念可能透過正式參照專門術語或本體論來定義,或者可以由文字提供。",
"comment" : "一個事件可以進一步專門化 typeCode 中固有的行為,例如:當它僅僅是「處置報告」,而該處置是「結腸鏡檢查」。如果包含一個或多個事件,它們 **必須沒有(SHALL NOT)** 與 classCode、practiceSettingCode 或 typeCode 中固有的值相衝突,因為這樣的衝突會造成模糊不清的情況。這個簡短的代碼清單提供用作某些類型查詢的關鍵字。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.event.code",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"
]
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "DocumentEventType"
}
],
"strength" : "example",
"description" : "可參考所綁定值集,但此值集只是針對這個欄位的一個可能值的範例,不預期也不鼓勵使用者一定要使用此值集的代碼。",
"valueSet" : "http://terminology.hl7.org/ValueSet/v3-ActCode"
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id" : "Composition.event.period",
"path" : "Composition.event.period",
"short" : "文件所涵蓋的時間區間",
"definition" : "此文件涵蓋的時間區間,這並不是聲明此文件是這一個時間區間的完整代表,而只是表明它記錄了這段時間內發生的事件。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.event.period",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Period"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : ".effectiveTime"
},
{
"identity" : "cda",
"map" : ".effectiveTime"
},
{
"identity" : "fhirdocumentreference",
"map" : "DocumentReference.event.period"
}
]
},
{
"id" : "Composition.event.detail",
"path" : "Composition.event.detail",
"short" : "在描述被記錄下來的事件,這些事件可以是以代碼的形式、參考資料的形式,或者兩者都有的形式來呈現。",
"definition" : "它描述了正在被記錄的主要臨床活動,比如說進行一次結腸鏡檢查或是闌尾切除手術。在某些情況下,這些臨床事件本身就包含在其typeCode中,例如:在「病史與體檢報告」中,所記錄的過程就必然是進行「病史與體檢」的行為。這些臨床事件可以以代碼的形式被記錄,或者作為對其他resource的參照。",
"comment" : "事件可以進一步細化類型編碼中的固有行為,例如,事件只是程序報告,而程序是結腸鏡檢查。如果包含一個或多個事件,它們不得與類別編碼、診療設置編碼或類型代碼中固有的值相衝 突,因為這樣的衝突會造成模稜兩可的情況。本編碼簡表可用作某些類型查詢的關鍵詞。",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.event.detail",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "http://hl7.org/fhir/StructureDefinition/Resource"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : ".outboundRelationship[typeCode=\"SUBJ\"].target"
},
{
"identity" : "cda",
"map" : "n/a"
}
]
},
{
"id" : "Composition.section",
"path" : "Composition.section",
"short" : "Composition被分成一個或數個小節",
"definition" : "構成composition的各小節",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.section",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "BackboneElement"
}
],
"constraint" : [
{
"key" : "cmp-1",
"severity" : "error",
"human" : "A section must contain at least one of text, entries, or sub-sections",
"expression" : "text.exists() or entry.exists() or section.exists()",
"xpath" : "exists(f:text) or exists(f:entry) or exists(f:section)",
"source" : "http://hl7.org/fhir/StructureDefinition/Composition"
},
{
"key" : "cmp-2",
"severity" : "error",
"human" : "A section can only have an emptyReason if it is empty",
"expression" : "emptyReason.empty() or entry.empty()",
"xpath" : "not(exists(f:emptyReason) and exists(f:entry))",
"source" : "http://hl7.org/fhir/StructureDefinition/Composition"
},
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "rim",
"map" : "./outboundRelationship[typeCode=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
},
{
"identity" : "cda",
"map" : ".component.structuredBody.component.section"
}
]
},
{
"id" : "Composition.section.id",
"path" : "Composition.section.id",
"representation" : [
"xmlAttr"
],
"short" : "Unique id for inter-element referencing",
"definition" : "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" : "Composition.section.extension",
"path" : "Composition.section.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" : "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" : "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" : "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" : "Composition.section.modifierExtension",
"path" : "Composition.section.modifierExtension",
"short" : "Extensions that cannot be ignored even if unrecognized",
"definition" : "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" : "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" : "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" : "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" : "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" : "Composition.section.title",
"path" : "Composition.section.title",
"short" : "小節標籤(例如:目錄ToC)",
"definition" : "此特定小節的標籤。這將是文件呈現內容的一部分,通常用於建立目錄。",
"comment" : "標題為人類讀者指明小節。標題必須與作為 section.content 參照目標的resource的敘述一致。通常章節 **建議應該(SHOULD)** 有標題,但在某些文件中,這可能是不必要的或不適當的。通常情況下,當一個小節有其自己足夠區分的標題的子小節,或只有單一小節的文件時,就會這樣。大多數IG會要求小節標題是必填的資料項目。",
"requirements" : "不同類型的文件常常會有標準化的小節標題,這些標題為人們提供如何組織文件的指引。",
"alias" : [
"header",
"label",
"caption"
],
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.section.title",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "string"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "./title"
},
{
"identity" : "cda",
"map" : ".title"
}
]
},
{
"id" : "Composition.section.code",
"path" : "Composition.section.code",
"short" : "小節分類(建議)",
"definition" : "一個用於指明小節中所含內容種類的代碼,這個代碼必須與小節的標題相一致。",
"comment" : "Not all terminology uses fit this general pattern. In some cases, models should not use CodeableConcept and use Coding directly and provide their own structure for managing text, codings, translations and the relationship between elements and pre- and post-coordination.",
"requirements" : "提供給文件中主題的標籤是標準化的,並且可以被電腦程式識別和處理。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.section.code",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"
]
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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,
"binding" : {
"strength" : "extensible",
"description" : "應填入所綁定值集中適合的代碼,確定無適合的代碼才可以使用其他值集的代碼來表示。",
"valueSet" : "http://hl7.org/fhir/ValueSet/doc-section-codes"
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id" : "Composition.section.author",
"path" : "Composition.section.author",
"short" : "誰和/或什麼人撰寫了該小節",
"definition" : "指明誰對小節中的資訊負責,而不一定是誰輸入了它。",
"requirements" : "指明誰對內容負責",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.section.author",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Practitioner-twcore"🔗 ,
"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/PractitionerRole-twcore"🔗 ,
"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Organization-twcore"🔗 ,
"https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/Patient-twcore"🔗 ,
"http://hl7.org/fhir/StructureDefinition/Device"🔗 ,
"http://hl7.org/fhir/StructureDefinition/RelatedPerson"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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.author"
},
{
"identity" : "rim",
"map" : ".participation[typeCode=\"AUT\"].role[classCode=\"ASSIGNED\"]"
},
{
"identity" : "cda",
"map" : ".author.assignedAuthor"
}
]
},
{
"id" : "Composition.section.focus",
"path" : "Composition.section.focus",
"short" : "當小節與composition描述的對象無關時,此小節是關於誰/什麼。",
"definition" : "當小節的實際焦點不是composition描述的對象,而是代表與對象相關的某事物或某人時,例如:(對於病人對象)配偶、父母、胎兒或捐贈者。如果沒有指定焦點,則假定焦點為父小節的焦點,或者對於Composition本身中的小節,為Composition的對象。具有焦點的小節只 **必須(SHALL)** 包含對象(病人、對象、焦點等)與小節焦點相匹配的resources,或者是沒有對象的resources(少數resources)。",
"comment" : "通常,文件中的小節是關於該文件的描述對象,無論是病人、一群病人、位置、設備或其他。對於某些種類的文件,有些小節實際上包含有關的實體資料。典型的例子包括新生兒出院病摘中關於母親的小節,或者家族病史文件中關於每個家庭成員的小節,當然還有很多其他例子。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.section.focus",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "http://hl7.org/fhir/StructureDefinition/Resource"
]
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "cda",
"map" : ".subject? (CDA did not differentiate between subject and focus)"
}
]
},
{
"id" : "Composition.section.text",
"path" : "Composition.section.text",
"short" : "將文件中特定小節的內容簡化成容易理解的文字形式,便於人類閱讀和解釋。",
"definition" : "一個供人閱讀的敘述,包含小節的核實內容,用以展現resource的內容供人類閱讀。這段敘述不需要涵蓋所有結構化的資料,但必須包含足夠的細節,確保僅透過閱讀這段敘述的人能夠在臨床上獲得安全且準確的資訊。",
"comment" : "文件Profile可能會定義應在敘述中呈現哪些內容,以確保臨床安全。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.section.text",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "Narrative"
}
],
"condition" : [
"cmp-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "rim",
"map" : ".text"
},
{
"identity" : "cda",
"map" : ".text"
}
]
},
{
"id" : "Composition.section.mode",
"path" : "Composition.section.mode",
"short" : "適用於此小節的處理模式",
"definition" : "條目清單是如何準備的 - 它是一個適合持續維護的工作清單,還是代表從另一個來源截取的項目清單的快照,或者是一個準備好的清單,在該清單中,項目可能被標記為已添加、修改或刪除。",
"comment" : "這個資料項目被標記為修飾用,是因為不應將變更清單(a change list)誤解為完整清單(a complete list)。",
"requirements" : "小節有多種使用方式,因此必須清楚地了解如何安全地使用其中的條目。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.section.mode",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "code"
}
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "SectionMode"
}
],
"strength" : "required",
"description" : "應填入所綁定值集中的其中一個代碼。",
"valueSet" : "http://hl7.org/fhir/ValueSet/list-mode|4.0.1"
},
"mapping" : [
{
"identity" : "w5",
"map" : "FiveWs.class"
},
{
"identity" : "rim",
"map" : ".outBoundRelationship[typeCode=COMP].target[classCode=OBS\"].value"
},
{
"identity" : "cda",
"map" : "n/a"
}
]
},
{
"id" : "Composition.section.orderedBy",
"path" : "Composition.section.orderedBy",
"short" : "小節條目的順序",
"definition" : "指定應用於小節條目的項目順序",
"comment" : "應用程式 **建議應該(SHOULD)** 按照給定的順序來顯示有序清單,但也可以允許用戶按照他們自己的偏好進行重新排序。如果沒有明確指定順序,則該順序是不確定的,雖然清單可能仍有某種排列順序。",
"requirements" : "這對於展示和呈現是重要的,清單可能會進行排序,以便將重要的資訊放在前面,或將相關的條目分組。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.section.orderedBy",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"
]
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SectionEntryOrder"
}
],
"strength" : "preferred",
"description" : "鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。",
"valueSet" : "http://hl7.org/fhir/ValueSet/list-order"
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id" : "Composition.section.entry",
"path" : "Composition.section.entry",
"short" : "提供一個連結用於參照或查看支持此小節內容的資料",
"definition" : "指向那些提供小節中敘述內容的實際resource的參照",
"comment" : "如果清單中沒有條目,則 **建議應該(SHOULD)** 提供 emptyReason。",
"min" : 1,
"max" : "*",
"base" : {
"path" : "Composition.section.entry",
"min" : 0,
"max" : "*"
},
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://vacc.cdc.gov.tw/vacc/StructureDefinition/immunization-vacc"
]
}
],
"condition" : [
"cmp-2"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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" : "rim",
"map" : ".outboundRelationship[typeCode=COMP] or .participation[typeCode=SBJ]"
},
{
"identity" : "cda",
"map" : ".entry"
}
]
},
{
"id" : "Composition.section.emptyReason",
"path" : "Composition.section.emptyReason",
"short" : "為什麼此小節是空的原因",
"definition" : "如果小節為空,則說明清單為空的原因。一個空的小節通常有一些文字說明空的原因。",
"comment" : "當一個小節是空的,其空白的原因對於理解該小節非常重要。需要注意的是,這個代碼是用於當整個小節的內容都沒有被包括時,它並不適用於個別項目被省略的情形,若為個別項目被省略的情況,開發者可以考慮在該條目中添加文字說明或標記。",
"requirements" : "允許捕捉像是「不存在」或「未詢問」這樣的情況,這對於大多數清單來說可能很重要。",
"min" : 0,
"max" : "1",
"base" : {
"path" : "Composition.section.emptyReason",
"min" : 0,
"max" : "1"
},
"type" : [
{
"code" : "CodeableConcept",
"profile" : [
🔗 "https://twcore.mohw.gov.tw/ig/twcore/StructureDefinition/CodeableConcept-tw"
]
}
],
"condition" : [
"ele-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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,
"binding" : {
"extension" : [
{
"url" : "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName",
"valueString" : "SectionEmptyReason"
}
],
"strength" : "preferred",
"description" : "鼓勵使用所綁定值集中的代碼,但不強制一定要使用此值集,你也可使用其他值集的代碼或單純以文字表示。",
"valueSet" : "http://hl7.org/fhir/ValueSet/list-empty-reason"
},
"mapping" : [
{
"identity" : "rim",
"map" : "n/a"
},
{
"identity" : "v2",
"map" : "CE/CNE/CWE"
},
{
"identity" : "rim",
"map" : "CD"
},
{
"identity" : "orim",
"map" : "fhir:CodeableConcept rdfs:subClassOf dt:CD"
}
]
},
{
"id" : "Composition.section.section",
"path" : "Composition.section.section",
"short" : "嵌套的小節",
"definition" : "此小節中嵌套的小節",
"comment" : "嵌套小節主要是為了幫助讀者快速找到文件中的特定內容",
"min" : 0,
"max" : "*",
"base" : {
"path" : "Composition.section.section",
"min" : 0,
"max" : "*"
},
"contentReference" : "http://hl7.org/fhir/StructureDefinition/Composition#Composition.section",
"condition" : [
"cmp-1"
],
"constraint" : [
{
"key" : "ele-1",
"severity" : "error",
"human" : "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=\"COMP\" and isNormalActRelationship()]/target[moodCode=\"EVN\" and classCode=\"DOCSECT\" and isNormalAct]"
},
{
"identity" : "cda",
"map" : ".component.section"
}
]
}
]
},
"differential" : {
"element" : [
{
"id" : "Composition",
"path" : "Composition",
"constraint" : [
{
"key" : "code-newissue",
"severity" : "error",
"human" : "當type = Newissue,則identifier必填",
"expression" : "(type.coding.exists(system='https://vacc.cdc.gov.tw/vacc/CodeSystem/twvacc-certificate-type-values' and code='Newissue')) implies (identifier.exists())",
"source" : "https://vacc.cdc.gov.tw/vacc/StructureDefinition/composition-vacc"
},
{
"key" : "code-addissue",
"severity" : "error",
"human" : "當type = Addissue,則identifier必填",
"expression" : "(type.coding.exists(system='https://vacc.cdc.gov.tw/vacc/CodeSystem/twvacc-certificate-type-values' and code='Addissue')) implies (identifier.exists())",
"source" : "https://vacc.cdc.gov.tw/vacc/StructureDefinition/composition-vacc"
}
]
},
{
"id" : "Composition.identifier",
"path" : "Composition.identifier",
"short" : "證書編號(7碼),例如:9999999",
"constraint" : [
{
"key" : "identifier-format",
"severity" : "error",
"human" : "證書編號(7)",
"expression" : "value.matches('^[0-9]{7}$')",
"source" : "https://vacc.cdc.gov.tw/vacc/StructureDefinition/composition-vacc"
}
]
},
{
"id" : "Composition.type",
"path" : "Composition.type",
"binding" : {
"strength" : "required",
"valueSet" : "https://vacc.cdc.gov.tw/vacc/ValueSet/twvacc-one-certificate-type-values"
}
},
{
"id" : "Composition.subject",
"path" : "Composition.subject",
"min" : 1,
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://vacc.cdc.gov.tw/vacc/StructureDefinition/patient-vacc"
]
}
]
},
{
"id" : "Composition.date",
"path" : "Composition.date",
"short" : "發證日期,格式:西元年-月-日,例如:2024-04-05。"
},
{
"id" : "Composition.author",
"path" : "Composition.author",
"short" : "發證機構",
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://vacc.cdc.gov.tw/vacc/StructureDefinition/vaccination-organization-vacc"
]
}
]
},
{
"id" : "Composition.title",
"path" : "Composition.title",
"patternString" : "疫苗接種證書資料"
},
{
"id" : "Composition.section.entry",
"path" : "Composition.section.entry",
"min" : 1,
"type" : [
{
"code" : "Reference",
"targetProfile" : [
🔗 "https://vacc.cdc.gov.tw/vacc/StructureDefinition/immunization-vacc"
]
}
]
}
]
}
}