<ValueSet xmlns="http://hl7.org/fhir">
  <id value="group-item-control" />
  <text>
    <status value="extensions" />
    <div xmlns="http://www.w3.org/1999/xhtml">
      <p class="res-header-id">
        <b>Generated Narrative: ValueSet group-item-control</b>
      </p>
      <a name="group-item-control"></a>
      <a name="hcgroup-item-control"></a>
      <ul>
        <li>Include these codes as defined in <a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-questionnaire-item-control.html"><code>http://hl7.org/fhir/questionnaire-item-control</code></a><table class="none"><tr><td style="white-space:nowrap"><b>Code</b></td><td><b>Display</b></td><td><b>Definition</b></td></tr><tr><td><a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-questionnaire-item-control.html#questionnaire-item-control-list">list</a></td><td style="color: #cccccc">List</td><td>Questions within the group should be listed sequentially</td></tr><tr><td><a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-questionnaire-item-control.html#questionnaire-item-control-page">page</a></td><td style="color: #cccccc">Page</td><td>Indicates that the content within the group should appear as a logical "page" when rendering the form, such that all enabled items within the page are displayed at once, but items in subsequent groups are not displayed until the user indicates a desire to move to the 'next' group.  (Header and footer groups for a questionnaire will be rendered on all pages.) This designation may also influence pagination when printing questionnaires.

If a group item has this itemControl value, then all sibling items **SHALL** also be of type group and also have an itemControl value of 'page', 'header', or 'footer'.  Form fillers **SHOULD** raise an error if a Questionnaire fails to adhere to this requirement.  Page items SHOULD be a top-level item and generally should not nest (i.e. pages should not be descendants of a page group).</td></tr><tr><td><a href="http://hl7.org/fhir/extensions/5.2.0/CodeSystem-questionnaire-item-control.html#questionnaire-item-control-footer">footer</a></td><td style="color: #cccccc">Footer</td><td>The group is to be continuously visible at the bottom of the questionnaire.  Footer must be a top-level item and must not be marked as repeating, but need not be the last item in a Questionnaire.  There can be at most one group of type 'header' in a Questionnaire.</td></tr></table></li>
      </ul>
    </div>
  </text>
  <url value="http://ontariohealth.ca/fhir/eforms/ValueSet/group-item-control" />
  <version value="1.0.1-draft" />
  <name value="GroupItemControls" />
  <title value="Ontario Group Item Control Codes" />
  <status value="active" />
  <experimental value="false" />
  <description value="Item control codes used in group items within Ontario questionnaires" />
  <immutable value="false" />
  <compose>
    <include>
      <system value="http://hl7.org/fhir/questionnaire-item-control" />
      <concept>
        <code value="list" />
        <display value="List" />
      </concept>
      <concept>
        <code value="page" />
        <display value="Page" />
      </concept>
      <concept>
        <code value="footer" />
        <display value="Footer" />
      </concept>
    </include>
  </compose>
</ValueSet>