R4 Ballot #1 (Mixed Normative/Trial use)

This page is part of the FHIR Specification (v3.3.0: R4 Ballot 2). The current version which supercedes this version is 4.0.1. For a full list of available versions, see the Directory of published versions

Substancespecification-questionnaire.xml

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

Raw XML (canonical form)

Generated Questionnaire for SubstanceSpecification

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

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="qs1"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
  </identifier>
  <status value="draft"/>
  <date value="2018-04-03T12:05:46+10: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 in formation 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."/>
        <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. 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. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="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."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.comment.value"/>
        <text value="Textual comment"/>
        <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.stoichiometric"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/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="Chemicals may be stoichiometric or non-stoichiometric."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="SubstanceSpecification.stoichiometric.value"/>
        <text value="Chemicals may be stoichiometric or non-stoichiometric"/>
        <type value="boolean"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="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-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="SubstanceSpecification.referenceSource"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/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>
        <linkId value="SubstanceSpecification.referenceSource.value"/>
        <text value="Supporting literature"/>
        <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="xml:id (or equivalent in JSON)"/>
          <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"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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. 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. 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>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="string"/>
        </extension>
        <linkId value="SubstanceSpecification.moiety.amount"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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.value"/>
          <text value="Quantitative value for this moiety"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </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="xml:id (or equivalent in JSON)"/>
          <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"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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. 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. 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.type"/>
        <text value="Description todo"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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="Description todo."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.type.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.type.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceSpecification.property.name"/>
        <text value="Description todo"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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="Description todo."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.name.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.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="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="A field that should be used to capture parameters that were used in the measurement of a property."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.parameters.value"/>
          <text value="A field that should be used to capture parameters that were used in the measurement of a property"/>
          <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.property.substanceId"/>
        <text value="Identifier for a substance upon which a defining property depends"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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 for a substance upon which a defining property depends."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.substanceId.label"/>
          <text value="label:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.substanceId.system"/>
          <text value="system:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.substanceId.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.property.substanceName"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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="Description todo."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.property.substanceName.value"/>
          <text value="Description todo"/>
          <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.amount"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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.value"/>
          <text value="Quantitative value for this property"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <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="xml:id (or equivalent in JSON)"/>
          <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"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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. 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. 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. and 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. and 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="xml:id (or equivalent in JSON)"/>
            <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"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/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. 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. 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.nuclideId"/>
          <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.nuclideId.label"/>
            <text value="label:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.nuclideId.system"/>
            <text value="system:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.nuclideId.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.nuclideName"/>
          <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.nuclideName.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.nuclideName.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.substitutionType"/>
          <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.substitutionType.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.substitutionType.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.nuclideHalfLife"/>
          <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.nuclideHalfLife.comparator"/>
            <text value="comp:"/>
            <type value="choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.nuclideHalfLife.value"/>
            <text value="value:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.nuclideHalfLife.units"/>
            <text value="units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.nuclideHalfLife.code"/>
            <text value="coded units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.nuclideHalfLife.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>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="string"/>
          </extension>
          <linkId value="SubstanceSpecification.structure.isotope.amount"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/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 values for this isotope."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.isotope.amount.value"/>
            <text value="Quantitative values for this isotope"/>
            <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="xml:id (or equivalent in JSON)"/>
              <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"/>
            <type value="group"/>
            <required value="false"/>
            <repeats value="true"/>
            <item>
              <extension url="http://hl7.org/fhir/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. 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. 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="string"/>
            </extension>
            <linkId value="SubstanceSpecification.structure.isotope.molecularWeight.amount"/>
            <type value="group"/>
            <required value="false"/>
            <repeats value="true"/>
            <item>
              <extension url="http://hl7.org/fhir/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.value"/>
              <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="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.referenceSource"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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.referenceSource.value"/>
          <text value="Supporting literature"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.structure.structuralRepresentation"/>
        <text value="Molectular 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="Molectular 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.structuralRepresentation.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.structuralRepresentation.id.value"/>
            <text value="xml:id (or equivalent in JSON)"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceSpecification.structure.structuralRepresentation.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.structuralRepresentation.modifierExtension"/>
          <text value="Extensions that cannot be ignored"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. 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. 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.structuralRepresentation.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.structuralRepresentation.type.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.structure.structuralRepresentation.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.structuralRepresentation.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.structuralRepresentation.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.structuralRepresentation.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.substanceCode"/>
      <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.substanceCode.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.substanceCode.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.substanceCode.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.substanceCode.modifierExtension"/>
        <text value="Extensions that cannot be ignored"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. 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. 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.substanceCode.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.substanceCode.code.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceCode.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.substanceCode.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.substanceCode.status.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceCode.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.substanceCode.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.substanceCode.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.substanceCode.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.substanceCode.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="string"/>
        </extension>
        <linkId value="SubstanceSpecification.substanceCode.referenceSource"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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>
          <linkId value="SubstanceSpecification.substanceCode.referenceSource.value"/>
          <text value="Supporting literature"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="SubstanceSpecification.substanceName"/>
      <text value="Names applicable to this substence"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/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 substence."/>
        <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.substanceName.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.substanceName.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.substanceName.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.substanceName.modifierExtension"/>
        <text value="Extensions that cannot be ignored"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. 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. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="string"/>
        </extension>
        <linkId value="SubstanceSpecification.substanceName.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 actual name."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceName.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.substanceName.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.substanceName.type.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceName.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-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="SubstanceSpecification.substanceName.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.substanceName.language.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceName.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.substanceName.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.substanceName.domain.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceName.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.substanceName.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.substanceName.jurisdiction.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceName.jurisdiction.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="SubstanceSpecification.substanceName.officialName"/>
        <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.substanceName.officialName.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.substanceName.officialName.id.value"/>
            <text value="xml:id (or equivalent in JSON)"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="SubstanceSpecification.substanceName.officialName.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.substanceName.officialName.modifierExtension"/>
          <text value="Extensions that cannot be ignored"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <text value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained. 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. 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.substanceName.officialName.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.substanceName.officialName.authority.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.substanceName.officialName.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.substanceName.officialName.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.substanceName.officialName.status.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="SubstanceSpecification.substanceName.officialName.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.substanceName.officialName.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.substanceName.officialName.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="string"/>
        </extension>
        <linkId value="SubstanceSpecification.substanceName.referenceSource"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/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>
          <linkId value="SubstanceSpecification.substanceName.referenceSource.value"/>
          <text value="Supporting literature"/>
          <type value="string"/>
          <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>
      <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>
</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.