Release 4

This page is part of a downloaded copy of this specification. This page is part of the FHIR Specification (v4.0.1: R4 - Mixed Normative and STU). For a full list of available versions, see the Directory of published versions

Substancespecification-questionnaire.xml

Biomedical Research and Regulation Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Not linked to any defined compartments

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

Generated Questionnaire for SubstanceSpecification

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

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="qs1"/>
  <contained>
    <ValueSet>
      <id value="vs2"/>
      <name value="Type options for SubstanceSpecification.moiety.amount[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceSpecification.moiety.amount[x]"/>
      <expansion>
        <identifier value="urn:uuid:04519bec-5c1b-43b2-9067-2e1ffee37fdc"/>
        <timestamp value="2019-11-01T09:37:02+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs3"/>
      <name value="Type options for SubstanceSpecification.property.definingSubstance[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceSpecification.property.definingSubstance[x]"/>
      <expansion>
        <identifier value="urn:uuid:516fd6ba-9c73-486e-ac3d-5152a88d4f46"/>
        <timestamp value="2019-11-01T09:37:02+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="SubstanceSpecification"/>
          <display value="SubstanceSpecification"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Substance"/>
          <display value="Substance"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs4"/>
      <name value="Type options for SubstanceSpecification.property.amount[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceSpecification.property.amount[x]"/>
      <expansion>
        <identifier value="urn:uuid:93fe4b3e-7fe9-4467-9979-7c23307f6555"/>
        <timestamp value="2019-11-01T09:37:02+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs5"/>
      <name value="Type options for SubstanceSpecification.relationship.substance[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceSpecification.relationship.substance[x]"/>
      <expansion>
        <identifier value="urn:uuid:ebcfd9ef-1dfa-44d1-9ca8-c7f4dbb17aa2"/>
        <timestamp value="2019-11-01T09:37:02+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="SubstanceSpecification"/>
          <display value="SubstanceSpecification"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs6"/>
      <name value="Type options for SubstanceSpecification.relationship.amount[x]"/>
      <status value="active"/>
      <description value="Type options for SubstanceSpecification.relationship.amount[x]"/>
      <expansion>
        <identifier value="urn:uuid:afba9f54-4894-4a98-8e2f-887250ccab4b"/>
        <timestamp value="2019-11-01T09:37:02+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Range"/>
          <display value="Range"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Ratio"/>
          <display value="Ratio"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
  </identifier>
  <version value="4.0.1"/>
  <status value="draft"/>
  <date value="2019-11-01T09:29:23+11:00"/>
  <publisher value="Health Level Seven International (Biomedical Research and Regulation)"/>
  <item>
    <linkId value="SubstanceSpecification"/>
    <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>
      <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="SubstanceSpecification.id"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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="SubstanceSpecification.meta"/>
      <text value="Metadata about the resource"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content 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="SubstanceSpecification.implicitRules"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. 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 it&#39;s narrative along with other profiles, value sets, etc."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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="SubstanceSpecification.language"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.language.value"/>
        <text value="language"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="SubstanceSpecification.text"/>
      <text value="Text summary of the resource, for human interpretation"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A human-readable narrative that contains a summary of the resource and 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 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="SubstanceSpecification.contained"/>
      <text value="Contained, inline Resources"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. 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="SubstanceSpecification.extension"/>
      <text value="Additional content defined by implementations"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.modifierExtension"/>
      <text value="Extensions that cannot be ignored"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#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="Identifier"/>
      </extension>
      <linkId value="SubstanceSpecification.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>
        <text value="Identifier by which this substance is known."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.identifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.identifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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="CodeableConcept"/>
      </extension>
      <linkId value="SubstanceSpecification.type"/>
      <text value="High level categorization, e.g. polymer or nucleic acid"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="High level categorization, e.g. polymer or nucleic acid."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.type.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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="SubstanceSpecification.status"/>
      <text value="Status of substance within the catalogue e.g. 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>
        <text value="Status of substance within the catalogue e.g. approved."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.status.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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="CodeableConcept"/>
      </extension>
      <linkId value="SubstanceSpecification.domain"/>
      <text value="If the substance applies to only 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>
        <text value="If the substance applies to only human or veterinary use."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.domain.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="SubstanceSpecification.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>
        <text value="Textual description of the substance."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
        <text value="Supporting literature."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <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="SubstanceSpecification.source.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-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="SubstanceSpecification.comment"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Textual comment about this record of a substance."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.comment.value"/>
        <text value="Textual comment about this record of a substance"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="SubstanceSpecification.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>
        <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="SubstanceSpecification.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>
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
          <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 manageable, 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="SubstanceSpecification.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>
          <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.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>
          <text value="Role that the moiety is playing."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.moiety.role.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Identifier by which this moiety substance is known."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.moiety.identifier.label"/>
          <text value="label:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.moiety.identifier.system"/>
          <text value="system:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Textual name for this moiety substance."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Stereochemistry type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.moiety.stereochemistry.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Optical activity type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.moiety.opticalActivity.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Molecular formula."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.moiety.molecularFormula.value"/>
          <text value="Molecular formula"/>
          <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="SubstanceSpecification.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>
          <text value="Quantitative value for this moiety."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.moiety.amount[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerValueSet value="#vs2"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="SubstanceSpecification.moiety.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.moiety.amount[x]._null.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.moiety.amount[x]._null.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.moiety.amount[x]._null.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.moiety.amount[x]._null.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.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="SubstanceSpecification.moiety.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.moiety.amount[x]._null.value"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceSpecification.property"/>
      <text value="General specifications for this substance, including how it is related to other substances"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="General specifications for this substance, including how it is related to other substances."/>
        <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="SubstanceSpecification.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>
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
          <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 manageable, 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="SubstanceSpecification.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>
          <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.property.category"/>
        <text value="A category for this property, e.g. Physical, Chemical, Enzymatic"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="A category for this property, e.g. Physical, Chemical, Enzymatic."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.category.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.category.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="SubstanceSpecification.property.code"/>
        <text value="Property type e.g. viscosity, pH, isoelectric point"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Property type e.g. viscosity, pH, isoelectric point."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.code.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.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="string"/>
        </extension>
        <linkId value="SubstanceSpecification.property.parameters"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Parameters that were used in the measurement of a property (e.g. for viscosity: measured at 20C with a pH of 7.1)."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.parameters.value"/>
          <text value="Parameters that were used in the measurement of a property (e.g. for viscosity: measured at 20C with a pH of 7.1)"/>
          <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="SubstanceSpecification.property.definingSubstance[x]"/>
        <text value="A substance upon which a defining property depends (e.g. for solubility: in water, in alcohol)"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="A substance upon which a defining property depends (e.g. for solubility: in water, in alcohol)."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.definingSubstance[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerValueSet value="#vs3"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="SubstanceSpecification.property.definingSubstance[x]._null"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="SubstanceSpecification, Substance"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="SubstanceSpecification.property.definingSubstance[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="SubstanceSpecification.property.definingSubstance[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.property.definingSubstance[x]._null.coding"/>
              <text value="code:"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.property.definingSubstance[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-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="SubstanceSpecification.property.amount[x]"/>
        <text value="Quantitative value for this 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>
          <text value="Quantitative value for this property."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.amount[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerValueSet value="#vs4"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="SubstanceSpecification.property.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.property.amount[x]._null.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.property.amount[x]._null.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.property.amount[x]._null.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.property.amount[x]._null.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.property.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="SubstanceSpecification.property.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.property.amount[x]._null.value"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="SubstanceSpecification.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>
        <text value="General information detailing this substance."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <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="SubstanceSpecification.referenceInformation.value"/>
        <text value="General information detailing this substance"/>
        <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="SubstanceSpecification.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>
        <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="SubstanceSpecification.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>
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
          <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 manageable, 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="SubstanceSpecification.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>
          <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.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>
          <text value="Stereochemistry type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.structure.stereochemistry.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Optical activity type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.structure.opticalActivity.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Molecular formula."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.structure.molecularFormula.value"/>
          <text value="Molecular formula"/>
          <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="SubstanceSpecification.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>
          <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="SubstanceSpecification.structure.molecularFormulaByMoiety.value"/>
          <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="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.structure.isotope"/>
        <text value="Applicable for single substances that contain a radionuclide or a non-natural isotopic ratio"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Applicable for single substances that contain a radionuclide or a non-natural isotopic ratio."/>
          <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="SubstanceSpecification.structure.isotope.id"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.id.value"/>
            <text value="Unique id for inter-element referencing"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceSpecification.structure.isotope.extension"/>
          <text value="Additional content defined by implementations"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.structure.isotope.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>
            <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="Identifier"/>
          </extension>
          <linkId value="SubstanceSpecification.structure.isotope.identifier"/>
          <text value="Substance identifier for each non-natural or radioisotope"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="Substance identifier for each non-natural or radioisotope."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.identifier.label"/>
            <text value="label:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.identifier.system"/>
            <text value="system:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.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="CodeableConcept"/>
          </extension>
          <linkId value="SubstanceSpecification.structure.isotope.name"/>
          <text value="Substance name for each non-natural or radioisotope"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="Substance name for each non-natural or radioisotope."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.name.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.name.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="SubstanceSpecification.structure.isotope.substitution"/>
          <text value="The type of isotopic substitution present in a single 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>
            <text value="The type of isotopic substitution present in a single substance."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.substitution.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.substitution.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="Quantity"/>
          </extension>
          <linkId value="SubstanceSpecification.structure.isotope.halfLife"/>
          <text value="Half life - for a non-natural nuclide"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="Half life - for a non-natural nuclide."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.halfLife.comparator"/>
            <text value="comp:"/>
            <type value="choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.halfLife.value"/>
            <text value="value:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.halfLife.units"/>
            <text value="units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.halfLife.code"/>
            <text value="coded units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.halfLife.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-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <linkId value="SubstanceSpecification.structure.isotope.molecularWeight"/>
          <text value="The molecular weight or weight range (for proteins, polymers or nucleic acids)"/>
          <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>
            <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="SubstanceSpecification.structure.isotope.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>
              <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="SubstanceSpecification.structure.isotope.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="SubstanceSpecification.structure.isotope.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>
              <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 manageable, 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="SubstanceSpecification.structure.isotope.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>
              <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.structure.isotope.molecularWeight.method"/>
            <text value="The method by which the molecular 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>
              <text value="The method by which the molecular weight was determined."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.method.coding"/>
              <text value="code:"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.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="SubstanceSpecification.structure.isotope.molecularWeight.type"/>
            <text value="Type of molecular weight such as exact, average (also known as. number 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>
              <text value="Type of molecular weight such as exact, average (also known as. number average), weight average."/>
              <type value="display"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.type.coding"/>
              <text value="code:"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.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-maxOccurs">
              <valueInteger value="1"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.amount"/>
            <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="group"/>
            <required value="false"/>
            <repeats value="true"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
                <valueCodeableConcept>
                  <coding>
                    <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                    <code value="flyover"/>
                    <display value="Fly-over"/>
                  </coding>
                </valueCodeableConcept>
              </extension>
              <text value="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="SubstanceSpecification.structure.isotope.molecularWeight.amount.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.amount.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.amount.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.amount.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.amount.system"/>
              <text value="units system:"/>
              <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>
        <linkId value="SubstanceSpecification.structure.molecularWeight"/>
        <text value="The molecular weight or weight range (for proteins, polymers or nucleic acids)"/>
        <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>
          <text value="The molecular weight or weight range (for proteins, polymers or nucleic acids)."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Reference"/>
        </extension>
        <linkId value="SubstanceSpecification.structure.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>
          <text value="Supporting literature."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
            <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="SubstanceSpecification.structure.source.value"/>
          <text value="Supporting literature"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.structure.representation"/>
        <text value="Molecular structural 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>
          <text value="Molecular structural representation."/>
          <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="SubstanceSpecification.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>
            <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="SubstanceSpecification.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="SubstanceSpecification.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>
            <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 manageable, 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="SubstanceSpecification.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>
            <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.structure.representation.type"/>
          <text value="The type of structure (e.g. Full, Partial, Representative)"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="The type of structure (e.g. Full, Partial, Representative)."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.representation.type.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
            <text value="The structural representation as text string in a format e.g. InChI, SMILES, MOLFILE, CDX."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.representation.representation.value"/>
            <text value="The structural representation as text string in a format e.g. InChI, SMILES, MOLFILE, CDX"/>
            <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="Attachment"/>
          </extension>
          <linkId value="SubstanceSpecification.structure.representation.attachment"/>
          <text value="An attached file with the structural 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>
            <text value="An attached file with the structural representation."/>
            <type value="display"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceSpecification.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>
        <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="SubstanceSpecification.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>
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
          <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 manageable, 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="SubstanceSpecification.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>
          <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.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>
          <text value="The specific code."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.code.code.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.code.status"/>
        <text value="Status of the code assignment"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Status of the code assignment."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.code.status.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="The date at which the code status is changed as part of the terminology maintenance."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.code.statusDate.value"/>
          <text value="The date at which the code status is changed as part of the terminology maintenance"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="string"/>
        </extension>
        <linkId value="SubstanceSpecification.code.comment"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Any comment can be provided in this field, if necessary."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.code.comment.value"/>
          <text value="Any comment can be provided in this field, if necessary"/>
          <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="SubstanceSpecification.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>
          <text value="Supporting literature."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
            <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="SubstanceSpecification.code.source.value"/>
          <text value="Supporting literature"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceSpecification.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>
        <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="SubstanceSpecification.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>
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
          <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 manageable, 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="SubstanceSpecification.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>
          <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.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>
          <text value="The actual name."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.name.type"/>
        <text value="Name 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>
          <text value="Name type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.name.type.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.name.status"/>
        <text value="The status of the 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>
          <text value="The status of the name."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.name.status.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="If this is the preferred name for this substance."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.name.language"/>
        <text value="Language of the 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>
          <text value="Language of the name."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.name.language.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.name.domain"/>
        <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="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The 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="SubstanceSpecification.name.domain.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="The jurisdiction where this name applies."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.name.jurisdiction.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.name.jurisdiction.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.name.synonym"/>
        <text value="A synonym 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>
          <text value="A synonym of this name."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.name.translation"/>
        <text value="A translation for 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>
          <text value="A translation for this name."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.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>
          <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="SubstanceSpecification.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>
            <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="SubstanceSpecification.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="SubstanceSpecification.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>
            <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 manageable, 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="SubstanceSpecification.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>
            <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.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>
            <text value="Which authority uses this official name."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.name.official.authority.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.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="SubstanceSpecification.name.official.status"/>
          <text value="The status of the 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>
            <text value="The status of the official name."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.name.official.status.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
            <text value="Date of official name change."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.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="SubstanceSpecification.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>
          <text value="Supporting literature."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
            <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="SubstanceSpecification.name.source.value"/>
          <text value="Supporting literature"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceSpecification.molecularWeight"/>
      <text value="The molecular weight or weight range (for proteins, polymers or nucleic acids)"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The molecular weight or weight range (for proteins, polymers or nucleic acids)."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="SubstanceSpecification.relationship"/>
      <text value="A link between this substance and another, with details of the relationship"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A 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="SubstanceSpecification.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>
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
          <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 manageable, 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="SubstanceSpecification.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>
          <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&#39;s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer 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="SubstanceSpecification.relationship.substance[x]"/>
        <text value="A pointer to another substance, as a resource or just 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>
          <text value="A pointer to another substance, as a resource or just a representational code."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.relationship.substance[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerValueSet value="#vs5"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="SubstanceSpecification.relationship.substance[x]._null"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="SubstanceSpecification"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="SubstanceSpecification.relationship.substance[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="SubstanceSpecification.relationship.substance[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.relationship.substance[x]._null.coding"/>
              <text value="code:"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.relationship.substance[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-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceSpecification.relationship.relationship"/>
        <text value="For example &quot;salt to parent&quot;, &quot;active moiety&quot;, &quot;starting material&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>
          <text value="For example &quot;salt to parent&quot;, &quot;active moiety&quot;, &quot;starting material&quot;."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.relationship.relationship.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.relationship.relationship.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="SubstanceSpecification.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>
          <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="SubstanceSpecification.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 substance 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="SubstanceSpecification.relationship.amount[x]"/>
        <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="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="A 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="SubstanceSpecification.relationship.amount[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerValueSet value="#vs6"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="SubstanceSpecification.relationship.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.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="Range"/>
            </extension>
            <linkId value="SubstanceSpecification.relationship.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.low"/>
              <text value="low:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.high"/>
              <text value="high:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.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="Ratio"/>
            </extension>
            <linkId value="SubstanceSpecification.relationship.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.numerator"/>
              <text value="numerator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.relationship.amount[x]._null.denominator"/>
              <text value="denominator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="SubstanceSpecification.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="SubstanceSpecification.relationship.amount[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="SubstanceSpecification.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="SubstanceSpecification.relationship.amountRatioLowLimit"/>
        <text value="For use when the numeric"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="For use when the numeric."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.relationship.amountRatioLowLimit.numerator"/>
          <text value="numerator:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.relationship.amountRatioLowLimit.denominator"/>
          <text value="denominator:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.relationship.amountRatioLowLimit.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="SubstanceSpecification.relationship.amountType"/>
        <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>
          <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="SubstanceSpecification.relationship.amountType.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.relationship.amountType.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="SubstanceSpecification.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>
          <text value="Supporting literature."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
            <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="SubstanceSpecification.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="SubstanceSpecification.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>
        <text value="Data items specific to nucleic acids."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
        <text value="Data items specific to polymers."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <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="SubstanceSpecification.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="SubstanceSpecification.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>
        <text value="Data items specific to proteins."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <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="SubstanceSpecification.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>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="SubstanceSpecification.sourceMaterial"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Material or taxonomic/anatomical source for the substance."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="SubstanceSourceMaterial"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="SubstanceSpecification.sourceMaterial.value"/>
        <text value="Material or taxonomic/anatomical source for the substance"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </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.