STU 3 Candidate

This page is part of the FHIR Specification (v1.4.0: STU 3 Ballot 3). The current version which supercedes this version is 4.0.1. For a full list of available versions, see the Directory of published versions

Gao\gao-questionnaire-questionnaire.xml

Raw XML (canonical form)

Generated Questionnaire for gao-questionnaire

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

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="qs1"/>
  <contained>
    <ValueSet>
      <id value="vs2"/>
      <name value="Type options for Questionnaire.item.enableWhen.answer[x]"/>
      <status value="active"/>
      <description value="Type options for Questionnaire.item.enableWhen.answer[x]"/>
      <expansion>
        <identifier value="urn:uuid:0a5b17bb-d47f-45af-a290-0b2dce960d54"/>
        <timestamp value="2016-03-31T08:11:27+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="boolean"/>
          <display value="boolean"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="decimal"/>
          <display value="decimal"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="integer"/>
          <display value="integer"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="date"/>
          <display value="date"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="dateTime"/>
          <display value="dateTime"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="instant"/>
          <display value="instant"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="time"/>
          <display value="time"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="uri"/>
          <display value="uri"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Coding"/>
          <display value="Coding"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Resource"/>
          <display value="Resource"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs3"/>
      <name value="Type options for Questionnaire.item.option.value[x]"/>
      <status value="active"/>
      <description value="Type options for Questionnaire.item.option.value[x]"/>
      <expansion>
        <identifier value="urn:uuid:bcbf68d5-4332-4e4f-9631-09231fe03348"/>
        <timestamp value="2016-03-31T08:11:27+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="integer"/>
          <display value="integer"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="date"/>
          <display value="date"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="time"/>
          <display value="time"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Coding"/>
          <display value="Coding"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs4"/>
      <name value="Type options for Questionnaire.item.initial[x]"/>
      <status value="active"/>
      <description value="Type options for Questionnaire.item.initial[x]"/>
      <expansion>
        <identifier value="urn:uuid:6d6d5949-7b72-414c-9efe-2e430a20118b"/>
        <timestamp value="2016-03-31T08:11:27+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="boolean"/>
          <display value="boolean"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="decimal"/>
          <display value="decimal"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="integer"/>
          <display value="integer"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="date"/>
          <display value="date"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="dateTime"/>
          <display value="dateTime"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="instant"/>
          <display value="instant"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="time"/>
          <display value="time"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="uri"/>
          <display value="uri"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Coding"/>
          <display value="Coding"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Resource"/>
          <display value="Resource"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
  </identifier>
  <status value="draft"/>
  <date value="2015-09-22T20:02:49+10:00"/>
  <item>
    <linkId value="Questionnaire"/>
    <text value="A structured set of questions"/>
    <type value="group"/>
    <required value="false"/>
    <repeats value="true"/>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
        <valueCodeableConcept>
          <coding>
            <system value="http://hl7.org/fhir/questionnaire-item-control"/>
            <code value="flyover"/>
            <display value="Fly-over"/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <text value="A structured set of questions intended to guide the collection of answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the underlying questions."/>
      <type value="display"/>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="Questionnaire.id"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.id.value"/>
        <text value="Logical id of this artifact"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="Questionnaire.meta"/>
      <text value="Metadata about the resource"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="uri"/>
      </extension>
      <linkId value="Questionnaire.implicitRules"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text 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. 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 as much as possible."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.implicitRules.value"/>
        <text value="A set of rules under which this content was created"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="Questionnaire.language"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The base language in which the resource is written. 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)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.language.value"/>
        <text value="language"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="Questionnaire.text"/>
      <text value="Text summary of the resource, for human interpretation"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A human-readable narrative that contains a summary of the resource, and may 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 &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="Questionnaire.contained"/>
      <text value="Contained, inline Resources"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text 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. 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."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="Questionnaire.extension"/>
      <text value="Additional Content defined by implementations"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource. In order 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. 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."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="Questionnaire.modifierExtension"/>
      <text value="Extensions that cannot be ignored"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text 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. Usually modifier elements provide negation or qualification. In order 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. 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."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="uri"/>
      </extension>
      <linkId value="Questionnaire.url"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="An absolute URL that is used to identify this questionnaire when it is referenced in a specification, model, design or an instance. This SHALL be a URL, SHOULD be globally unique, and SHOULD be an address at which this questionnaire is (or will be) published."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.url.value"/>
        <text value="Globally unique logical identifier for  questionnaire"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Identifier"/>
      </extension>
      <linkId value="Questionnaire.identifier"/>
      <text value="External identifiers for this questionnaire"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="This records identifiers associated with this question set that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.identifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Questionnaire.identifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Questionnaire.identifier.value"/>
        <text value="value:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="Questionnaire.version"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The version number assigned by the publisher for business reasons.  It may remain the same when the resource is updated."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.version.value"/>
        <text value="Logical identifier for this version of Questionnaire"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="Questionnaire.status"/>
      <type value="group"/>
      <required value="true"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The lifecycle status of the questionnaire as a whole."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.status.value"/>
        <text value="status"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="datetime"/>
      </extension>
      <linkId value="Questionnaire.date"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The date that this questionnaire was last changed."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.date.value"/>
        <text value="Date this version was authored"/>
        <type value="dateTime"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="Questionnaire.publisher"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Organization or person responsible for developing and maintaining the questionnaire."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.publisher.value"/>
        <text value="Organization/individual who designed the questionnaire"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="ContactPoint"/>
      </extension>
      <linkId value="Questionnaire.telecom"/>
      <text value="Contact information of the publisher"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Contact details to assist a user in finding and communicating with the publisher."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.telecom.system"/>
        <text value="type:"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Questionnaire.telecom.value"/>
        <text value="value:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Questionnaire.telecom.use"/>
        <text value="use:"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Questionnaire.useContext"/>
      <text value="Questionnaire intends to support these contexts"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A code that identifies the questionnaire as falling into a particular group of like questionnaires; e.g. &quot;Pediatric&quot;, &quot;Admissions&quot;, &quot;Research&quot;, &quot;Demographic&quot;, &quot;Opinion Survey&quot;, etc."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.useContext.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Questionnaire.useContext.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="Questionnaire.title"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The name or label associated with this questionnaire."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.title.value"/>
        <text value="Name for the questionnaire"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Coding"/>
      </extension>
      <linkId value="Questionnaire.concept"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Identifies a how this question or group of questions is known in a particular terminology such as LOINC."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.concept.value"/>
        <text value="Concept that represents the overall questionnaire"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="Questionnaire.subjectType"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Identifies the types of subjects that can be the subject of the questionnaire. If none are specified, then the subject is unlimited."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Questionnaire.subjectType.value"/>
        <text value="subject type"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="Questionnaire.item"/>
      <text value="Questions and sections within the Questionnaire"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The questions and groupings of questions that make up the questionnaire."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="string"/>
        </extension>
        <linkId value="Questionnaire.item.id"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="unique id for the element within a resource (for internal references)."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Questionnaire.item.extension"/>
        <text value="Additional Content defined by implementations"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. In order 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. 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."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="Questionnaire.item.modifierExtension"/>
        <text value="Extensions that cannot be ignored"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text 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 that contains it. Usually modifier elements provide negation or qualification. In order 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. 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."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="string"/>
        </extension>
        <linkId value="Questionnaire.item.linkId"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="An identifier that is unique within the Questionnaire allowing linkage to the equivalent item in a QuestionnaireResponse resource. May be omitted if there is no expectation to link answers back to a Questionnaire.  This &#39;&#39;can&#39;&#39; be a meaningful identifier (e.g. a LOINC code) but is not intended to have any meaning.  GUIDs or sequential numbers are appropriate here."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.linkId.value"/>
          <text value="To link questionnaire with questionnaire response"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Coding"/>
        </extension>
        <linkId value="Questionnaire.item.concept"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Identifies a how this group of questions is known in a particular terminology such as LOINC. The code(s) for the &quot;root&quot; group apply to the questionnaire as a whole."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.concept.value"/>
          <text value="Concept that represents this item within in a questionnaire"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="string"/>
        </extension>
        <linkId value="Questionnaire.item.prefix"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="A short label for a particular group, question or set of display text within the questionnaire. 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&#39;t be used for &quot;text&quot; items, though such use is not prohibited.

