臺灣社政領域基礎實作指引, published by 衛生福利部社會及家庭署. This guide is not an authorized publication; it is the continuous build for version 0.0.1 built by the FHIR (HL7® FHIR® Standard) CI Build. This version is based on the current content of https://github.com/sfaassn2025-source/base/ and changes regularly. See the Directory of published versions
| Draft as of 2026-08-10 |
TTL representation of the Questionnaire-health-disease-status-twss-base resource profile.
@prefix fhir: <http://hl7.org/fhir/> . @prefix owl: <http://www.w3.org/2002/07/owl#> . @prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . @prefix xsd: <http://www.w3.org/2001/XMLSchema#> . # - resource ------------------------------------------------------------------- <http://hl7.org/fhir/StructureDefinition/Questionnaire-health-disease-status-twss-base> a fhir:StructureDefinition ; fhir:nodeRole fhir:treeRoot ; fhir:Resource.id [ fhir:value "Questionnaire-health-disease-status-twss-base"] ; fhir:DomainResource.text [ fhir:Narrative.status [ fhir:value "extensions" ] ; fhir:Narrative.div "<div xmlns=\"http://www.w3.org/1999/xhtml\"><p class=\"res-header-id\"><b>Generated Narrative: StructureDefinition Questionnaire-health-disease-status-twss-base</b></p><a name=\"Questionnaire-health-disease-status-twss-base\"> </a><a name=\"hcQuestionnaire-health-disease-status-twss-base\"> </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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px; 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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; padding-top: 3px; padding-bottom: 3px\" 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 : var(--ig-left,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-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire\">Questionnaire</a><a name=\"Questionnaire\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"StructureDefinition-Questionnaire-twss-base.html\">QuestionnaireTWSSBase</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">A structured set of questions</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03.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_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item\">Slices for item</a><a name=\"Questionnaire.item\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"font-style: italic\">1</span><span style=\"font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">*</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Questions and sections within the Questionnaire</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Closed by value:linkId</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck035.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:hasCatastrophicIllnessCard\" title=\"Slice hasCatastrophicIllnessCard\">item:hasCatastrophicIllnessCard</a><a name=\"Questionnaire.item:hasCatastrophicIllnessCard\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">1..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Questions and sections within the Questionnaire</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:hasCatastrophicIllnessCard.linkId\">linkId</a><a name=\"Questionnaire.item:hasCatastrophicIllnessCard.linkId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unique id for item in questionnaire</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.1</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0340.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:hasCatastrophicIllnessCard.type\">type</a><a name=\"Questionnaire.item:hasCatastrophicIllnessCard.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">group | display | boolean | decimal | integer | date | dateTime +</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">boolean</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck035.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName\" title=\"Slice catastrophicIllnessName\">item:catastrophicIllnessName</a><a name=\"Questionnaire.item:catastrophicIllnessName\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Questions and sections within the Questionnaire</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName.linkId\">linkId</a><a name=\"Questionnaire.item:catastrophicIllnessName.linkId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unique id for item in questionnaire</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.2</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName.type\">type</a><a name=\"Questionnaire.item:catastrophicIllnessName.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">group | display | boolean | decimal | integer | date | dateTime +</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">string</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0341.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName.enableWhen\">enableWhen</a><a name=\"Questionnaire.item:catastrophicIllnessName.enableWhen\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03410.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName.enableWhen.question\">question</a><a name=\"Questionnaire.item:catastrophicIllnessName.enableWhen.question\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Question that determines whether item is enabled</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.1</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03410.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName.enableWhen.operator\">operator</a><a name=\"Questionnaire.item:catastrophicIllnessName.enableWhen.operator\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">exists | = | != | > | < | >= | <=</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">=</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03412.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> <a style=\"font-style: italic; font-style: italic\" href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName.enableWhen.answer[x]\">Slices for answer[x]</a><a name=\"Questionnaire.item:catastrophicIllnessName.enableWhen.answer_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"font-style: italic\"/><span style=\"opacity: 0.5; font-style: italic\">1</span><span style=\"opacity: 0.5; font-style: italic\">..</span><span style=\"opacity: 0.5; font-style: italic\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#decimal\">decimal</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#integer\">integer</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#date\">date</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#dateTime\">dateTime</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#time\">time</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#Coding\">Coding</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/datatypes.html#Quantity\">Quantity</a><span style=\"opacity: 0.5; font-style: italic\">, </span><a style=\"font-style: italic; font-style: italic\" href=\"http://hl7.org/fhir/R4/references.html\">Reference</a><span style=\"font-style: italic\">(</span><a style=\"opacity: 0.5; font-style: italic; opacity: 0.5; font-style: italic\" href=\"http://hl7.org/fhir/R4/resource.html\">Resource</a><span style=\"font-style: italic\">)</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5; font-style: italic\">Value for question comparison based on operator</span><br style=\"font-style: italic\"/><span style=\"font-weight:bold; font-style: italic\">Slice: </span><span style=\"font-style: italic\">Unordered, Open by type:$this</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck03403.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_vline_slicer.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_slice.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Definition\" class=\"hierarchy\"/> Slices for answer[x]<a name=\"Questionnaire.item.enableWhen.answer_x_\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">Content/Rules for all slices</td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck034024.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:catastrophicIllnessName.enableWhen.answer[x]:answerBoolean\" title=\"Slice answerBoolean\">answer[x]:answerBoolean</a><a name=\"Questionnaire.item:catastrophicIllnessName.enableWhen.answer_x_:answerBoolean\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Value for question comparison based on operator</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">true</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck035.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusLevel\" title=\"Slice healthStatusLevel\">item:healthStatusLevel</a><a name=\"Questionnaire.item:healthStatusLevel\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Questions and sections within the Questionnaire</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusLevel.linkId\">linkId</a><a name=\"Questionnaire.item:healthStatusLevel.linkId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unique id for item in questionnaire</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.3</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusLevel.type\">type</a><a name=\"Questionnaire.item:healthStatusLevel.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">group | display | boolean | decimal | integer | date | dateTime +</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">choice</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0340.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusLevel.answerValueSet\">answerValueSet</a><a name=\"Questionnaire.item:healthStatusLevel.answerValueSet\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">canonical</a>(<a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/valueset.html\">ValueSet</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Valueset containing permitted answers</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">https://sfaa.gov.tw/base/ValueSet/twss-health-status-level-vs</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck035.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusOption\" title=\"Slice healthStatusOption\">item:healthStatusOption</a><a name=\"Questionnaire.item:healthStatusOption\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Questions and sections within the Questionnaire</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusOption.linkId\">linkId</a><a name=\"Questionnaire.item:healthStatusOption.linkId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unique id for item in questionnaire</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.4</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusOption.type\">type</a><a name=\"Questionnaire.item:healthStatusOption.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">group | display | boolean | decimal | integer | date | dateTime +</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">choice</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusOption.repeats\">repeats</a><a name=\"Questionnaire.item:healthStatusOption.repeats\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Whether the item may repeat</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">true</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0340.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:healthStatusOption.answerValueSet\">answerValueSet</a><a name=\"Questionnaire.item:healthStatusOption.answerValueSet\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">canonical</a>(<a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/valueset.html\">ValueSet</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Valueset containing permitted answers</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">https://sfaa.gov.tw/base/ValueSet/twss-health-status-option-vs</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck035.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:diseaseType\" title=\"Slice diseaseType\">item:diseaseType</a><a name=\"Questionnaire.item:diseaseType\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Questions and sections within the Questionnaire</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:diseaseType.linkId\">linkId</a><a name=\"Questionnaire.item:diseaseType.linkId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unique id for item in questionnaire</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.5</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:diseaseType.type\">type</a><a name=\"Questionnaire.item:diseaseType.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">group | display | boolean | decimal | integer | date | dateTime +</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">choice</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:diseaseType.repeats\">repeats</a><a name=\"Questionnaire.item:diseaseType.repeats\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">0</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Whether the item may repeat</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">true</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0340.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:diseaseType.answerValueSet\">answerValueSet</a><a name=\"Questionnaire.item:diseaseType.answerValueSet\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a href=\"http://hl7.org/fhir/R4/references.html\">canonical</a>(<a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/valueset.html\">ValueSet</a>)</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Valueset containing permitted answers</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">https://sfaa.gov.tw/base/ValueSet/twss-disease-type-vs</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck035.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:icd\" title=\"Slice icd\">item:icd</a><a name=\"Questionnaire.item:icd\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Questions and sections within the Questionnaire</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:icd.linkId\">linkId</a><a name=\"Questionnaire.item:icd.linkId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unique id for item in questionnaire</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.6</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0350.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:icd.type\">type</a><a name=\"Questionnaire.item:icd.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">group | display | boolean | decimal | integer | date | dateTime +</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">choice</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0340.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_vline_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:icd.repeats\">repeats</a><a name=\"Questionnaire.item:icd.repeats\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#boolean\">boolean</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Whether the item may repeat</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">true</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck025.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_slicer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_slice_item.png\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Slice Item\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:medicationStatus\" title=\"Slice medicationStatus\">item:medicationStatus</a><a name=\"Questionnaire.item:medicationStatus\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"padding-left: 3px; padding-right: 3px; color: white; background-color: #D50000\" title=\"This element must be supported\">S</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\">0..1</td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#BackboneElement\">BackboneElement</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Questions and sections within the Questionnaire</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: #F7F7F7\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0250.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: #F7F7F7; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:medicationStatus.linkId\">linkId</a><a name=\"Questionnaire.item:medicationStatus.linkId\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">1</span><span style=\"opacity: 0.5\">..</span><span style=\"opacity: 0.5\">1</span></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#string\">string</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: #F7F7F7; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">Unique id for item in questionnaire</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">6.7</span></td></tr>#xD;\n<tr style=\"border: 0px #F0F0F0 solid; padding:0px; vertical-align: top; background-color: white\"><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px; white-space: nowrap; background-image: url(tbl_bck0240.png)\" class=\"hierarchy\"><img src=\"tbl_spacer.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_blank.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"tbl_vjoin_end_slice.png\" alt=\".\" style=\"background-color: inherit\" class=\"hierarchy\"/><img src=\"icon_element.gif\" alt=\".\" style=\"background-color: white; background-color: inherit\" title=\"Element\" class=\"hierarchy\"/> <a href=\"StructureDefinition-Questionnaire-health-disease-status-twss-base-definitions.html#Questionnaire.item:medicationStatus.type\">type</a><a name=\"Questionnaire.item:medicationStatus.type\"> </a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"/><td style=\"vertical-align: top; text-align : var(--ig-left,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 : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><a style=\"opacity: 0.5; opacity: 0.5\" href=\"http://hl7.org/fhir/R4/datatypes.html#code\">code</a></td><td style=\"vertical-align: top; text-align : var(--ig-left,left); background-color: white; border: 0px #F0F0F0 solid; padding:0px 4px 0px 4px\" class=\"hierarchy\"><span style=\"opacity: 0.5\">group | display | boolean | decimal | integer | date | dateTime +</span><br/><span style=\"font-weight:bold\">Required Pattern: </span><span style=\"color: darkgreen\">text</span></td></tr>#xD;\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>" ] ; fhir:StructureDefinition.url [ fhir:value "https://sfaa.gov.tw/base/StructureDefinition/Questionnaire-health-disease-status-twss-base"] ; fhir:StructureDefinition.version [ fhir:value "0.0.1"] ; fhir:StructureDefinition.name [ fhir:value "QuestionnaireHealthDiseaseStatusTWSSBase"] ; fhir:StructureDefinition.title [ fhir:value "健康與疾病狀況-Questionnaire TWSS Base"] ; fhir:StructureDefinition.status [ fhir:value "draft"] ; fhir:StructureDefinition.date [ fhir:value "2026-08-10T08:34:13+00:00"^^xsd:dateTime] ; fhir:StructureDefinition.publisher [ fhir:value "衛生福利部社會及家庭署"] ; fhir:StructureDefinition.contact [ fhir:index 0 ; fhir:ContactDetail.name [ fhir:value "衛生福利部社會及家庭署" ] ; fhir:ContactDetail.telecom [ fhir:index 0 ; fhir:ContactPoint.system [ fhir:value "url" ] ; fhir:ContactPoint.value [ fhir:value "https://www.twss.gov.tw/" ] ] ] ; fhir:StructureDefinition.description [ fhir:value "定義健康與疾病狀況評估表單的題目結構。"] ; fhir:StructureDefinition.fhirVersion [ fhir:value "4.0.1"] ; fhir:StructureDefinition.mapping [ fhir:index 0 ; fhir:StructureDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/workflow" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "Workflow Pattern" ] ], [ fhir:index 1 ; fhir:StructureDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v3" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "RIM Mapping" ] ], [ fhir:index 2 ; fhir:StructureDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/fivews" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "FiveWs Pattern Mapping" ] ], [ fhir:index 3 ; fhir:StructureDefinition.mapping.identity [ fhir:value "objimpl" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/fhir/object-implementation" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "Object Implementation Information" ] ], [ fhir:index 4 ; fhir:StructureDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:StructureDefinition.mapping.uri [ fhir:value "http://hl7.org/v2" ] ; fhir:StructureDefinition.mapping.name [ fhir:value "HL7 v2 Mapping" ] ] ; fhir:StructureDefinition.kind [ fhir:value "resource"] ; fhir:StructureDefinition.abstract [ fhir:value "false"^^xsd:boolean] ; fhir:StructureDefinition.type [ fhir:value "Questionnaire"] ; fhir:StructureDefinition.baseDefinition [ fhir:value "https://sfaa.gov.tw/base/StructureDefinition/Questionnaire-twss-base" ; fhir:link <https://sfaa.gov.tw/base/StructureDefinition/Questionnaire-twss-base> ] ; fhir:StructureDefinition.derivation [ fhir:value "constraint"] ; fhir:StructureDefinition.snapshot [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/tools/StructureDefinition/snapshot-base-version" ] ; fhir:Extension.valueString [ fhir:value "0.0.1" ] ] ; fhir:StructureDefinition.snapshot.element [ fhir:index 0 ; fhir:Element.id [ fhir:value "Questionnaire" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire" ] ; fhir:ElementDefinition.short [ fhir:value "A structured set of questions" ] ; fhir:ElementDefinition.definition [ fhir:value "A structured set of questions intended to guide the collection of answers from end-users. Questionnaires provide detailed control over order, presentation, phraseology and grouping to allow coherent, consistent data collection." ] ; fhir:ElementDefinition.alias [ fhir:value "Form" ; fhir:index 0 ], [ fhir:value "CRF" ; fhir:index 1 ], [ fhir:value "Survey" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-2" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the resource is contained in another resource, it SHALL NOT contain nested Resources" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.contained.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(parent::f:contained and f:contained)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "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" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "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()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "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='#'])]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a meta.versionId or a meta.lastUpdated" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.versionId.empty() and contained.meta.lastUpdated.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:versionId)) and not(exists(f:contained/*/f:meta/f:lastUpdated))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If a resource is contained in another resource, it SHALL NOT have a security label" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "contained.meta.security.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:contained/*/f:meta/f:security))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 4 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice" ] ; fhir:Extension.valueBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bestpractice-explanation" ] ; fhir:Extension.valueMarkdown [ fhir:value "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." ] ] ; fhir:ElementDefinition.constraint.key [ fhir:value "dom-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A resource should have narrative for robust management" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "text.`div`.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:text/h:div)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/DomainResource" ; fhir:link <http://hl7.org/fhir/StructureDefinition/DomainResource> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-0" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "warning" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Name should be usable as an identifier for the module by machine processing applications such as code generation" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "name.matches('[A-Z]([A-Za-z0-9_]){0,254}')" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(exists(f:name/@value)) or matches(f:name/@value, '[A-Z]([A-Za-z0-9_]){0,254}')" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-2" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "The link ids for groups and questions must be unique within the questionnaire" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "descendants().linkId.isDistinct()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "count(descendant::f:linkId/@value)=count(distinct-values(descendant::f:linkId/@value))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Entity. Role, or Act" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Observation[moodCode=DEF]" ] ] ], [ fhir:index 1 ; fhir:Element.id [ fhir:value "Questionnaire.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.id" ] ; fhir:ElementDefinition.short [ fhir:value "Logical id of this artifact" ] ; fhir:ElementDefinition.definition [ fhir:value "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes." ] ; fhir:ElementDefinition.comment [ fhir:value "The only time that a resource does not have an id is when it is being submitted to the server using a create operation." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "id" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 2 ; fhir:Element.id [ fhir:value "Questionnaire.meta" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.meta" ] ; fhir:ElementDefinition.short [ fhir:value "Metadata about the resource" ] ; fhir:ElementDefinition.definition [ fhir:value "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.meta" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Meta" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3 ; fhir:Element.id [ fhir:value "Questionnaire.implicitRules" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.implicitRules" ] ; fhir:ElementDefinition.short [ fhir:value "A set of rules under which this content was created" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc." ] ; fhir:ElementDefinition.comment [ fhir:value "Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of it's narrative along with other profiles, value sets, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.implicitRules" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "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" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 4 ; fhir:Element.id [ fhir:value "Questionnaire.language" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.language" ] ; fhir:ElementDefinition.short [ fhir:value "Language of the resource content" ] ; fhir:ElementDefinition.definition [ fhir:value "The base language in which the resource is written." ] ; fhir:ElementDefinition.comment [ fhir:value "Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Resource.language" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-maxValueSet" ] ; fhir:Extension.valueCanonical [ fhir:value "http://hl7.org/fhir/ValueSet/all-languages" ; fhir:link <http://hl7.org/fhir/ValueSet/all-languages> ] ], [ fhir:index 1 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "Language" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "preferred" ] ; fhir:ElementDefinition.binding.description [ fhir:value "A human language." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/languages|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/languages|4.0.1> ] ] ], [ fhir:index 5 ; fhir:Element.id [ fhir:value "Questionnaire.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.text" ] ; fhir:ElementDefinition.short [ fhir:value "Text summary of the resource, for human interpretation" ] ; fhir:ElementDefinition.definition [ fhir:value "A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety." ] ; fhir:ElementDefinition.comment [ fhir:value "Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied). This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later." ] ; fhir:ElementDefinition.alias [ fhir:value "narrative" ; fhir:index 0 ], [ fhir:value "html" ; fhir:index 1 ], [ fhir:value "xhtml" ; fhir:index 2 ], [ fhir:value "display" ; fhir:index 3 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Narrative" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Act.text?" ] ] ], [ fhir:index 6 ; fhir:Element.id [ fhir:value "Questionnaire.contained" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.contained" ] ; fhir:ElementDefinition.short [ fhir:value "Contained, inline Resources" ] ; fhir:ElementDefinition.definition [ fhir:value "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope." ] ; fhir:ElementDefinition.comment [ fhir:value "This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags In their meta elements, but SHALL NOT have security labels." ] ; fhir:ElementDefinition.alias [ fhir:value "inline resources" ; fhir:index 0 ], [ fhir:value "anonymous resources" ; fhir:index 1 ], [ fhir:value "contained resources" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.contained" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Resource" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 7 ; fhir:Element.id [ fhir:value "Questionnaire.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource. 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." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 8 ; fhir:Element.id [ fhir:value "Questionnaire.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "DomainResource.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the resource that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 9 ; fhir:Element.id [ fhir:value "Questionnaire.url" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.url" ] ; fhir:ElementDefinition.short [ fhir:value "Canonical identifier for this questionnaire, represented as a URI (globally unique)" ] ; fhir:ElementDefinition.definition [ fhir:value "An absolute URI that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance; also called its canonical identifier. This SHOULD be globally unique and SHOULD be a literal address at which at which an authoritative instance of this questionnaire is (or will be) published. This URL can be the target of a canonical reference. It SHALL remain the same when the questionnaire is stored on different servers." ] ; fhir:ElementDefinition.comment [ fhir:value "The name of the referenced questionnaire can be conveyed using the http://hl7.org/fhir/StructureDefinition/display extension." ] ; fhir:ElementDefinition.requirements [ fhir:value "… This is the id that will be used to link a QuestionnaireResponse to the Questionnaire the response is for." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.url" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.url" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".identifier[scope=BUSN;reliability=ISS]" ] ] ], [ fhir:index 10 ; fhir:Element.id [ fhir:value "Questionnaire.identifier" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.identifier" ] ; fhir:ElementDefinition.short [ fhir:value "Additional identifier for the questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A formal identifier that is used to identify this questionnaire when it is represented in other formats, or referenced in a specification, model, design or an instance." ] ; fhir:ElementDefinition.comment [ fhir:value "Typically, this is used for identifiers that can go in an HL7 V3 II (instance identifier) data type, and can then identify this questionnaire outside of FHIR, where it is not possible to use the logical URI." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows externally provided and/or usable business identifiers to be easily associated with the module." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.identifier" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Identifier" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.identifier" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.identifier" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".identifier" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "objimpl" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no-gen-base" ] ] ], [ fhir:index 11 ; fhir:Element.id [ fhir:value "Questionnaire.version" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.version" ] ; fhir:ElementDefinition.short [ fhir:value "Business version of the questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "The identifier that is used to identify this version of the questionnaire when it is referenced in a specification, model, design or instance. This is an arbitrary value managed by the questionnaire author and is not expected to be globally unique. For example, it might be a timestamp (e.g. yyyymmdd) if a managed version is not available. There is also no expectation that versions can be placed in a lexicographical sequence." ] ; fhir:ElementDefinition.comment [ fhir:value "There may be different questionnaire instances that have the same identifier but different versions. The version can be appended to the url in a reference to allow a reference to a particular business version of the questionnaire with the format [url]|[version]." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.version" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.version" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.version" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A (to add?)" ] ] ], [ fhir:index 12 ; fhir:Element.id [ fhir:value "Questionnaire.name" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.name" ] ; fhir:ElementDefinition.short [ fhir:value "Name for this questionnaire (computer friendly)" ] ; fhir:ElementDefinition.definition [ fhir:value "A natural language name identifying the questionnaire. This name should be usable as an identifier for the module by machine processing applications such as code generation." ] ; fhir:ElementDefinition.comment [ fhir:value "The name is not expected to be globally unique. The name should be a simple alphanumeric type name to ensure that it is machine-processing friendly." ] ; fhir:ElementDefinition.requirements [ fhir:value "Support human navigation and code generation." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.name" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.condition [ fhir:value "inv-0" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 13 ; fhir:Element.id [ fhir:value "Questionnaire.title" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.title" ] ; fhir:ElementDefinition.short [ fhir:value "Name for this questionnaire (human friendly)" ] ; fhir:ElementDefinition.definition [ fhir:value "A short, descriptive, user-friendly title for the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "This name does not need to be machine-processing friendly and may contain punctuation, white-space, etc." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.title" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.title" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".title" ] ] ], [ fhir:index 14 ; fhir:Element.id [ fhir:value "Questionnaire.derivedFrom" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.derivedFrom" ] ; fhir:ElementDefinition.short [ fhir:value "Instantiates protocol or definition" ] ; fhir:ElementDefinition.definition [ fhir:value "The URL of a Questionnaire that this Questionnaire is based on." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows a Questionnaire to be created based on another Questionnaire." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.derivedFrom" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.derivedFrom" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=DRIV].target[classCode=OBS, moodCode=DEFN]" ] ] ], [ fhir:index 15 ; fhir:Element.id [ fhir:value "Questionnaire.status" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.status" ] ; fhir:ElementDefinition.short [ fhir:value "draft | active | retired | unknown" ] ; fhir:ElementDefinition.definition [ fhir:value "The status of this questionnaire. Enables tracking the life-cycle of the content." ] ; fhir:ElementDefinition.comment [ fhir:value "Allows filtering of questionnaires that are appropriate for use versus not." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.status" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "This is labeled as \"Is Modifier\" because applications should not use a retired {{title}} without due consideration" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "PublicationStatus" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The lifecycle status of an artifact." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/publication-status|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/publication-status|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.status" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.status" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".status" ] ] ], [ fhir:index 16 ; fhir:Element.id [ fhir:value "Questionnaire.experimental" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.experimental" ] ; fhir:ElementDefinition.short [ fhir:value "For testing purposes, not real usage" ] ; fhir:ElementDefinition.definition [ fhir:value "A Boolean value to indicate that this questionnaire is authored for testing purposes (or education/evaluation/marketing) and is not intended to be used for genuine usage." ] ; fhir:ElementDefinition.comment [ fhir:value "Allows filtering of questionnaires that are appropriate for use versus not." ] ; fhir:ElementDefinition.requirements [ fhir:value "Enables experimental content to be developed following the same lifecycle that would be used for a production-level questionnaire." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.experimental" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.experimental" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.class" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 17 ; fhir:Element.id [ fhir:value "Questionnaire.subjectType" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.subjectType" ] ; fhir:ElementDefinition.short [ fhir:value "Resource that can be subject of QuestionnaireResponse" ] ; fhir:ElementDefinition.definition [ fhir:value "The types of subjects that can be the subject of responses created for the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "If none are specified, then the subject is unlimited." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.subjectType" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "Patient" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "ResourceType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "One of the resource types defined as part of this version of FHIR." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/resource-types|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/resource-types|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.subject[x]" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=META].target[classCode=OBS, moodCode=DEFN, isCriterion=true].participation.role.classCode" ] ] ], [ fhir:index 18 ; fhir:Element.id [ fhir:value "Questionnaire.date" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.date" ] ; fhir:ElementDefinition.short [ fhir:value "Date last changed" ] ; fhir:ElementDefinition.definition [ fhir:value "The date (and optionally time) when the questionnaire was published. The date must change when the business version changes and it must change if the status code changes. In addition, it should change when the substantive content of the questionnaire changes." ] ; fhir:ElementDefinition.comment [ fhir:value "Note that this is not the same as the resource last-modified-date, since the resource may be a secondary representation of the questionnaire. Additional specific dates may be added as extensions or be found by consulting Provenances associated with past versions of the resource." ] ; fhir:ElementDefinition.alias [ fhir:value "Revision Date" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.date" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.date" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.recorded" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].time" ] ] ], [ fhir:index 19 ; fhir:Element.id [ fhir:value "Questionnaire.publisher" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.publisher" ] ; fhir:ElementDefinition.short [ fhir:value "Name of the publisher (organization or individual)" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of the organization or individual that published the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Usually an organization but may be an individual. The publisher (or steward) of the questionnaire is the organization or individual primarily responsible for the maintenance and upkeep of the questionnaire. This is not necessarily the same individual or organization that developed and initially authored the content. The publisher is the primary point of contact for questions or issues with the questionnaire. This item SHOULD be populated unless the information is available from context." ] ; fhir:ElementDefinition.requirements [ fhir:value "Helps establish the \"authority/credibility\" of the questionnaire. May also allow for contact." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.publisher" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.publisher" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.witness" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=AUT].role" ] ] ], [ fhir:index 20 ; fhir:Element.id [ fhir:value "Questionnaire.contact" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.contact" ] ; fhir:ElementDefinition.short [ fhir:value "Contact details for the publisher" ] ; fhir:ElementDefinition.definition [ fhir:value "Contact details to assist a user in finding and communicating with the publisher." ] ; fhir:ElementDefinition.comment [ fhir:value "May be a web site, an email address, a telephone number, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.contact" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "ContactDetail" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.contact" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".participation[typeCode=CALLBCK].role" ] ] ], [ fhir:index 21 ; fhir:Element.id [ fhir:value "Questionnaire.description" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.description" ] ; fhir:ElementDefinition.short [ fhir:value "Natural language description of the questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A free text natural language description of the questionnaire from a consumer's perspective." ] ; fhir:ElementDefinition.comment [ fhir:value "This description can be used to capture details such as why the questionnaire was built, comments about misuse, instructions for clinical use and interpretation, literature references, examples from the paper world, etc. It is not a rendering of the questionnaire as conveyed in the 'text' field of the resource itself. This item SHOULD be populated unless the information is available from context (e.g. the language of the questionnaire is presumed to be the predominant language in the place the questionnaire was created)." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.description" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "markdown" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.description" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 22 ; fhir:Element.id [ fhir:value "Questionnaire.useContext" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.useContext" ] ; fhir:ElementDefinition.short [ fhir:value "The context that the content is intended to support" ] ; fhir:ElementDefinition.definition [ fhir:value "The content was developed with a focus and intent of supporting the contexts that are listed. These contexts may be general categories (gender, age, ...) or may be references to specific programs (insurance plans, studies, ...) and may be used to assist with indexing and searching for appropriate questionnaire instances." ] ; fhir:ElementDefinition.comment [ fhir:value "When multiple useContexts are specified, there is no expectation that all or any of the contexts apply." ] ; fhir:ElementDefinition.requirements [ fhir:value "Assist in searching for appropriate content." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.useContext" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "UsageContext" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.useContext" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A (to add?)" ] ] ], [ fhir:index 23 ; fhir:Element.id [ fhir:value "Questionnaire.jurisdiction" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.jurisdiction" ] ; fhir:ElementDefinition.short [ fhir:value "Intended jurisdiction for questionnaire (if applicable)" ] ; fhir:ElementDefinition.definition [ fhir:value "A legal or geographic region in which the questionnaire is intended to be used." ] ; fhir:ElementDefinition.comment [ fhir:value "It may be possible for the questionnaire to be used in jurisdictions other than those for which it was originally designed or intended." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.jurisdiction" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "CodeableConcept" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "Jurisdiction" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "extensible" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Countries and regions within which this artifact is targeted for use." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/jurisdiction|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/jurisdiction|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.jurisdiction" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A (to add?)" ] ] ], [ fhir:index 24 ; fhir:Element.id [ fhir:value "Questionnaire.purpose" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.purpose" ] ; fhir:ElementDefinition.short [ fhir:value "Why this questionnaire is defined" ] ; fhir:ElementDefinition.definition [ fhir:value "Explanation of why this questionnaire is needed and why it has been designed as it has." ] ; fhir:ElementDefinition.comment [ fhir:value "This element does not describe the usage of the questionnaire. Instead, it provides traceability of ''why'' the resource is either needed or ''why'' it is defined as it is. This may be used to point to source materials or specifications that drove the structure of this questionnaire." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.purpose" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "markdown" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.purpose" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "w5" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "FiveWs.why[x]" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".reasonCode.text" ] ], [ fhir:index 3 ; fhir:ElementDefinition.mapping.identity [ fhir:value "objimpl" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no-gen-base" ] ] ], [ fhir:index 25 ; fhir:Element.id [ fhir:value "Questionnaire.copyright" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.copyright" ] ; fhir:ElementDefinition.short [ fhir:value "Use and/or publishing restrictions" ] ; fhir:ElementDefinition.definition [ fhir:value "A copyright statement relating to the questionnaire and/or its contents. Copyright statements are generally legal restrictions on the use and publishing of the questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Consumers must be able to determine any legal restrictions on the use of the questionnaire and/or its content." ] ; fhir:ElementDefinition.alias [ fhir:value "License" ; fhir:index 0 ], [ fhir:value "Restrictions" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.copyright" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "markdown" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.copyright" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A (to add?)" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "objimpl" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no-gen-base" ] ] ], [ fhir:index 26 ; fhir:Element.id [ fhir:value "Questionnaire.approvalDate" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.approvalDate" ] ; fhir:ElementDefinition.short [ fhir:value "When the questionnaire was approved by publisher" ] ; fhir:ElementDefinition.definition [ fhir:value "The date on which the resource content was approved by the publisher. Approval happens once when the content is officially approved for usage." ] ; fhir:ElementDefinition.comment [ fhir:value "The 'date' element may be more recent than the approval date because of minor changes or editorial corrections." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.approvalDate" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.approvalDate" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=\"SUBJ\"].act[classCode=CACT;moodCode=EVN;code=\"approval\"].effectiveTime" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "objimpl" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no-gen-base" ] ] ], [ fhir:index 27 ; fhir:Element.id [ fhir:value "Questionnaire.lastReviewDate" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.lastReviewDate" ] ; fhir:ElementDefinition.short [ fhir:value "When the questionnaire was last reviewed" ] ; fhir:ElementDefinition.definition [ fhir:value "The date on which the resource content was last reviewed. Review happens periodically after approval but does not change the original approval date." ] ; fhir:ElementDefinition.comment [ fhir:value "If specified, this date follows the original approval date." ] ; fhir:ElementDefinition.requirements [ fhir:value "Gives a sense of how \"current\" the content is. Resources that have not been reviewed in a long time may have a risk of being less appropriate/relevant." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.lastReviewDate" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.lastReviewDate" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=\"SUBJ\"; subsetCode=\"RECENT\"].act[classCode=CACT;moodCode=EVN;code=\"review\"].effectiveTime" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "objimpl" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no-gen-base" ] ] ], [ fhir:index 28 ; fhir:Element.id [ fhir:value "Questionnaire.effectivePeriod" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.effectivePeriod" ] ; fhir:ElementDefinition.short [ fhir:value "When the questionnaire is expected to be used" ] ; fhir:ElementDefinition.definition [ fhir:value "The period during which the questionnaire content was or is planned to be in active use." ] ; fhir:ElementDefinition.comment [ fhir:value "The effective period for a questionnaire determines when the content is applicable for usage and is independent of publication and review dates. For example, a measure intended to be used for the year 2016 might be published in 2015." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows establishing a transition before a resource comes into effect and also allows for a sunsetting process when new versions of the questionnaire are or are expected to be used instead." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.effectivePeriod" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Period" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "workflow" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Definition.effectivePeriod" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A (to add?)" ] ], [ fhir:index 2 ; fhir:ElementDefinition.mapping.identity [ fhir:value "objimpl" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "no-gen-base" ] ] ], [ fhir:index 29 ; fhir:Element.id [ fhir:value "Questionnaire.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.code" ] ; fhir:ElementDefinition.short [ fhir:value "Concept that represents the overall questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier for this question or group of questions in a particular terminology such as LOINC." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of the complete Questionnaire resources to formal terminologies. It's common for \"panels\" of questions to be identified by a code." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 30 ; fhir:Element.id [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "linkId" ] ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "closed" ] ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 31 ; fhir:Element.id [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 32 ; fhir:Element.id [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 33 ; fhir:Element.id [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 34 ; fhir:Element.id [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 35 ; fhir:Element.id [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 36 ; fhir:Element.id [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 37 ; fhir:Element.id [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 38 ; fhir:Element.id [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 39 ; fhir:Element.id [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 40 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 41 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 42 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 43 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 44 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 45 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 46 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 47 ; fhir:Element.id [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 48 ; fhir:Element.id [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 49 ; fhir:Element.id [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 50 ; fhir:Element.id [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 51 ; fhir:Element.id [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 52 ; fhir:Element.id [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 53 ; fhir:Element.id [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 54 ; fhir:Element.id [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 55 ; fhir:Element.id [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 56 ; fhir:Element.id [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 57 ; fhir:Element.id [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 58 ; fhir:Element.id [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 59 ; fhir:Element.id [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 60 ; fhir:Element.id [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 61 ; fhir:Element.id [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 62 ; fhir:Element.id [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 63 ; fhir:Element.id [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 64 ; fhir:Element.id [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ], [ fhir:index 65 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "hasCatastrophicIllnessCard" ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 66 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 67 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 68 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 69 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.1" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 70 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 71 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 72 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 73 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 74 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "boolean" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 75 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 76 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 77 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 78 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 79 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 80 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 81 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 82 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 83 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 84 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 85 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 86 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 87 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 88 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 89 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 90 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 91 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 92 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 93 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 94 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 95 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 96 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 97 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 98 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 99 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ], [ fhir:index 100 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "catastrophicIllnessName" ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 101 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 102 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 103 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 104 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.2" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 105 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 106 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 107 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 108 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 109 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "string" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 110 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 111 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 112 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 113 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 114 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.1" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 115 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "=" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 116 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ] ] ; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 117 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.answer[x]:answerBoolean" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.sliceName [ fhir:value "answerBoolean" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 118 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 119 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 120 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 121 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 122 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 123 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 124 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 125 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 126 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 127 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 128 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 129 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 130 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 131 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 132 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 133 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 134 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 135 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ], [ fhir:index 136 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "healthStatusLevel" ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 137 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 138 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 139 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 140 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.3" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 141 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 142 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 143 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 144 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 145 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 146 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 147 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 148 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 149 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 150 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 151 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 152 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 153 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 154 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 155 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 156 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 157 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 158 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.patternCanonical [ fhir:value "https://sfaa.gov.tw/base/ValueSet/twss-health-status-level-vs" ; fhir:link <https://sfaa.gov.tw/base/ValueSet/twss-health-status-level-vs> ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 159 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 160 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 161 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 162 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 163 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 164 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 165 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 166 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 167 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 168 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 169 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 170 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ], [ fhir:index 171 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "healthStatusOption" ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 172 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 173 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 174 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 175 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.4" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 176 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 177 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 178 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 179 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 180 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 181 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 182 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 183 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 184 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 185 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 186 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 187 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 188 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 189 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 190 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 191 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 192 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 193 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.patternCanonical [ fhir:value "https://sfaa.gov.tw/base/ValueSet/twss-health-status-option-vs" ; fhir:link <https://sfaa.gov.tw/base/ValueSet/twss-health-status-option-vs> ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 194 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 195 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 196 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 197 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 198 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 199 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 200 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 201 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 202 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 203 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 204 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 205 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ], [ fhir:index 206 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "diseaseType" ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 207 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 208 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 209 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 210 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.5" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 211 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 212 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 213 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 214 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 215 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 216 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 217 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 218 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 219 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 220 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 221 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 222 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 223 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 224 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 225 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 226 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 227 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 228 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.patternCanonical [ fhir:value "https://sfaa.gov.tw/base/ValueSet/twss-disease-type-vs" ; fhir:link <https://sfaa.gov.tw/base/ValueSet/twss-disease-type-vs> ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 229 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 230 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 231 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 232 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 233 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 234 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 235 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 236 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 237 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 238 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 239 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 240 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ], [ fhir:index 241 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "icd" ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 242 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 243 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 244 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 245 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.6" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 246 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 247 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 248 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 249 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 250 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 251 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 252 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 253 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 254 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 255 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 256 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 257 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 258 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 259 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 260 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 261 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 262 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 263 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 264 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 265 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 266 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 267 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 268 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 269 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 270 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 271 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 272 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 273 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 274 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 275 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ], [ fhir:index 276 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "medicationStatus" ] ; fhir:ElementDefinition.short [ fhir:value "Questions and sections within the Questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "A particular question, question grouping or display text that is part of the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The content of the questionnaire is constructed from an ordered, hierarchical collection of items." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Group items must have nested items, display items cannot have nested items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type='group' implies item.empty().not()) and (type.trace('type')='display' implies item.trace('item').empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not((f:type/@value='group' and not(f:item)) or (f:type/@value='display' and f:item))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 2 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-3" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Display items cannot have a \"code\" asserted" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or code.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and f:code)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 3 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-4" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "A question cannot have both answerOption and answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or answerValueSet.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerValueSet and f:answerOption)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 4 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-5" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Only 'choice' and 'open-choice' items can have answerValueSet" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type ='choice' or type = 'open-choice' or type = 'decimal' or type = 'integer' or type = 'date' or type = 'dateTime' or type = 'time' or type = 'string' or type = 'quantity') or (answerValueSet.empty() and answerOption.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('choice','open-choice','decimal','integer','date','dateTime','time','string','quantity',') or not(f:answerOption or f:answerValueSet)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 5 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-6" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Required and repeat aren't permitted for display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or (required.empty() and repeats.empty())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value='display' and (f:required or f:repeats))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 6 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-8" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Initial values can't be specified for groups or display items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type!='group' and type!='display') or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 7 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-9" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Read-only can't be specified for \"display\" items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "type!='display' or readOnly.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:type/@value=('group', 'display') and f:*[starts-with(local-name(.), 'initial')])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 8 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-10" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Maximum length can only be declared for simple question types" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "(type in ('boolean' | 'decimal' | 'integer' | 'string' | 'text' | 'url' | 'open-choice')) or maxLength.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:type/@value=('boolean', 'decimal', 'integer', 'open-choice', 'string', 'text', 'url') or not(f:maxLength)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 9 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-11" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If one or more answerOption is present, initial[x] must be missing" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "answerOption.empty() or initial.empty()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 10 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-12" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If there are more than one enableWhen, enableBehavior must be specified" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "enableWhen.count() > 2 implies enableBehavior.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "not(f:answerOption) or not(count(f:*[starts-with(local-name(.), 'initial')]))" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ], [ fhir:index 11 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-13" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Can only have multiple initial values for repeating items" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "repeats=true or initial.count() <= 1" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:repeats/@value='true' or count(f:initial)<=1" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 277 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 278 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 279 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 280 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for item in questionnaire" ] ; fhir:ElementDefinition.definition [ fhir:value "An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource." ] ; fhir:ElementDefinition.comment [ fhir:value "This ''can'' be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning. GUIDs or sequential numbers are appropriate here." ] ; fhir:ElementDefinition.requirements [ fhir:value "[QuestionnaireResponse](http://hl7.org/fhir/R4/questionnaireresponse.html#) does not require omitted items to be included and may have some items that repeat, so linkage based on position alone is not sufficient." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.patternString [ fhir:value "6.7" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".id" ] ] ], [ fhir:index 281 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.definition" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.short [ fhir:value "ElementDefinition - details for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "This element is a URI that refers to an [ElementDefinition](http://hl7.org/fhir/R4/elementdefinition.html) that provides information about this item, including information that might otherwise be included in the instance of the Questionnaire resource. A detailed description of the construction of the URI is shown in Comments, below. If this element is present then the following element values MAY be derived from the Element Definition if the corresponding elements of this Questionnaire resource instance have no value:\n\n* code (ElementDefinition.code) \n* type (ElementDefinition.type) \n* required (ElementDefinition.min) \n* repeats (ElementDefinition.max) \n* maxLength (ElementDefinition.maxLength) \n* answerValueSet (ElementDefinition.binding)\n* options (ElementDefinition.binding)." ] ; fhir:ElementDefinition.comment [ fhir:value "The uri refers to an ElementDefinition in a [StructureDefinition](http://hl7.org/fhir/R4/structuredefinition.html#) and always starts with the [canonical URL](http://hl7.org/fhir/R4/references.html#canonical) for the target resource. When referring to a StructureDefinition, a fragment identifier is used to specify the element definition by its id [Element.id](http://hl7.org/fhir/R4/element-definitions.html#Element.id). E.g. http://hl7.org/fhir/StructureDefinition/Observation#Observation.value[x]. In the absence of a fragment identifier, the first/root element definition in the target is the matching element definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "A common pattern is to define a set of data elements and then build multiple questionnaires for different circumstances to gather the data. This element provides traceability to the common definition and allows the content for the question to come from the underlying definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.definition" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=INST].target[classCode=OBS, moodCode=DEF]" ] ] ], [ fhir:index 282 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.code" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.short [ fhir:value "Corresponding concept for this item in a terminology" ] ; fhir:ElementDefinition.definition [ fhir:value "A terminology code that corresponds to this group or question (e.g. a code from LOINC, which defines many questions and answers)." ] ; fhir:ElementDefinition.comment [ fhir:value "The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows linking of groups of questions to formal terminologies." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.code" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-3" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireConcept" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Codes for questionnaires, groups and individual questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-questions|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".code" ] ] ], [ fhir:index 283 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.prefix" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.short [ fhir:value "E.g. \"1(a)\", \"2.5.3\"" ] ; fhir:ElementDefinition.definition [ fhir:value "A short label for a particular group, question or set of display text within the questionnaire used for reference by the individual completing the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "These are generally unique within a questionnaire, though this is not guaranteed. Some questionnaires may have multiple questions with the same label with logic to control which gets exposed. Typically, these won't be used for \"display\" items, though such use is not prohibited. Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire." ] ; fhir:ElementDefinition.requirements [ fhir:value "Separating the label from the question text allows improved rendering. Also, instructions will often refer to specific prefixes, so there's a need for the questionnaire design to have control over what labels are used." ] ; fhir:ElementDefinition.alias [ fhir:value "label" ; fhir:index 0 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.prefix" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "Not supported" ] ] ], [ fhir:index 284 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.text" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.short [ fhir:value "Primary text for the item" ] ; fhir:ElementDefinition.definition [ fhir:value "The name of a section, the text of a question or text content for a display item." ] ; fhir:ElementDefinition.comment [ fhir:value "When using this element to represent the name of a section, use group type item and also make sure to limit the text element to a short string suitable for display as a section heading. Group item instructions should be included as a display type item within the group." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.text" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".text" ] ] ], [ fhir:index 285 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.short [ fhir:value "group | display | boolean | decimal | integer | date | dateTime +" ] ; fhir:ElementDefinition.definition [ fhir:value "The type of questionnaire item this is - whether text for display, a grouping of other items or a particular type of data to be captured (string, integer, coded choice, etc.)." ] ; fhir:ElementDefinition.comment [ fhir:value "Additional constraints on the type of answer can be conveyed by extensions. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Defines the format in which the user is to be prompted for the answer." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.patternCode [ fhir:value "text" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemType" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Distinguishes groups from questions and display text and indicates data type for questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/item-type|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/item-type|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 286 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableWhen" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.short [ fhir:value "Only allow data when" ] ; fhir:ElementDefinition.definition [ fhir:value "A constraint indicating that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple repetitions of this extension are present, the item should be enabled when the condition for *any* of the repetitions is true. I.e. treat \"enableWhen\"s as being joined by an \"or\" clause. This element is a modifier because if enableWhen is present for an item, \"required\" is ignored unless one of the enableWhen conditions is met. When an item is disabled, all of its descendants are disabled, regardless of what their own enableWhen logic might evaluate to." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows questionnaires to adapt based on answers to other questions. E.g. If physical gender is specified as a male, no need to capture pregnancy history. Also allows conditional display of instructions or groups of questions." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "que-7" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "If the operator is 'exists', the value must be a boolean" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "operator = 'exists' implies (answer is Boolean)" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "f:operator/@value != 'exists' or exists(f:answerBoolean)" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Questionnaire> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "If enableWhen is present and the condition evaluates to false, then the Questionnaire behaves as though the elements weren't actually present" ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 287 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableWhen.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 288 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableWhen.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 289 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 290 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.short [ fhir:value "Question that determines whether item is enabled" ] ; fhir:ElementDefinition.definition [ fhir:value "The linkId for the question whose answer (or lack of answer) governs whether this item is enabled." ] ; fhir:ElementDefinition.comment [ fhir:value "If multiple question occurrences are present for the same question (same linkId), then this refers to the nearest question occurrence reachable by tracing first the \"ancestor\" axis and then the \"preceding\" axis and then the \"following\" axis." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 291 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.short [ fhir:value "exists | = | != | > | < | >= | <=" ] ; fhir:ElementDefinition.definition [ fhir:value "Specifies the criteria by which the question is enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireItemOperator" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "The criteria by which a question is enabled." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-operator|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 292 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Value for question comparison based on operator" ] ; fhir:ElementDefinition.definition [ fhir:value "A value that the referenced question is tested using the specified operator in order for the item to be enabled." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-7" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption3" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 293 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.enableBehavior" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.short [ fhir:value "all | any" ] ; fhir:ElementDefinition.definition [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.comment [ fhir:value "This element must be specified if more than one enableWhen value is provided." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.enableBehavior" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "code" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-12" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "EnableWhenBehavior" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "required" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Controls how multiple enableWhen values are interpreted - whether all or any must be true." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-enable-behavior|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 294 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.required" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item must be included in data results" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item must be present in a \"completed\" QuestionnaireResponse. If false, the item may be skipped when answering the questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "Questionnaire.item.required only has meaning for elements that are conditionally enabled with enableWhen if the condition evaluates to true. If an item that contains other items is marked as required, that does not automatically make the contained elements required (though required groups must contain at least one child element). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.required" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to be required unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 295 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.short [ fhir:value "Whether the item may repeat" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, if true, that the item may occur multiple times in the response, collecting multiple answers for questions or multiple sets of answers for groups." ] ; fhir:ElementDefinition.comment [ fhir:value "If a question is marked as repeats=true, then multiple answers can be provided for the question in the corresponding QuestionnaireResponse. When rendering the questionnaire, it is up to the rendering software whether to render the question text for each answer repetition (i.e. \"repeat the question\") or to simply allow entry/selection of multiple answers for the question (repeat the answers). Which is most appropriate visually may depend on the type of answer as well as whether there are nested items.\n\nThe resulting QuestionnaireResponse will be populated the same way regardless of rendering - one 'question' item with multiple answer values.\n\n The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.requirements [ fhir:value "Items may be used to create set of (related) questions that can be repeated to give multiple answers to such a set." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Items are generally assumed not to repeat unless explicitly specified. Systems SHOULD always populate this value" ] ; fhir:ElementDefinition.condition [ fhir:value "que-6" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 296 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.readOnly" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.short [ fhir:value "Don't allow human editing" ] ; fhir:ElementDefinition.definition [ fhir:value "An indication, when true, that the value cannot be changed by a human respondent to the Questionnaire." ] ; fhir:ElementDefinition.comment [ fhir:value "The value of readOnly elements can be established by asserting extensions for defaultValues, linkages that support pre-population and/or extensions that support calculation based on other answers." ] ; fhir:ElementDefinition.requirements [ fhir:value "Allows certain information to be phrased (and rendered) as a question and an answer, while keeping users from changing it. May also be useful for preventing changes to pre-populated portions of a questionnaire, for calculated values, etc." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.readOnly" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-9" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 297 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.maxLength" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.short [ fhir:value "No more than this many characters" ] ; fhir:ElementDefinition.definition [ fhir:value "The maximum number of characters that are permitted in the answer to be considered a \"valid\" QuestionnaireResponse." ] ; fhir:ElementDefinition.comment [ fhir:value "For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data. The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.maxLength" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-10" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "v2" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ], [ fhir:index 1 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 298 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.short [ fhir:value "Valueset containing permitted answers" ] ; fhir:ElementDefinition.definition [ fhir:value "A reference to a value set containing a list of codes representing permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "LOINC defines many useful value sets for questionnaire responses. See [LOINC Answer Lists](http://hl7.org/fhir/R4/loinc.html#alist). The value may come from the ElementDefinition referred to by .definition." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "canonical" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/ValueSet|4.0.1> ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 299 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.answerOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.short [ fhir:value "Permitted answer" ] ; fhir:ElementDefinition.definition [ fhir:value "One of the permitted answers for a \"choice\" or \"open-choice\" question." ] ; fhir:ElementDefinition.comment [ fhir:value "This element can be used when the value set machinery of answerValueSet is deemed too cumbersome or when there's a need to capture possible answers that are not codes." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-4" ; fhir:index 0 ], [ fhir:value "que-5" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 300 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.answerOption.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 301 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.answerOption.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 302 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.answerOption.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 303 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.answerOption.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Answer value" ] ; fhir:ElementDefinition.definition [ fhir:value "A potential answer that's allowed as the answer to this question." ] ; fhir:ElementDefinition.comment [ fhir:value "The data type of the value must agree with the item.type." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 304 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.answerOption.initialSelected" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.short [ fhir:value "Whether option is selected by default" ] ; fhir:ElementDefinition.definition [ fhir:value "Indicates whether the answer value is selected when the list of possible answers is initially shown." ] ; fhir:ElementDefinition.comment [ fhir:value "Use this instead of initial[v] if answerValueSet is present." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.answerOption.initialSelected" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.meaningWhenMissing [ fhir:value "Only selected items explicitly marked to be selected" ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 305 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.initial" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.short [ fhir:value "Initial value(s) when item is first rendered" ] ; fhir:ElementDefinition.definition [ fhir:value "One or more values that should be pre-populated in the answer when initially rendering the questionnaire for user input." ] ; fhir:ElementDefinition.comment [ fhir:value "The user is allowed to change the value and override the default (unless marked as read-only). If the user doesn't change the value, then this initial value will be persisted when the QuestionnaireResponse is initially created. Note that initial values can influence results. The data type of initial[x] must agree with the item.type, and only repeating items can have more then one initial value." ] ; fhir:ElementDefinition.requirements [ fhir:value "In some workflows, having defaults saves time." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "BackboneElement" ] ] ; fhir:ElementDefinition.condition [ fhir:value "que-8" ; fhir:index 0 ], [ fhir:value "que-13" ; fhir:index 1 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 306 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.initial.id" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.id" ] ; fhir:ElementDefinition.representation [ fhir:value "xmlAttr" ; fhir:index 0 ] ; fhir:ElementDefinition.short [ fhir:value "Unique id for inter-element referencing" ] ; fhir:ElementDefinition.definition [ fhir:value "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.id" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/structuredefinition-fhir-type" ] ; fhir:Extension.valueUrl [ fhir:value "string" ] ] ; fhir:ElementDefinition.type.code [ fhir:value "http://hl7.org/fhirpath/System.String" ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 307 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.initial.extension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.extension" ] ; fhir:ElementDefinition.short [ fhir:value "Additional content defined by implementations" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Element.extension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "n/a" ] ] ], [ fhir:index 308 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.initial.modifierExtension" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.modifierExtension" ] ; fhir:ElementDefinition.short [ fhir:value "Extensions that cannot be ignored even if unrecognized" ] ; fhir:ElementDefinition.definition [ fhir:value "May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself)." ] ; fhir:ElementDefinition.comment [ fhir:value "There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions. The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone." ] ; fhir:ElementDefinition.requirements [ fhir:value "Modifier extensions allow for extensions that *cannot* be safely ignored to be clearly distinguished from the vast majority of extensions which can be safely ignored. This promotes interoperability by eliminating the need for implementers to prohibit the presence of extensions. For further information, see the [definition of modifier extensions](http://hl7.org/fhir/R4/extensibility.html#modifierExtension)." ] ; fhir:ElementDefinition.alias [ fhir:value "extensions" ; fhir:index 0 ], [ fhir:value "user content" ; fhir:index 1 ], [ fhir:value "modifiers" ; fhir:index 2 ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "BackboneElement.modifierExtension" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "Extension" ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ], [ fhir:index 1 ; fhir:ElementDefinition.constraint.key [ fhir:value "ext-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "Must have either extensions or value[x], not both" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "extension.exists() != value.exists()" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "exists(f:extension)!=exists(f:*[starts-with(local-name(.), \"value\")])" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Extension" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Extension> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.isModifierReason [ fhir:value "Modifier extensions are expected to modify the meaning or interpretation of the element that contains them" ] ; fhir:ElementDefinition.isSummary [ fhir:value "true"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A" ] ] ], [ fhir:index 309 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.initial.value[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.short [ fhir:value "Actual value for initializing the question" ] ; fhir:ElementDefinition.definition [ fhir:value "The actual value to for an initial answer." ] ; fhir:ElementDefinition.comment [ fhir:value "The type of the initial value must be consistent with the type of the item." ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.initial.value[x]" ] ; fhir:ElementDefinition.base.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "1" ] ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ], [ fhir:index 1 ; fhir:ElementDefinition.type.code [ fhir:value "decimal" ] ], [ fhir:index 2 ; fhir:ElementDefinition.type.code [ fhir:value "integer" ] ], [ fhir:index 3 ; fhir:ElementDefinition.type.code [ fhir:value "date" ] ], [ fhir:index 4 ; fhir:ElementDefinition.type.code [ fhir:value "dateTime" ] ], [ fhir:index 5 ; fhir:ElementDefinition.type.code [ fhir:value "time" ] ], [ fhir:index 6 ; fhir:ElementDefinition.type.code [ fhir:value "string" ] ], [ fhir:index 7 ; fhir:ElementDefinition.type.code [ fhir:value "uri" ] ], [ fhir:index 8 ; fhir:ElementDefinition.type.code [ fhir:value "Attachment" ] ], [ fhir:index 9 ; fhir:ElementDefinition.type.code [ fhir:value "Coding" ] ], [ fhir:index 10 ; fhir:ElementDefinition.type.code [ fhir:value "Quantity" ] ], [ fhir:index 11 ; fhir:ElementDefinition.type.code [ fhir:value "Reference" ] ; fhir:ElementDefinition.type.targetProfile [ fhir:value "http://hl7.org/fhir/StructureDefinition/Resource|4.0.1" ; fhir:index 0 ; fhir:link <http://hl7.org/fhir/StructureDefinition/Resource|4.0.1> ] ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.binding [ fhir:Element.extension [ fhir:index 0 ; fhir:Extension.url [ fhir:value "http://hl7.org/fhir/StructureDefinition/elementdefinition-bindingName" ] ; fhir:Extension.valueString [ fhir:value "QuestionnaireQuestionOption2" ] ] ; fhir:ElementDefinition.binding.strength [ fhir:value "example" ] ; fhir:ElementDefinition.binding.description [ fhir:value "Allowed values to answer questions." ] ; fhir:ElementDefinition.binding.valueSet [ fhir:value "http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1" ; fhir:link <http://hl7.org/fhir/ValueSet/questionnaire-answers|4.0.1> ] ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value "N/A - MIF rather than RIM level" ] ] ], [ fhir:index 310 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.short [ fhir:value "Nested questionnaire items" ] ; fhir:ElementDefinition.definition [ fhir:value "Text, questions and other groups to be nested beneath a question or group." ] ; fhir:ElementDefinition.comment [ fhir:value "There is no specified limit to the depth of nesting. However, Questionnaire authors are encouraged to consider the impact on the user and user interface of overly deep nesting." ] ; fhir:ElementDefinition.requirements [ fhir:value "Reports can consist of complex nested groups." ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "*" ] ; fhir:ElementDefinition.base [ fhir:ElementDefinition.base.path [ fhir:value "Questionnaire.item.item" ] ; fhir:ElementDefinition.base.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.base.max [ fhir:value "*" ] ] ; fhir:ElementDefinition.contentReference [ fhir:value "http://hl7.org/fhir/StructureDefinition/Questionnaire#Questionnaire.item" ] ; fhir:ElementDefinition.condition [ fhir:value "que-1" ; fhir:index 0 ] ; fhir:ElementDefinition.constraint [ fhir:index 0 ; fhir:ElementDefinition.constraint.key [ fhir:value "ele-1" ] ; fhir:ElementDefinition.constraint.severity [ fhir:value "error" ] ; fhir:ElementDefinition.constraint.human [ fhir:value "All FHIR elements must have a @value or children" ] ; fhir:ElementDefinition.constraint.expression [ fhir:value "hasValue() or (children().count() > id.count())" ] ; fhir:ElementDefinition.constraint.xpath [ fhir:value "@value|f:*|h:div" ] ; fhir:ElementDefinition.constraint.source [ fhir:value "http://hl7.org/fhir/StructureDefinition/Element" ; fhir:link <http://hl7.org/fhir/StructureDefinition/Element> ] ] ; fhir:ElementDefinition.isModifier [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.isSummary [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.mapping [ fhir:index 0 ; fhir:ElementDefinition.mapping.identity [ fhir:value "rim" ] ; fhir:ElementDefinition.mapping.map [ fhir:value ".outboundRelationship[typeCode=COMP].target" ] ] ] ] ; fhir:StructureDefinition.differential [ fhir:StructureDefinition.differential.element [ fhir:index 0 ; fhir:Element.id [ fhir:value "Questionnaire" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire" ] ], [ fhir:index 1 ; fhir:Element.id [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "value" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "linkId" ] ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "closed" ] ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ], [ fhir:index 2 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "hasCatastrophicIllnessCard" ] ; fhir:ElementDefinition.min [ fhir:value "1"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 3 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.1" ] ], [ fhir:index 4 ; fhir:Element.id [ fhir:value "Questionnaire.item:hasCatastrophicIllnessCard.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.patternCode [ fhir:value "boolean" ] ], [ fhir:index 5 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "catastrophicIllnessName" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 6 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.2" ] ], [ fhir:index 7 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.patternCode [ fhir:value "string" ] ], [ fhir:index 8 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.question" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.question" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.1" ] ], [ fhir:index 9 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.operator" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.operator" ] ; fhir:ElementDefinition.patternCode [ fhir:value "=" ] ], [ fhir:index 10 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.answer[x]" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.slicing [ fhir:ElementDefinition.slicing.discriminator [ fhir:index 0 ; fhir:ElementDefinition.slicing.discriminator.type [ fhir:value "type" ] ; fhir:ElementDefinition.slicing.discriminator.path [ fhir:value "$this" ] ] ; fhir:ElementDefinition.slicing.ordered [ fhir:value "false"^^xsd:boolean ] ; fhir:ElementDefinition.slicing.rules [ fhir:value "open" ] ] ], [ fhir:index 11 ; fhir:Element.id [ fhir:value "Questionnaire.item:catastrophicIllnessName.enableWhen.answer[x]:answerBoolean" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.enableWhen.answer[x]" ] ; fhir:ElementDefinition.sliceName [ fhir:value "answerBoolean" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.type [ fhir:index 0 ; fhir:ElementDefinition.type.code [ fhir:value "boolean" ] ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 12 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "healthStatusLevel" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 13 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.3" ] ], [ fhir:index 14 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ], [ fhir:index 15 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusLevel.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.patternCanonical [ fhir:value "https://sfaa.gov.tw/base/ValueSet/twss-health-status-level-vs" ; fhir:link <https://sfaa.gov.tw/base/ValueSet/twss-health-status-level-vs> ] ], [ fhir:index 16 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "healthStatusOption" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 17 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.4" ] ], [ fhir:index 18 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ], [ fhir:index 19 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 20 ; fhir:Element.id [ fhir:value "Questionnaire.item:healthStatusOption.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.patternCanonical [ fhir:value "https://sfaa.gov.tw/base/ValueSet/twss-health-status-option-vs" ; fhir:link <https://sfaa.gov.tw/base/ValueSet/twss-health-status-option-vs> ] ], [ fhir:index 21 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "diseaseType" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 22 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.5" ] ], [ fhir:index 23 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ], [ fhir:index 24 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 25 ; fhir:Element.id [ fhir:value "Questionnaire.item:diseaseType.answerValueSet" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.answerValueSet" ] ; fhir:ElementDefinition.patternCanonical [ fhir:value "https://sfaa.gov.tw/base/ValueSet/twss-disease-type-vs" ; fhir:link <https://sfaa.gov.tw/base/ValueSet/twss-disease-type-vs> ] ], [ fhir:index 26 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "icd" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 27 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.6" ] ], [ fhir:index 28 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.patternCode [ fhir:value "choice" ] ], [ fhir:index 29 ; fhir:Element.id [ fhir:value "Questionnaire.item:icd.repeats" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.repeats" ] ; fhir:ElementDefinition.patternBoolean [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 30 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item" ] ; fhir:ElementDefinition.sliceName [ fhir:value "medicationStatus" ] ; fhir:ElementDefinition.min [ fhir:value "0"^^xsd:nonNegativeInteger ] ; fhir:ElementDefinition.max [ fhir:value "1" ] ; fhir:ElementDefinition.mustSupport [ fhir:value "true"^^xsd:boolean ] ], [ fhir:index 31 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.linkId" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.linkId" ] ; fhir:ElementDefinition.patternString [ fhir:value "6.7" ] ], [ fhir:index 32 ; fhir:Element.id [ fhir:value "Questionnaire.item:medicationStatus.type" ] ; fhir:ElementDefinition.path [ fhir:value "Questionnaire.item.type" ] ; fhir:ElementDefinition.patternCode [ fhir:value "text" ] ] ] . # - ontology header ------------------------------------------------------------ <http://hl7.org/fhir/StructureDefinition/Questionnaire-health-disease-status-twss-base.ttl> a owl:Ontology ; owl:imports fhir:fhir.ttl ; owl:versionIRI <http://build.fhir.org/StructureDefinition/Questionnaire-health-disease-status-twss-base.ttl> .
IG © 2026+ 衛生福利部社會及家庭署. Package tw.gov.mohw.twss.base#0.0.1 based on FHIR 4.0.1. Generated 2026-08-10
Links: Table of Contents |
QA Report
| Version History
