Comorbidity? YES
              Cardial Comorbidity? YES
                Angina? YES
                MI? NO
              Vascular Comorbidity?
                (no answers)
              ...
            Histopathology
              Abdominal
                pT category: 1a
              ...
          
<required value="true"/> <group> <!-- COMORBIDITY --> <!-- First main section of the form, questions about comorbidity --> <linkId value="1.1"/> <concept> <system value="http://example.org/system/code/sections"/> <code value="COMORBIDITY"/> </concept> <!-- section contains one question: whether there is comorbidity --> <question> <linkId value="1.1.1"/> <concept> <system value="http://example.org/system/code/questions"/> <code value="COMORB"/> </concept> <type value="choice"/> <options> <reference value="#yesno"/> </options> <group> <!-- COMORBIDITY/CARDIAL --> <!-- Subsection about specific comorbidity: cardial --> <linkId value="1.1.1.1"/> <concept> <system value="http://example.org/system/code/sections"/> <code value="CARDIAL"/> </concept> <question> <linkId value="1.1.1.1.1"/> <concept> <system value="http://example.org/system/code/questions"/> <code value="COMORBCAR"/> </concept> <type value="choice"/> <options> <reference value="#yesno"/> </options> </question> <question> <!-- This answer carries both the questionnaire-specific name and an equivalent SNOMED CT code --> <linkId value="1.1.1.1.2"/> <concept> <system value="http://example.org/system/code/questions"/> <code value="COMCAR00"/> <display value="Angina Pectoris"/> </concept> <concept> <system value="http://snomed.info/sct"/> <code value="194828000"/> <display value="Angina (disorder)"/> </concept> <type value="choice"/> <options> <reference value="#yesno"/> </options> </question> <question> <linkId value="1.1.1.1.3"/> <concept> <system value="http://snomed.info/sct"/> <code value="22298006"/> <display value="Myocardial infarction (disorder)"/> </concept> <type value="choice"/> <options> <reference value="#yesno"/> </options> </question> </group> <group> <!-- COMORBIDITY/VASCULAR --> <linkId value="1.1.1.2"/> <concept> <system value="http://example.org/system/code/sections"/> <code value="VASCULAR"/> </concept> </group> </question> </group> <!-- Todo: What's supposed to go here? --> <group> <!-- HISTOPATHOLOGY --> <linkId value="1.2"/> <concept> <system value="http://example.org/system/code/sections"/> <code value="HISTOPATHOLOGY"/> </concept> <group> <linkId value="1.2.1"/> <concept> <system value="http://example.org/system/code/sections"/> <code value="ABDOMINAL"/> </concept> <question> <linkId value="1.2.1.2"/> <concept> <system value="http://example.org/system/code/questions"/> <code value="STADPT"/> <display value="pT category"/> </concept> </question> </group> </group> </group> </Questionnaire>