Systems SHOULD NOT generate their own prefixes if prefixes are defined for any items within a Questionnaire."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.prefix.value"/>
          <text value="E.g. &quot;1(a)&quot;, &quot;2.5.3&quot;"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="string"/>
        </extension>
        <linkId value="Questionnaire.item.text"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The name of a section, the text of a question or text content for a text item."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.text.value"/>
          <text value="Primary text for the item"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="code"/>
        </extension>
        <linkId value="Questionnaire.item.type"/>
        <type value="group"/>
        <required value="true"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Identifies 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.). Additional constraints on the type of answer can be conveyed by extensions."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.type.value"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Questionnaire.item.enableWhen"/>
        <text value="Only allow data when:"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <text 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 &quot;enableWhen&quot;s as being joined by an &quot;or&quot; clause.

If enableWhen is present for an item, &quot;required&quot; is ignored unless one of the enableWhen conditions is met."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="If present, indicates that this item should only be enabled (displayed/allow answers to be captured) when the specified condition is true."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="string"/>
          </extension>
          <linkId value="Questionnaire.item.enableWhen.id"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="unique id for the element within a resource (for internal references)."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="Questionnaire.item.enableWhen.id.value"/>
            <text value="xml:id (or equivalent in JSON)"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="Questionnaire.item.enableWhen.extension"/>
          <text value="Additional Content defined by implementations"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. In order 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. 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."/>
            <type value="display"/>
          </item>
        </item>
        <item>
          <linkId value="Questionnaire.item.enableWhen.modifierExtension"/>
          <text value="Extensions that cannot be ignored"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text 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 that contains it. Usually modifier elements provide negation or qualification. In order 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. 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."/>
            <type value="display"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="string"/>
          </extension>
          <linkId value="Questionnaire.item.enableWhen.question"/>
          <type value="group"/>
          <required value="true"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="The linkId for the question whose answer (or lack of answer) governs whether this item is enabled. 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 &quot;ancestor&quot; axis and then the &quot;preceding&quot; axis and then the &quot;following&quot; axis."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="Questionnaire.item.enableWhen.question.value"/>
            <text value="Question that determines whether item is enabled"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="boolean"/>
          </extension>
          <linkId value="Questionnaire.item.enableWhen.answered"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="If present, indicates that this item should be enabled only if the specified question is answered or not answered. If answered=false and answer values are also provided, then they are treated as &quot;or&quot;.  I.e. &quot;Enable if the question is unanswered or the answer is one of the specified values&quot;.  If answered=true and answers are present, one of the specified answers must be met. (So there&#39;s little reason to specify answered=true if answers are present.)."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="Questionnaire.item.enableWhen.answered.value"/>
            <text value="Enable when answered or not"/>
            <type value="boolean"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <linkId value="Questionnaire.item.enableWhen.answer[x]"/>
          <text value="Value question must have"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="If present, then the answer for the referenced question must match this answer for all components present in the enableWhen.answer. Components not specified in the answer do not need to match.  For example, if enableWhen specifies code + system for a Coding, it&#39;s ok if the answer has a &quot;display&quot; element.

