FHIR CI-Build

This is the Continuous Integration Build of FHIR (will be incorrect/inconsistent at times).
See the Directory of published versions

Example Questionnaire/child-rel-demo (XML)

FHIR Infrastructure Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

Raw XML (canonical form + also see XML Format Specification)

Questionnaire with a variety of child item types (as used in the QuestionnaireResponse page links section) (id = "child-rel-demo")

<?xml version="1.0" encoding="UTF-8"?>

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="child-rel-demo"/> 
  <meta> 
    <versionId value="1"/> 
    <lastUpdated value="2023-03-03T03:05:07.9531803+00:00"/> 
  </meta> 
  <extension url="http://hl7.org/fhir/StructureDefinition/structuredefinition-wg">
    <valueCode value="fhir"/> 
  </extension> 
  <url value="http://example.org/Questionnaire/child-rel-demo"/> 
  <title value="Demo form on R5 spec QR page"/> 
  <status value="draft"/> 
  <publisher value="HL7 International / FHIR Infrastructure"/> 
  <contact> 
    <telecom> 
      <system value="url"/> 
      <value value="http://www.hl7.org/Special/committees/fiwg"/> 
    </telecom> 
  </contact> 
  <item> 
    <linkId value="grp1"/> 
    <text value="grp1"/> 
    <type value="group"/> 
    <required value="true"/> 
    <repeats value="true"/> 
    <item> 
      <linkId value="grp2"/> 
      <text value="grp2"/> 
      <type value="group"/> 
      <item> 
        <linkId value="Q1"/> 
        <text value="Q1"/> 
        <type value="string"/> 
        <repeats value="true"/> 
      </item> 
      <item> 
        <linkId value="Q2"/> 
        <text value="Q2"/> 
        <type value="string"/> 
      </item> 
    </item> 
    <item> 
      <linkId value="Q3"/> 
      <text value="Q3"/> 
      <type value="string"/> 
      <required value="true"/> 
      <repeats value="true"/> 
      <item> 
        <linkId value="Q4"/> 
        <text value="Q4"/> 
        <type value="string"/> 
      </item> 
      <item> 
        <linkId value="grp3"/> 
        <text value="grp3"/> 
        <type value="string"/> 
        <item> 
          <linkId value="Q5"/> 
          <text value="Q5"/> 
          <type value="string"/> 
        </item> 
      </item> 
    </item> 
  </item> 
</Questionnaire> 

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.