Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is a downloaded copy of the specification. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B

Example Questionnaire/qgen-SubstanceDefinition1 (XML)

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: No defined compartments

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

Generated Questionnaire for SubstanceDefinition

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

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="qgen-SubstanceDefinition1"/>
  <contained>
    <ValueSet>
      <id value="vs2"/>
      <name value="Type options for SubstanceDefinition.moiety.amount[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceDefinition.moiety.amount[x]"/>
      <expansion>
        <identifier value="urn:uuid:fa018730-0de1-4e9a-9b47-2dc3cc833e93"/>
        <timestamp value="2023-03-26T15:26:04+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs3"/>
      <name value="Type options for SubstanceDefinition.property.value[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceDefinition.property.value[x]"/>
      <expansion>
        <identifier value="urn:uuid:bcd82c02-ffeb-4f68-8fa3-20c114d3fdc7"/>
        <timestamp value="2023-03-26T15:26:04+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="date"/>
          <display value="date"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="boolean"/>
          <display value="boolean"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs4"/>
      <name value="Type options for SubstanceDefinition.relationship.substanceDefinition[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceDefinition.relationship.substanceDefinition[x]"/>
      <expansion>
        <identifier value="urn:uuid:e6431a02-8211-44ac-9a99-d7dc72e65bcc"/>
        <timestamp value="2023-03-26T15:26:04+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="SubstanceDefinition"/>
          <display value="SubstanceDefinition"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs5"/>
      <name value="Type options for SubstanceDefinition.relationship.amount[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceDefinition.relationship.amount[x]"/>
      <expansion>
        <identifier value="urn:uuid:87016eec-e10e-4086-a775-a8bbfe0473ba"/>
        <timestamp value="2023-03-26T15:26:04+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Ratio"/>
          <display value="Ratio"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <url value="http://hl7.org/fhir/Questionnaire/qgen-SubstanceDefinition1"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
  </identifier>
  <version value="5.0.0"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2023-03-26T15:21:02+11:00"/>
  <publisher value="Health Level Seven International (Biomedical Research and Regulation)"/>
  <item>
    <linkId value="SubstanceDefinition"/>
    <text value="The detailed description of a substance, typically at a level beyond what is used for prescribing"/>
    <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>
      <linkId value="SubstanceDefinition-flyover"/>
      <text value="The detailed description of a substance, typically at a level beyond what is used for prescribing."/>
      <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="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.id-flyover"/>
        <text value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.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="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.meta-flyover"/>
        <text value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."/>
        <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="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.implicitRules-flyover"/>
        <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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.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="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.language-flyover"/>
        <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="SubstanceDefinition.language.value"/>
        <text value="language"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOrType"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.text-flyover"/>
        <text value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &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 a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.contained-flyover"/>
        <text value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.extension-flyover"/>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.modifierExtension-flyover"/>
        <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 and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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-fhirType">
        <valueString value="Identifier"/>
      </extension>
      <linkId value="SubstanceDefinition.identifier"/>
      <text value="Identifier by which this substance is known"/>
      <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>
        <linkId value="SubstanceDefinition.identifier-flyover"/>
        <text value="Identifier by which this substance is known."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.identifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.identifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.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="SubstanceDefinition.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>
        <linkId value="SubstanceDefinition.version-flyover"/>
        <text value="A business level version identifier of the substance."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.version.value"/>
        <text value="A business level version identifier of the substance"/>
        <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="CodeableConcept"/>
      </extension>
      <linkId value="SubstanceDefinition.status"/>
      <text value="Status of substance within the catalogue e.g. active, retired"/>
      <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>
        <linkId value="SubstanceDefinition.status-flyover"/>
        <text value="Status of substance within the catalogue e.g. active, retired."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.status.coding"/>
        <text value="code:"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.status.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="SubstanceDefinition.classification"/>
      <text value="A categorization, high level e.g. polymer or nucleic acid, or food, chemical, biological, or lower e.g. polymer linear or branch chain, or type of impurity"/>
      <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>
        <linkId value="SubstanceDefinition.classification-flyover"/>
        <text value="A high level categorization, e.g. polymer or nucleic acid, or food, chemical, biological, or a lower level such as the general types of polymer (linear or branch chain) or type of impurity (process related or contaminant)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.classification.coding"/>
        <text value="code:"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.classification.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="CodeableConcept"/>
      </extension>
      <linkId value="SubstanceDefinition.domain"/>
      <text value="If the substance applies to human or veterinary use"/>
      <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>
        <linkId value="SubstanceDefinition.domain-flyover"/>
        <text value="If the substance applies to human or veterinary use."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.domain.coding"/>
        <text value="code:"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.domain.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="SubstanceDefinition.grade"/>
      <text value="The quality standard, established benchmark, to which substance complies (e.g. USP/NF, BP)"/>
      <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>
        <linkId value="SubstanceDefinition.grade-flyover"/>
        <text value="The quality standard, established benchmark, to which substance complies (e.g. USP/NF, Ph. Eur, JP, BP, Company Standard)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.grade.coding"/>
        <text value="code:"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.grade.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="SubstanceDefinition.description"/>
      <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>
        <linkId value="SubstanceDefinition.description-flyover"/>
        <text value="Textual description of the substance."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceDefinition.description.value"/>
        <text value="Textual description of the substance"/>
        <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="SubstanceDefinition.informationSource"/>
      <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>
        <linkId value="SubstanceDefinition.informationSource-flyover"/>
        <text value="Supporting literature."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Citation"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceDefinition.informationSource.value"/>
        <text value="Supporting literature"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Annotation"/>
      </extension>
      <linkId value="SubstanceDefinition.note"/>
      <text value="Textual comment about the substance's catalogue or registry record"/>
      <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>
        <linkId value="SubstanceDefinition.note-flyover"/>
        <text value="Textual comment about the substance's catalogue or registry record."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="SubstanceDefinition.manufacturer"/>
      <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>
        <linkId value="SubstanceDefinition.manufacturer-flyover"/>
        <text value="The entity that creates, makes, produces or fabricates the substance. This is a set of potential manufacturers but is not necessarily comprehensive."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Organization"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceDefinition.manufacturer.value"/>
        <text value="The entity that creates, makes, produces or fabricates the substance"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="SubstanceDefinition.supplier"/>
      <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>
        <linkId value="SubstanceDefinition.supplier-flyover"/>
        <text value="An entity that is the source for the substance. It may be different from the manufacturer. Supplier is synonymous to a distributor."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Organization"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceDefinition.supplier.value"/>
        <text value="An entity that is the source for the substance. It may be different from the manufacturer"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.moiety"/>
      <text value="Moiety, for structural modifications"/>
      <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>
        <linkId value="SubstanceDefinition.moiety-flyover"/>
        <text value="Moiety, for structural modifications."/>
        <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="SubstanceDefinition.moiety.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>
          <linkId value="SubstanceDefinition.moiety.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.moiety.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>
          <linkId value="SubstanceDefinition.moiety.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.moiety.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.moiety.role"/>
        <text value="Role that the moiety is playing"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.role-flyover"/>
          <text value="Role that the moiety is playing."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.role.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.role.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="Identifier"/>
        </extension>
        <linkId value="SubstanceDefinition.moiety.identifier"/>
        <text value="Identifier by which this moiety substance is known"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.identifier-flyover"/>
          <text value="Identifier by which this moiety substance is known."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.identifier.label"/>
          <text value="label:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.identifier.system"/>
          <text value="system:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.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="SubstanceDefinition.moiety.name"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.name-flyover"/>
          <text value="Textual name for this moiety substance."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.name.value"/>
          <text value="Textual name for this moiety substance"/>
          <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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.moiety.stereochemistry"/>
        <text value="Stereochemistry type"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.stereochemistry-flyover"/>
          <text value="Stereochemistry type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.stereochemistry.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.stereochemistry.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.moiety.opticalActivity"/>
        <text value="Optical activity type"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.opticalActivity-flyover"/>
          <text value="Optical activity type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.opticalActivity.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.opticalActivity.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="SubstanceDefinition.moiety.molecularFormula"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.molecularFormula-flyover"/>
          <text value="Molecular formula for this moiety of this substance, typically using the Hill system."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.molecularFormula.value"/>
          <text value="Molecular formula for this moiety (e.g. with the Hill system)"/>
          <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="SubstanceDefinition.moiety.amount[x]"/>
        <text value="Quantitative value for this moiety"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.amount[x]-flyover"/>
          <text value="Quantitative value for this moiety."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.amount[x]._type"/>
          <text value="type"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
          <answerValueSet value="#vs2"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="SubstanceDefinition.moiety.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.moiety.amount[x]._null.comparator"/>
              <text value="comp:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.moiety.amount[x]._null.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.moiety.amount[x]._null.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.moiety.amount[x]._null.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.moiety.amount[x]._null.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="string"/>
            </extension>
            <linkId value="SubstanceDefinition.moiety.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.moiety.amount[x]._null.value"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.moiety.measurementType"/>
        <text value="The measurement type of the quantitative value"/>
        <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>
          <linkId value="SubstanceDefinition.moiety.measurementType-flyover"/>
          <text value="The measurement type of the quantitative value. In capturing the actual relative amounts of substances or molecular fragments it may be necessary to indicate whether the amount refers to, for example, a mole ratio or weight ratio."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.measurementType.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.moiety.measurementType.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.characterization"/>
      <text value="General specifications for this substance"/>
      <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>
        <linkId value="SubstanceDefinition.characterization-flyover"/>
        <text value="General specifications for this substance."/>
        <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="SubstanceDefinition.characterization.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>
          <linkId value="SubstanceDefinition.characterization.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.characterization.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.characterization.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>
          <linkId value="SubstanceDefinition.characterization.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.characterization.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.characterization.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.characterization.technique"/>
        <text value="The method used to find the characterization e.g. HPLC"/>
        <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>
          <linkId value="SubstanceDefinition.characterization.technique-flyover"/>
          <text value="The method used to elucidate the characterization of the drug substance. Example: HPLC."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.characterization.technique.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.characterization.technique.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.characterization.form"/>
        <text value="Describes the nature of the chemical entity and explains, for instance, whether this is a base or a salt form"/>
        <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>
          <linkId value="SubstanceDefinition.characterization.form-flyover"/>
          <text value="Describes the nature of the chemical entity and explains, for instance, whether this is a base or a salt form."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.characterization.form.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.characterization.form.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="SubstanceDefinition.characterization.description"/>
        <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>
          <linkId value="SubstanceDefinition.characterization.description-flyover"/>
          <text value="The description or justification in support of the interpretation of the data file."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.characterization.description.value"/>
          <text value="The description or justification in support of the interpretation of the data file"/>
          <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="SubstanceDefinition.characterization.file"/>
        <text value="The data produced by the analytical instrument or a pictorial representation of that data. Examples: a JCAMP, JDX, or ADX file, or a chromatogram or spectrum analysis"/>
        <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>
          <linkId value="SubstanceDefinition.characterization.file-flyover"/>
          <text value="The data produced by the analytical instrument or a pictorial representation of that data. Examples: a JCAMP, JDX, or ADX file, or a chromatogram or spectrum analysis."/>
          <type value="display"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.property"/>
      <text value="General specifications for this substance"/>
      <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>
        <linkId value="SubstanceDefinition.property-flyover"/>
        <text value="General specifications for this substance."/>
        <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="SubstanceDefinition.property.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>
          <linkId value="SubstanceDefinition.property.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.property.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.property.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>
          <linkId value="SubstanceDefinition.property.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.property.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.property.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.property.type"/>
        <text value="A code expressing the type of property"/>
        <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>
          <linkId value="SubstanceDefinition.property.type-flyover"/>
          <text value="A code expressing the type of property."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.property.type.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.property.type.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>
        <linkId value="SubstanceDefinition.property.value[x]"/>
        <text value="A value for the property"/>
        <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>
          <linkId value="SubstanceDefinition.property.value[x]-flyover"/>
          <text value="A value for the property."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.property.value[x]._type"/>
          <text value="type"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
          <answerValueSet value="#vs3"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.property.value[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="SubstanceDefinition.property.value[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.comparator"/>
              <text value="comp:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.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="datetime"/>
            </extension>
            <linkId value="SubstanceDefinition.property.value[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.value"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="boolean"/>
            </extension>
            <linkId value="SubstanceDefinition.property.value[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.property.value[x]._null.value"/>
              <type value="boolean"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Attachment"/>
            </extension>
            <linkId value="SubstanceDefinition.property.value[x]._null"/>
            <type value="group"/>
          </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="Reference"/>
      </extension>
      <linkId value="SubstanceDefinition.referenceInformation"/>
      <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>
        <linkId value="SubstanceDefinition.referenceInformation-flyover"/>
        <text value="General information detailing this substance."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="SubstanceReferenceInformation"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceDefinition.referenceInformation.value"/>
        <text value="General information detailing this substance"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.molecularWeight"/>
      <text value="The average mass of a molecule of a compound"/>
      <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>
        <linkId value="SubstanceDefinition.molecularWeight-flyover"/>
        <text value="The average mass of a molecule of a compound compared to 1/12 the mass of carbon 12 and calculated as the sum of the atomic weights of the constituent atoms."/>
        <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="SubstanceDefinition.molecularWeight.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>
          <linkId value="SubstanceDefinition.molecularWeight.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.molecularWeight.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>
          <linkId value="SubstanceDefinition.molecularWeight.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.molecularWeight.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.molecularWeight.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.molecularWeight.method"/>
        <text value="The method by which the weight was determined"/>
        <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>
          <linkId value="SubstanceDefinition.molecularWeight.method-flyover"/>
          <text value="The method by which the molecular weight was determined."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.method.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.method.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.molecularWeight.type"/>
        <text value="Type of molecular weight e.g. exact, average, weight average"/>
        <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>
          <linkId value="SubstanceDefinition.molecularWeight.type-flyover"/>
          <text value="Type of molecular weight such as exact, average (also known as. number average), weight average."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.type.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.type.text"/>
          <text value="text:"/>
          <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="Quantity"/>
        </extension>
        <linkId value="SubstanceDefinition.molecularWeight.amount"/>
        <text value="Used to capture quantitative values for a variety of elements"/>
        <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>
          <linkId value="SubstanceDefinition.molecularWeight.amount-flyover"/>
          <text value="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.amount.comparator"/>
          <text value="comp:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.amount.value"/>
          <text value="value:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.amount.units"/>
          <text value="units:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.amount.code"/>
          <text value="coded units:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.amount.system"/>
          <text value="units system:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="SubstanceDefinition.structure"/>
      <text value="Structural information"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="false"/>
      <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>
        <linkId value="SubstanceDefinition.structure-flyover"/>
        <text value="Structural information."/>
        <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="SubstanceDefinition.structure.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>
          <linkId value="SubstanceDefinition.structure.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.structure.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>
          <linkId value="SubstanceDefinition.structure.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.structure.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.structure.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.structure.stereochemistry"/>
        <text value="Stereochemistry type"/>
        <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>
          <linkId value="SubstanceDefinition.structure.stereochemistry-flyover"/>
          <text value="Stereochemistry type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.stereochemistry.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.stereochemistry.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.structure.opticalActivity"/>
        <text value="Optical activity type"/>
        <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>
          <linkId value="SubstanceDefinition.structure.opticalActivity-flyover"/>
          <text value="Optical activity type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.opticalActivity.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.opticalActivity.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="SubstanceDefinition.structure.molecularFormula"/>
        <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>
          <linkId value="SubstanceDefinition.structure.molecularFormula-flyover"/>
          <text value="An expression which states the number and type of atoms present in a molecule of a substance."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.molecularFormula.value"/>
          <text value="An expression which states the number and type of atoms present in a molecule of a substance"/>
          <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="SubstanceDefinition.structure.molecularFormulaByMoiety"/>
        <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>
          <linkId value="SubstanceDefinition.structure.molecularFormulaByMoiety-flyover"/>
          <text value="Specified per moiety according to the Hill system, i.e. first C, then H, then alphabetical, each moiety separated by a dot."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.molecularFormulaByMoiety.value"/>
          <text value="Specified per moiety according to the Hill system"/>
          <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="SubstanceDefinition.structure.molecularWeight"/>
        <text value="The molecular weight or weight range"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="false"/>
        <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>
          <linkId value="SubstanceDefinition.structure.molecularWeight-flyover"/>
          <text value="The molecular weight or weight range (for proteins, polymers or nucleic acids)."/>
          <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="SubstanceDefinition.molecularWeight.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>
            <linkId value="SubstanceDefinition.molecularWeight.id-flyover"/>
            <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.id.value"/>
            <text value="Unique id for inter-element referencing"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.molecularWeight.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>
            <linkId value="SubstanceDefinition.molecularWeight.extension-flyover"/>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.molecularWeight.modifierExtension"/>
          <text value="Extensions that cannot be ignored even if unrecognized"/>
          <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>
            <linkId value="SubstanceDefinition.molecularWeight.modifierExtension-flyover"/>
            <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.molecularWeight.method"/>
          <text value="The method by which the weight was determined"/>
          <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>
            <linkId value="SubstanceDefinition.molecularWeight.method-flyover"/>
            <text value="The method by which the molecular weight was determined."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.method.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.method.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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.molecularWeight.type"/>
          <text value="Type of molecular weight e.g. exact, average, weight average"/>
          <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>
            <linkId value="SubstanceDefinition.molecularWeight.type-flyover"/>
            <text value="Type of molecular weight such as exact, average (also known as. number average), weight average."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.type.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.type.text"/>
            <text value="text:"/>
            <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="Quantity"/>
          </extension>
          <linkId value="SubstanceDefinition.molecularWeight.amount"/>
          <text value="Used to capture quantitative values for a variety of elements"/>
          <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>
            <linkId value="SubstanceDefinition.molecularWeight.amount-flyover"/>
            <text value="Used to capture quantitative values for a variety of elements. If only limits are given, the arithmetic mean would be the average. If only a single definite value for a given element is given, it would be captured in this field."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.amount.comparator"/>
            <text value="comp:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.amount.value"/>
            <text value="value:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.amount.units"/>
            <text value="units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.amount.code"/>
            <text value="coded units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.molecularWeight.amount.system"/>
            <text value="units system:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.structure.technique"/>
        <text value="The method used to find the structure e.g. X-ray, NMR"/>
        <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>
          <linkId value="SubstanceDefinition.structure.technique-flyover"/>
          <text value="The method used to elucidate the structure of the drug substance. Examples: X-ray, NMR, Peptide mapping, Ligand binding assay."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.technique.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.technique.text"/>
          <text value="text:"/>
          <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="SubstanceDefinition.structure.sourceDocument"/>
        <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>
          <linkId value="SubstanceDefinition.structure.sourceDocument-flyover"/>
          <text value="The source of information about the structure."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
            <valueCode value="DocumentReference"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
            <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
          </extension>
          <linkId value="SubstanceDefinition.structure.sourceDocument.value"/>
          <text value="Source of information for the structure"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.structure.representation"/>
        <text value="A depiction of the structure of the substance"/>
        <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>
          <linkId value="SubstanceDefinition.structure.representation-flyover"/>
          <text value="A depiction of the structure of the substance."/>
          <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="SubstanceDefinition.structure.representation.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>
            <linkId value="SubstanceDefinition.structure.representation.id-flyover"/>
            <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.structure.representation.id.value"/>
            <text value="Unique id for inter-element referencing"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.structure.representation.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>
            <linkId value="SubstanceDefinition.structure.representation.extension-flyover"/>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.structure.representation.modifierExtension"/>
          <text value="Extensions that cannot be ignored even if unrecognized"/>
          <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>
            <linkId value="SubstanceDefinition.structure.representation.modifierExtension-flyover"/>
            <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.structure.representation.type"/>
          <text value="The kind of structural representation (e.g. full, partial)"/>
          <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>
            <linkId value="SubstanceDefinition.structure.representation.type-flyover"/>
            <text value="The kind of structural representation (e.g. full, partial)."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.structure.representation.type.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.structure.representation.type.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="SubstanceDefinition.structure.representation.representation"/>
          <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>
            <linkId value="SubstanceDefinition.structure.representation.representation-flyover"/>
            <text value="The structural representation as a text string in a standard format."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.structure.representation.representation.value"/>
            <text value="The structural representation as a text string in a standard format"/>
            <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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.structure.representation.format"/>
          <text value="The format of the representation e.g. InChI, SMILES, MOLFILE (note: not the physical file format)"/>
          <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>
            <linkId value="SubstanceDefinition.structure.representation.format-flyover"/>
            <text value="The format of the representation e.g. InChI, SMILES, MOLFILE, CDX, SDF, PDB, mmCIF. The logical content type rather than the physical file format of a document."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.structure.representation.format.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.structure.representation.format.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="Reference"/>
          </extension>
          <linkId value="SubstanceDefinition.structure.representation.document"/>
          <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>
            <linkId value="SubstanceDefinition.structure.representation.document-flyover"/>
            <text value="An attached file with the structural representation e.g. a molecular structure graphic of the substance, a JCAMP or AnIML file."/>
            <type value="display"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
              <valueCode value="DocumentReference"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="SubstanceDefinition.structure.representation.document.value"/>
            <text value="An attachment with the structural representation e.g. a structure graphic or AnIML file"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.code"/>
      <text value="Codes associated with the substance"/>
      <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>
        <linkId value="SubstanceDefinition.code-flyover"/>
        <text value="Codes associated with the substance."/>
        <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="SubstanceDefinition.code.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>
          <linkId value="SubstanceDefinition.code.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.code.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.code.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>
          <linkId value="SubstanceDefinition.code.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.code.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.code.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.code.code"/>
        <text value="The specific code"/>
        <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>
          <linkId value="SubstanceDefinition.code.code-flyover"/>
          <text value="The specific code."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.code.code.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.code.code.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.code.status"/>
        <text value="Status of the code assignment, for example 'provisional', 'approved'"/>
        <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>
          <linkId value="SubstanceDefinition.code.status-flyover"/>
          <text value="Status of the code assignment, for example 'provisional', 'approved'."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.code.status.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.code.status.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="datetime"/>
        </extension>
        <linkId value="SubstanceDefinition.code.statusDate"/>
        <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>
          <linkId value="SubstanceDefinition.code.statusDate-flyover"/>
          <text value="The date at which the code status was changed as part of the terminology maintenance."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.code.statusDate.value"/>
          <text value="The date at which the code status was changed"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Annotation"/>
        </extension>
        <linkId value="SubstanceDefinition.code.note"/>
        <text value="Any comment can be provided in this field"/>
        <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>
          <linkId value="SubstanceDefinition.code.note-flyover"/>
          <text value="Any comment can be provided in this field, if necessary."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Reference"/>
        </extension>
        <linkId value="SubstanceDefinition.code.source"/>
        <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>
          <linkId value="SubstanceDefinition.code.source-flyover"/>
          <text value="Supporting literature."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
            <valueCode value="DocumentReference"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
            <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
          </extension>
          <linkId value="SubstanceDefinition.code.source.value"/>
          <text value="Supporting literature"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.name"/>
      <text value="Names applicable to this substance"/>
      <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>
        <linkId value="SubstanceDefinition.name-flyover"/>
        <text value="Names applicable to this substance."/>
        <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="SubstanceDefinition.name.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>
          <linkId value="SubstanceDefinition.name.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.name.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>
          <linkId value="SubstanceDefinition.name.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.name.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="SubstanceDefinition.name.name"/>
        <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>
          <linkId value="SubstanceDefinition.name.name-flyover"/>
          <text value="The actual name."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.name.value"/>
          <text value="The actual name"/>
          <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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.name.type"/>
        <text value="Name type e.g. 'systematic',  'scientific, 'brand'"/>
        <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>
          <linkId value="SubstanceDefinition.name.type-flyover"/>
          <text value="Name type, for example 'systematic',  'scientific, 'brand'."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.type.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.type.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.name.status"/>
        <text value="The status of the name e.g. 'current', 'proposed'"/>
        <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>
          <linkId value="SubstanceDefinition.name.status-flyover"/>
          <text value="The status of the name, for example 'current', 'proposed'."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.status.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.status.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="boolean"/>
        </extension>
        <linkId value="SubstanceDefinition.name.preferred"/>
        <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>
          <linkId value="SubstanceDefinition.name.preferred-flyover"/>
          <text value="If this is the preferred name for this substance."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.preferred.value"/>
          <text value="If this is the preferred name for this substance"/>
          <type value="boolean"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.name.language"/>
        <text value="Human language that the name is written in"/>
        <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>
          <linkId value="SubstanceDefinition.name.language-flyover"/>
          <text value="Human language that the name is written in."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.language.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOrType"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.language.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.name.domain"/>
        <text value="The use context of this name e.g. as an active ingredient or as a food colour additive"/>
        <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>
          <linkId value="SubstanceDefinition.name.domain-flyover"/>
          <text value="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.domain.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.domain.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.name.jurisdiction"/>
        <text value="The jurisdiction where this name applies"/>
        <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>
          <linkId value="SubstanceDefinition.name.jurisdiction-flyover"/>
          <text value="The jurisdiction where this name applies."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.jurisdiction.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.jurisdiction.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.name.synonym"/>
        <text value="A synonym of this particular name, by which the substance is also known"/>
        <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>
          <linkId value="SubstanceDefinition.name.synonym-flyover"/>
          <text value="A synonym of this particular name, by which the substance is also known."/>
          <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="SubstanceDefinition.name.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>
            <linkId value="SubstanceDefinition.name.id-flyover"/>
            <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.id.value"/>
            <text value="Unique id for inter-element referencing"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.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>
            <linkId value="SubstanceDefinition.name.extension-flyover"/>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.modifierExtension"/>
          <text value="Extensions that cannot be ignored even if unrecognized"/>
          <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>
            <linkId value="SubstanceDefinition.name.modifierExtension-flyover"/>
            <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="SubstanceDefinition.name.name"/>
          <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>
            <linkId value="SubstanceDefinition.name.name-flyover"/>
            <text value="The actual name."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.name.value"/>
            <text value="The actual name"/>
            <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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.type"/>
          <text value="Name type e.g. 'systematic',  'scientific, 'brand'"/>
          <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>
            <linkId value="SubstanceDefinition.name.type-flyover"/>
            <text value="Name type, for example 'systematic',  'scientific, 'brand'."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.type.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.type.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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.status"/>
          <text value="The status of the name e.g. 'current', 'proposed'"/>
          <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>
            <linkId value="SubstanceDefinition.name.status-flyover"/>
            <text value="The status of the name, for example 'current', 'proposed'."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.status.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.status.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="boolean"/>
          </extension>
          <linkId value="SubstanceDefinition.name.preferred"/>
          <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>
            <linkId value="SubstanceDefinition.name.preferred-flyover"/>
            <text value="If this is the preferred name for this substance."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.preferred.value"/>
            <text value="If this is the preferred name for this substance"/>
            <type value="boolean"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.language"/>
          <text value="Human language that the name is written in"/>
          <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>
            <linkId value="SubstanceDefinition.name.language-flyover"/>
            <text value="Human language that the name is written in."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.language.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOrType"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.language.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.domain"/>
          <text value="The use context of this name e.g. as an active ingredient or as a food colour additive"/>
          <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>
            <linkId value="SubstanceDefinition.name.domain-flyover"/>
            <text value="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.domain.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.domain.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.jurisdiction"/>
          <text value="The jurisdiction where this name applies"/>
          <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>
            <linkId value="SubstanceDefinition.name.jurisdiction-flyover"/>
            <text value="The jurisdiction where this name applies."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.jurisdiction.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.jurisdiction.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.synonym.translation"/>
          <text value="A translation for this name into another human 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>
            <linkId value="SubstanceDefinition.name.translation-flyover"/>
            <text value="A translation for this name into another human language."/>
            <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="SubstanceDefinition.name.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>
              <linkId value="SubstanceDefinition.name.id-flyover"/>
              <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.id.value"/>
              <text value="Unique id for inter-element referencing"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.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>
              <linkId value="SubstanceDefinition.name.extension-flyover"/>
              <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.modifierExtension"/>
            <text value="Extensions that cannot be ignored even if unrecognized"/>
            <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>
              <linkId value="SubstanceDefinition.name.modifierExtension-flyover"/>
              <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="SubstanceDefinition.name.name"/>
            <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>
              <linkId value="SubstanceDefinition.name.name-flyover"/>
              <text value="The actual name."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.name.value"/>
              <text value="The actual name"/>
              <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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.type"/>
            <text value="Name type e.g. 'systematic',  'scientific, 'brand'"/>
            <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>
              <linkId value="SubstanceDefinition.name.type-flyover"/>
              <text value="Name type, for example 'systematic',  'scientific, 'brand'."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.type.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.type.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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.status"/>
            <text value="The status of the name e.g. 'current', 'proposed'"/>
            <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>
              <linkId value="SubstanceDefinition.name.status-flyover"/>
              <text value="The status of the name, for example 'current', 'proposed'."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.status.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.status.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="boolean"/>
            </extension>
            <linkId value="SubstanceDefinition.name.preferred"/>
            <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>
              <linkId value="SubstanceDefinition.name.preferred-flyover"/>
              <text value="If this is the preferred name for this substance."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.preferred.value"/>
              <text value="If this is the preferred name for this substance"/>
              <type value="boolean"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.language"/>
            <text value="Human language that the name is written in"/>
            <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>
              <linkId value="SubstanceDefinition.name.language-flyover"/>
              <text value="Human language that the name is written in."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.language.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOrType"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.language.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.domain"/>
            <text value="The use context of this name e.g. as an active ingredient or as a food colour additive"/>
            <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>
              <linkId value="SubstanceDefinition.name.domain-flyover"/>
              <text value="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.domain.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.domain.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.jurisdiction"/>
            <text value="The jurisdiction where this name applies"/>
            <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>
              <linkId value="SubstanceDefinition.name.jurisdiction-flyover"/>
              <text value="The jurisdiction where this name applies."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.jurisdiction.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.jurisdiction.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.synonym.translation.official"/>
            <text value="Details of the official nature of this name"/>
            <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>
              <linkId value="SubstanceDefinition.name.official-flyover"/>
              <text value="Details of the official nature of this name."/>
              <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="SubstanceDefinition.name.official.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>
                <linkId value="SubstanceDefinition.name.official.id-flyover"/>
                <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.id.value"/>
                <text value="Unique id for inter-element referencing"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.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>
                <linkId value="SubstanceDefinition.name.official.extension-flyover"/>
                <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.official.modifierExtension"/>
              <text value="Extensions that cannot be ignored even if unrecognized"/>
              <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>
                <linkId value="SubstanceDefinition.name.official.modifierExtension-flyover"/>
                <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
              </extension>
              <linkId value="SubstanceDefinition.name.official.authority"/>
              <text value="Which authority uses this official name"/>
              <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>
                <linkId value="SubstanceDefinition.name.official.authority-flyover"/>
                <text value="Which authority uses this official name."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.authority.coding"/>
                <text value="code:"/>
                <type value="coding"/>
                <required value="false"/>
                <repeats value="false"/>
                <answerConstraint value="optionsOnly"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.authority.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="CodeableConcept"/>
              </extension>
              <linkId value="SubstanceDefinition.name.official.status"/>
              <text value="The status of the official name, for example 'draft', 'active'"/>
              <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>
                <linkId value="SubstanceDefinition.name.official.status-flyover"/>
                <text value="The status of the official name, for example 'draft', 'active', 'retired'."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.status.coding"/>
                <text value="code:"/>
                <type value="coding"/>
                <required value="false"/>
                <repeats value="false"/>
                <answerConstraint value="optionsOnly"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.status.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="datetime"/>
              </extension>
              <linkId value="SubstanceDefinition.name.official.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>
                <linkId value="SubstanceDefinition.name.official.date-flyover"/>
                <text value="Date of the official name change."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.date.value"/>
                <text value="Date of official name change"/>
                <type value="dateTime"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="SubstanceDefinition.name.source"/>
            <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>
              <linkId value="SubstanceDefinition.name.source-flyover"/>
              <text value="Supporting literature."/>
              <type value="display"/>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
                <valueCode value="DocumentReference"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="SubstanceDefinition.name.source.value"/>
              <text value="Supporting literature"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.synonym.official"/>
          <text value="Details of the official nature of this name"/>
          <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>
            <linkId value="SubstanceDefinition.name.official-flyover"/>
            <text value="Details of the official nature of this name."/>
            <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="SubstanceDefinition.name.official.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>
              <linkId value="SubstanceDefinition.name.official.id-flyover"/>
              <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.id.value"/>
              <text value="Unique id for inter-element referencing"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.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>
              <linkId value="SubstanceDefinition.name.official.extension-flyover"/>
              <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.official.modifierExtension"/>
            <text value="Extensions that cannot be ignored even if unrecognized"/>
            <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>
              <linkId value="SubstanceDefinition.name.official.modifierExtension-flyover"/>
              <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.official.authority"/>
            <text value="Which authority uses this official name"/>
            <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>
              <linkId value="SubstanceDefinition.name.official.authority-flyover"/>
              <text value="Which authority uses this official name."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.authority.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.authority.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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.official.status"/>
            <text value="The status of the official name, for example 'draft', 'active'"/>
            <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>
              <linkId value="SubstanceDefinition.name.official.status-flyover"/>
              <text value="The status of the official name, for example 'draft', 'active', 'retired'."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.status.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.status.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="datetime"/>
            </extension>
            <linkId value="SubstanceDefinition.name.official.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>
              <linkId value="SubstanceDefinition.name.official.date-flyover"/>
              <text value="Date of the official name change."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.date.value"/>
              <text value="Date of official name change"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Reference"/>
          </extension>
          <linkId value="SubstanceDefinition.name.source"/>
          <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>
            <linkId value="SubstanceDefinition.name.source-flyover"/>
            <text value="Supporting literature."/>
            <type value="display"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
              <valueCode value="DocumentReference"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="SubstanceDefinition.name.source.value"/>
            <text value="Supporting literature"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.name.translation"/>
        <text value="A translation for this name into another human 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>
          <linkId value="SubstanceDefinition.name.translation-flyover"/>
          <text value="A translation for this name into another human language."/>
          <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="SubstanceDefinition.name.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>
            <linkId value="SubstanceDefinition.name.id-flyover"/>
            <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.id.value"/>
            <text value="Unique id for inter-element referencing"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.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>
            <linkId value="SubstanceDefinition.name.extension-flyover"/>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.modifierExtension"/>
          <text value="Extensions that cannot be ignored even if unrecognized"/>
          <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>
            <linkId value="SubstanceDefinition.name.modifierExtension-flyover"/>
            <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="SubstanceDefinition.name.name"/>
          <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>
            <linkId value="SubstanceDefinition.name.name-flyover"/>
            <text value="The actual name."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.name.value"/>
            <text value="The actual name"/>
            <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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.type"/>
          <text value="Name type e.g. 'systematic',  'scientific, 'brand'"/>
          <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>
            <linkId value="SubstanceDefinition.name.type-flyover"/>
            <text value="Name type, for example 'systematic',  'scientific, 'brand'."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.type.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.type.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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.status"/>
          <text value="The status of the name e.g. 'current', 'proposed'"/>
          <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>
            <linkId value="SubstanceDefinition.name.status-flyover"/>
            <text value="The status of the name, for example 'current', 'proposed'."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.status.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.status.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="boolean"/>
          </extension>
          <linkId value="SubstanceDefinition.name.preferred"/>
          <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>
            <linkId value="SubstanceDefinition.name.preferred-flyover"/>
            <text value="If this is the preferred name for this substance."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.preferred.value"/>
            <text value="If this is the preferred name for this substance"/>
            <type value="boolean"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.language"/>
          <text value="Human language that the name is written in"/>
          <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>
            <linkId value="SubstanceDefinition.name.language-flyover"/>
            <text value="Human language that the name is written in."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.language.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOrType"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.language.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.domain"/>
          <text value="The use context of this name e.g. as an active ingredient or as a food colour additive"/>
          <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>
            <linkId value="SubstanceDefinition.name.domain-flyover"/>
            <text value="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.domain.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.domain.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.jurisdiction"/>
          <text value="The jurisdiction where this name applies"/>
          <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>
            <linkId value="SubstanceDefinition.name.jurisdiction-flyover"/>
            <text value="The jurisdiction where this name applies."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.jurisdiction.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.jurisdiction.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.translation.synonym"/>
          <text value="A synonym of this particular name, by which the substance is also known"/>
          <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>
            <linkId value="SubstanceDefinition.name.synonym-flyover"/>
            <text value="A synonym of this particular name, by which the substance is also known."/>
            <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="SubstanceDefinition.name.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>
              <linkId value="SubstanceDefinition.name.id-flyover"/>
              <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.id.value"/>
              <text value="Unique id for inter-element referencing"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.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>
              <linkId value="SubstanceDefinition.name.extension-flyover"/>
              <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.modifierExtension"/>
            <text value="Extensions that cannot be ignored even if unrecognized"/>
            <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>
              <linkId value="SubstanceDefinition.name.modifierExtension-flyover"/>
              <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="SubstanceDefinition.name.name"/>
            <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>
              <linkId value="SubstanceDefinition.name.name-flyover"/>
              <text value="The actual name."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.name.value"/>
              <text value="The actual name"/>
              <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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.type"/>
            <text value="Name type e.g. 'systematic',  'scientific, 'brand'"/>
            <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>
              <linkId value="SubstanceDefinition.name.type-flyover"/>
              <text value="Name type, for example 'systematic',  'scientific, 'brand'."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.type.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.type.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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.status"/>
            <text value="The status of the name e.g. 'current', 'proposed'"/>
            <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>
              <linkId value="SubstanceDefinition.name.status-flyover"/>
              <text value="The status of the name, for example 'current', 'proposed'."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.status.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.status.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="boolean"/>
            </extension>
            <linkId value="SubstanceDefinition.name.preferred"/>
            <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>
              <linkId value="SubstanceDefinition.name.preferred-flyover"/>
              <text value="If this is the preferred name for this substance."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.preferred.value"/>
              <text value="If this is the preferred name for this substance"/>
              <type value="boolean"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.language"/>
            <text value="Human language that the name is written in"/>
            <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>
              <linkId value="SubstanceDefinition.name.language-flyover"/>
              <text value="Human language that the name is written in."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.language.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOrType"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.language.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.domain"/>
            <text value="The use context of this name e.g. as an active ingredient or as a food colour additive"/>
            <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>
              <linkId value="SubstanceDefinition.name.domain-flyover"/>
              <text value="The use context of this name for example if there is a different name a drug active ingredient as opposed to a food colour additive."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.domain.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.domain.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.jurisdiction"/>
            <text value="The jurisdiction where this name applies"/>
            <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>
              <linkId value="SubstanceDefinition.name.jurisdiction-flyover"/>
              <text value="The jurisdiction where this name applies."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.jurisdiction.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.jurisdiction.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.translation.synonym.official"/>
            <text value="Details of the official nature of this name"/>
            <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>
              <linkId value="SubstanceDefinition.name.official-flyover"/>
              <text value="Details of the official nature of this name."/>
              <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="SubstanceDefinition.name.official.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>
                <linkId value="SubstanceDefinition.name.official.id-flyover"/>
                <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.id.value"/>
                <text value="Unique id for inter-element referencing"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.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>
                <linkId value="SubstanceDefinition.name.official.extension-flyover"/>
                <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.official.modifierExtension"/>
              <text value="Extensions that cannot be ignored even if unrecognized"/>
              <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>
                <linkId value="SubstanceDefinition.name.official.modifierExtension-flyover"/>
                <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
              </extension>
              <linkId value="SubstanceDefinition.name.official.authority"/>
              <text value="Which authority uses this official name"/>
              <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>
                <linkId value="SubstanceDefinition.name.official.authority-flyover"/>
                <text value="Which authority uses this official name."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.authority.coding"/>
                <text value="code:"/>
                <type value="coding"/>
                <required value="false"/>
                <repeats value="false"/>
                <answerConstraint value="optionsOnly"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.authority.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="CodeableConcept"/>
              </extension>
              <linkId value="SubstanceDefinition.name.official.status"/>
              <text value="The status of the official name, for example 'draft', 'active'"/>
              <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>
                <linkId value="SubstanceDefinition.name.official.status-flyover"/>
                <text value="The status of the official name, for example 'draft', 'active', 'retired'."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.status.coding"/>
                <text value="code:"/>
                <type value="coding"/>
                <required value="false"/>
                <repeats value="false"/>
                <answerConstraint value="optionsOnly"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.status.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="datetime"/>
              </extension>
              <linkId value="SubstanceDefinition.name.official.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>
                <linkId value="SubstanceDefinition.name.official.date-flyover"/>
                <text value="Date of the official name change."/>
                <type value="display"/>
              </item>
              <item>
                <linkId value="SubstanceDefinition.name.official.date.value"/>
                <text value="Date of official name change"/>
                <type value="dateTime"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="SubstanceDefinition.name.source"/>
            <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>
              <linkId value="SubstanceDefinition.name.source-flyover"/>
              <text value="Supporting literature."/>
              <type value="display"/>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
                <valueCode value="DocumentReference"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="SubstanceDefinition.name.source.value"/>
              <text value="Supporting literature"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.translation.official"/>
          <text value="Details of the official nature of this name"/>
          <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>
            <linkId value="SubstanceDefinition.name.official-flyover"/>
            <text value="Details of the official nature of this name."/>
            <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="SubstanceDefinition.name.official.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>
              <linkId value="SubstanceDefinition.name.official.id-flyover"/>
              <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.id.value"/>
              <text value="Unique id for inter-element referencing"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.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>
              <linkId value="SubstanceDefinition.name.official.extension-flyover"/>
              <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.official.modifierExtension"/>
            <text value="Extensions that cannot be ignored even if unrecognized"/>
            <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>
              <linkId value="SubstanceDefinition.name.official.modifierExtension-flyover"/>
              <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.official.authority"/>
            <text value="Which authority uses this official name"/>
            <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>
              <linkId value="SubstanceDefinition.name.official.authority-flyover"/>
              <text value="Which authority uses this official name."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.authority.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.authority.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="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.name.official.status"/>
            <text value="The status of the official name, for example 'draft', 'active'"/>
            <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>
              <linkId value="SubstanceDefinition.name.official.status-flyover"/>
              <text value="The status of the official name, for example 'draft', 'active', 'retired'."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.status.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.status.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="datetime"/>
            </extension>
            <linkId value="SubstanceDefinition.name.official.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>
              <linkId value="SubstanceDefinition.name.official.date-flyover"/>
              <text value="Date of the official name change."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.name.official.date.value"/>
              <text value="Date of official name change"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Reference"/>
          </extension>
          <linkId value="SubstanceDefinition.name.source"/>
          <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>
            <linkId value="SubstanceDefinition.name.source-flyover"/>
            <text value="Supporting literature."/>
            <type value="display"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
              <valueCode value="DocumentReference"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="SubstanceDefinition.name.source.value"/>
            <text value="Supporting literature"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.name.official"/>
        <text value="Details of the official nature of this name"/>
        <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>
          <linkId value="SubstanceDefinition.name.official-flyover"/>
          <text value="Details of the official nature of this name."/>
          <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="SubstanceDefinition.name.official.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>
            <linkId value="SubstanceDefinition.name.official.id-flyover"/>
            <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.id.value"/>
            <text value="Unique id for inter-element referencing"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceDefinition.name.official.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>
            <linkId value="SubstanceDefinition.name.official.extension-flyover"/>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.name.official.modifierExtension"/>
          <text value="Extensions that cannot be ignored even if unrecognized"/>
          <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>
            <linkId value="SubstanceDefinition.name.official.modifierExtension-flyover"/>
            <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.official.authority"/>
          <text value="Which authority uses this official name"/>
          <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>
            <linkId value="SubstanceDefinition.name.official.authority-flyover"/>
            <text value="Which authority uses this official name."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.authority.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.authority.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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceDefinition.name.official.status"/>
          <text value="The status of the official name, for example 'draft', 'active'"/>
          <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>
            <linkId value="SubstanceDefinition.name.official.status-flyover"/>
            <text value="The status of the official name, for example 'draft', 'active', 'retired'."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.status.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.status.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="datetime"/>
          </extension>
          <linkId value="SubstanceDefinition.name.official.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>
            <linkId value="SubstanceDefinition.name.official.date-flyover"/>
            <text value="Date of the official name change."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceDefinition.name.official.date.value"/>
            <text value="Date of official name change"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Reference"/>
        </extension>
        <linkId value="SubstanceDefinition.name.source"/>
        <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>
          <linkId value="SubstanceDefinition.name.source-flyover"/>
          <text value="Supporting literature."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
            <valueCode value="DocumentReference"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
            <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
          </extension>
          <linkId value="SubstanceDefinition.name.source.value"/>
          <text value="Supporting literature"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceDefinition.relationship"/>
      <text value="A link between this substance and another"/>
      <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>
        <linkId value="SubstanceDefinition.relationship-flyover"/>
        <text value="A link between this substance and another, with details of the relationship."/>
        <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="SubstanceDefinition.relationship.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>
          <linkId value="SubstanceDefinition.relationship.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.relationship.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>
          <linkId value="SubstanceDefinition.relationship.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.relationship.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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>
        <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]"/>
        <text value="A pointer to another substance, as a resource or a representational code"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]-flyover"/>
          <text value="A pointer to another substance, as a resource or just a representational code."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]._type"/>
          <text value="type"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
          <answerValueSet value="#vs4"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]._null"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
                <valueCode value="SubstanceDefinition"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]._null.value"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]._null.coding"/>
              <text value="code:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.relationship.substanceDefinition[x]._null.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.relationship.type"/>
        <text value="For example &quot;salt to parent&quot;, &quot;active moiety&quot;"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.type-flyover"/>
          <text value="For example &quot;salt to parent&quot;, &quot;active moiety&quot;, &quot;starting material&quot;, &quot;polymorph&quot;, &quot;impurity of&quot;."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.type.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.type.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="boolean"/>
        </extension>
        <linkId value="SubstanceDefinition.relationship.isDefining"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.isDefining-flyover"/>
          <text value="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible substance relationships."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.isDefining.value"/>
          <text value="For example where an enzyme strongly bonds with a particular substance, this is a defining relationship for that enzyme, out of several possible relationships"/>
          <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="SubstanceDefinition.relationship.amount[x]"/>
        <text value="A numeric factor for the relationship, e.g. that a substance salt has some percentage of active substance in relation to some other"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.amount[x]-flyover"/>
          <text value="A numeric factor for the relationship, for instance to express that the salt of a substance has some percentage of the active substance in relation to some other."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.amount[x]._type"/>
          <text value="type"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
          <answerValueSet value="#vs5"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="SubstanceDefinition.relationship.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.comparator"/>
              <text value="comp:"/>
              <type value="coding"/>
              <required value="false"/>
              <repeats value="false"/>
              <answerConstraint value="optionsOnly"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.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="Ratio"/>
            </extension>
            <linkId value="SubstanceDefinition.relationship.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.numerator"/>
              <text value="numerator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.denominator"/>
              <text value="denominator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="SubstanceDefinition.relationship.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceDefinition.relationship.amount[x]._null.value"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </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="Ratio"/>
        </extension>
        <linkId value="SubstanceDefinition.relationship.ratioHighLimitAmount"/>
        <text value="For use when the numeric has an uncertain range"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.ratioHighLimitAmount-flyover"/>
          <text value="For use when the numeric has an uncertain range."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.ratioHighLimitAmount.numerator"/>
          <text value="numerator:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.ratioHighLimitAmount.denominator"/>
          <text value="denominator:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.ratioHighLimitAmount.units"/>
          <text value="units:"/>
          <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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.relationship.comparator"/>
        <text value="An operator for the amount, for example &quot;average&quot;, &quot;approximately&quot;, &quot;less than&quot;"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.comparator-flyover"/>
          <text value="An operator for the amount, for example &quot;average&quot;, &quot;approximately&quot;, &quot;less than&quot;."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.comparator.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.relationship.comparator.text"/>
          <text value="text:"/>
          <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="SubstanceDefinition.relationship.source"/>
        <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>
          <linkId value="SubstanceDefinition.relationship.source-flyover"/>
          <text value="Supporting literature."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
            <valueCode value="DocumentReference"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
            <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
          </extension>
          <linkId value="SubstanceDefinition.relationship.source.value"/>
          <text value="Supporting literature"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </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="Reference"/>
      </extension>
      <linkId value="SubstanceDefinition.nucleicAcid"/>
      <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>
        <linkId value="SubstanceDefinition.nucleicAcid-flyover"/>
        <text value="Data items specific to nucleic acids."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="SubstanceNucleicAcid"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceDefinition.nucleicAcid.value"/>
        <text value="Data items specific to nucleic acids"/>
        <type value="reference"/>
        <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="SubstanceDefinition.polymer"/>
      <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>
        <linkId value="SubstanceDefinition.polymer-flyover"/>
        <text value="Data items specific to polymers."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="SubstancePolymer"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceDefinition.polymer.value"/>
        <text value="Data items specific to polymers"/>
        <type value="reference"/>
        <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="SubstanceDefinition.protein"/>
      <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>
        <linkId value="SubstanceDefinition.protein-flyover"/>
        <text value="Data items specific to proteins."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="SubstanceProtein"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceDefinition.protein.value"/>
        <text value="Data items specific to proteins"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="SubstanceDefinition.sourceMaterial"/>
      <text value="Material or taxonomic/anatomical source"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="false"/>
      <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>
        <linkId value="SubstanceDefinition.sourceMaterial-flyover"/>
        <text value="Material or taxonomic/anatomical source for the substance."/>
        <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="SubstanceDefinition.sourceMaterial.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>
          <linkId value="SubstanceDefinition.sourceMaterial.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceDefinition.sourceMaterial.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>
          <linkId value="SubstanceDefinition.sourceMaterial.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. 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="SubstanceDefinition.sourceMaterial.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <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>
          <linkId value="SubstanceDefinition.sourceMaterial.modifierExtension-flyover"/>
          <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 in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.sourceMaterial.type"/>
        <text value="Classification of the origin of the raw material. e.g. cat hair is an Animal source type"/>
        <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>
          <linkId value="SubstanceDefinition.sourceMaterial.type-flyover"/>
          <text value="A classification that provides the origin of the raw material. Example: cat hair would be an Animal source type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.type.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.type.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.sourceMaterial.genus"/>
        <text value="The genus of an organism e.g. the Latin epithet of the plant/animal scientific name"/>
        <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>
          <linkId value="SubstanceDefinition.sourceMaterial.genus-flyover"/>
          <text value="The genus of an organism, typically referring to the Latin epithet of the genus element of the plant/animal scientific name."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.genus.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.genus.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.sourceMaterial.species"/>
        <text value="The species of an organism e.g. the Latin epithet of the species of the plant/animal"/>
        <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>
          <linkId value="SubstanceDefinition.sourceMaterial.species-flyover"/>
          <text value="The species of an organism, typically referring to the Latin epithet of the species of the plant/animal."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.species.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.species.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="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.sourceMaterial.part"/>
        <text value="An anatomical origin of the source material within an organism"/>
        <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>
          <linkId value="SubstanceDefinition.sourceMaterial.part-flyover"/>
          <text value="An anatomical origin of the source material within an organism."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.part.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.part.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceDefinition.sourceMaterial.countryOfOrigin"/>
        <text value="The country or countries where the material is harvested"/>
        <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>
          <linkId value="SubstanceDefinition.sourceMaterial.countryOfOrigin-flyover"/>
          <text value="The country or countries where the material is harvested."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.countryOfOrigin.coding"/>
          <text value="code:"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOrType"/>
        </item>
        <item>
          <linkId value="SubstanceDefinition.sourceMaterial.countryOfOrigin.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </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.