The dataType of this element must be the same as the data type of the question being referenced."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="Questionnaire.item.enableWhen.answer[x]._type"/>
            <text value="type"/>
            <type value="choice"/>
            <required value="false"/>
            <repeats value="false"/>
            <options>
              <reference value="#vs2"/>
            </options>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="boolean"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._boolean"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._boolean.value"/>
                <text value="boolean"/>
                <type value="boolean"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="decimal"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._decimal"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._decimal.value"/>
                <text value="decimal"/>
                <type value="decimal"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="integer"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._integer"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._integer.value"/>
                <text value="integer"/>
                <type value="integer"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="datetime"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._date"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._date.value"/>
                <text value="date"/>
                <type value="dateTime"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="datetime"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._dateTime"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._dateTime.value"/>
                <text value="dateTime"/>
                <type value="dateTime"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="instant"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._instant"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._instant.value"/>
                <text value="instant"/>
                <type value="instant"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="time"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._time"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._time.value"/>
                <text value="time"/>
                <type value="time"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="string"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._string"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._string.value"/>
                <text value="string"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="uri"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._uri"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._uri.value"/>
                <text value="uri"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Attachment"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._Attachment"/>
              <text value="Attachment"/>
              <type value="group"/>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Coding"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._Coding"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._Coding.value"/>
                <text value="Coding"/>
                <type value="open-choice"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Quantity"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._Quantity"/>
              <text value="Quantity"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._Quantity.comparator"/>
                <text value="comp:"/>
                <type value="choice"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._Quantity.value"/>
                <text value="value:"/>
                <type value="decimal"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._Quantity.units"/>
                <text value="units:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._Quantity.code"/>
                <text value="coded units:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._Quantity.system"/>
                <text value="units system:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Questionnaire.item.enableWhen.answer[x]._Resource"/>
              <type value="group"/>
              <item>
                <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                  <valueCode value="Resource"/>
                </extension>
                <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                  <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Questionnaire.item.enableWhen.answer[x]._Resource.value"/>
                <text value="Resource"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
          </item>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="boolean"/>
        </extension>
        <linkId value="Questionnaire.item.required"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="If true, indicates that the item must be present in a &quot;completed&quot; QuestionnaireResponse.  If false, the item may be skipped when answering the questionnaire. 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)."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.required.value"/>
          <text value="Whether the item must be included in data results"/>
          <type value="boolean"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="boolean"/>
        </extension>
        <linkId value="Questionnaire.item.repeats"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Whether the item may occur multiple times in the instance, containing multiple sets of answers."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.repeats.value"/>
          <text value="Whether the item may repeat"/>
          <type value="boolean"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="boolean"/>
        </extension>
        <linkId value="Questionnaire.item.readOnly"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="If true, the value cannot be changed by a human respondent to the Questionnaire. 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."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.readOnly.value"/>
          <text value="Don&#39;t allow human editing"/>
          <type value="boolean"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="integer"/>
        </extension>
        <linkId value="Questionnaire.item.maxLength"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The maximum number of characters that are permitted in the answer to be considered a &quot;valid&quot; QuestionnaireResponse. For base64binary, reflects the number of characters representing the encoded data, not the number of bytes of the binary data."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.maxLength.value"/>
          <text value="No more than this many characters"/>
          <type value="integer"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Reference"/>
        </extension>
        <linkId value="Questionnaire.item.options"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Reference to a value set containing a list of codes representing permitted answers for the question. LOINC defines many useful value sets for questionnaire response. See [LOINC Answer Lists](loinc.html#alist)."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
            <valueCode value="ValueSet"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
            <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
          </extension>
          <linkId value="Questionnaire.item.options.value"/>
          <text value="Valueset containing permitted answers"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Questionnaire.item.option"/>
        <text value="Permitted answer"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="For a &quot;choice&quot; question, identifies one of the permitted answers for the question."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="string"/>
          </extension>
          <linkId value="Questionnaire.item.option.id"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="unique id for the element within a resource (for internal references)."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="Questionnaire.item.option.id.value"/>
            <text value="xml:id (or equivalent in JSON)"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="Questionnaire.item.option.extension"/>
          <text value="Additional Content defined by implementations"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. In order 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. 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."/>
            <type value="display"/>
          </item>
        </item>
        <item>
          <linkId value="Questionnaire.item.option.modifierExtension"/>
          <text value="Extensions that cannot be ignored"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text 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 that contains it. Usually modifier elements provide negation or qualification. In order 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. 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."/>
            <type value="display"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <linkId value="Questionnaire.item.option.value[x]"/>
          <text value="Answer value"/>
          <type value="group"/>
          <required value="true"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="Identifies a specific answer that&#39;s allowed as the answer to a question."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="Questionnaire.item.option.value[x]._type"/>
            <text value="type"/>
            <type value="choice"/>
            <required value="false"/>
            <repeats value="false"/>
            <options>
              <reference value="#vs3"/>
            </options>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="integer"/>
              </extension>
              <linkId value="Questionnaire.item.option.value[x]._integer"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.option.value[x]._integer.value"/>
                <text value="integer"/>
                <type value="integer"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="datetime"/>
              </extension>
              <linkId value="Questionnaire.item.option.value[x]._date"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.option.value[x]._date.value"/>
                <text value="date"/>
                <type value="dateTime"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="time"/>
              </extension>
              <linkId value="Questionnaire.item.option.value[x]._time"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.option.value[x]._time.value"/>
                <text value="time"/>
                <type value="time"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="string"/>
              </extension>
              <linkId value="Questionnaire.item.option.value[x]._string"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.option.value[x]._string.value"/>
                <text value="string"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Coding"/>
              </extension>
              <linkId value="Questionnaire.item.option.value[x]._Coding"/>
              <type value="group"/>
              <item>
                <linkId value="Questionnaire.item.option.value[x]._Coding.value"/>
                <text value="Coding"/>
                <type value="open-choice"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
          </item>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="Questionnaire.item.initial[x]"/>
        <text value="Initial presumed answer for question"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The value that should be pre-populated when rendering the questionnaire for user input."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Questionnaire.item.initial[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs4"/>
          </options>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="boolean"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._boolean"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._boolean.value"/>
              <text value="boolean"/>
              <type value="boolean"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="decimal"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._decimal"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._decimal.value"/>
              <text value="decimal"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="integer"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._integer"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._integer.value"/>
              <text value="integer"/>
              <type value="integer"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="datetime"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._date"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._date.value"/>
              <text value="date"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="datetime"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._dateTime"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._dateTime.value"/>
              <text value="dateTime"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="instant"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._instant"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._instant.value"/>
              <text value="instant"/>
              <type value="instant"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="time"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._time"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._time.value"/>
              <text value="time"/>
              <type value="time"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._string"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._string.value"/>
              <text value="string"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="uri"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._uri"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._uri.value"/>
              <text value="uri"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Attachment"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._Attachment"/>
            <text value="Attachment"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Coding"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._Coding"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._Coding.value"/>
              <text value="Coding"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._Quantity"/>
            <text value="Quantity"/>
            <type value="group"/>
            <item>
              <linkId value="Questionnaire.item.initial[x]._Quantity.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Questionnaire.item.initial[x]._Quantity.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Questionnaire.item.initial[x]._Quantity.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Questionnaire.item.initial[x]._Quantity.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Questionnaire.item.initial[x]._Quantity.system"/>
              <text value="units system:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Questionnaire.item.initial[x]._Resource"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Resource"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Questionnaire.item.initial[x]._Resource.value"/>
              <text value="Resource"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
      </item>
      <item>
        <linkId value="Questionnaire.item.item"/>
        <text value="Nested questionnaire items"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Allows text, questions and other groups to be nested beneath a question or group."/>
          <type value="display"/>
        </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.