Release 5

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

Example Questionnaire/qgen-ServiceRequest1 (XML)

Orders and Observations Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Device, Encounter, Patient, Practitioner, RelatedPerson

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

Generated Questionnaire for ServiceRequest

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

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="qgen-ServiceRequest1"/>
  <contained>
    <ValueSet>
      <id value="vs2"/>
      <name value="Type options for ServiceRequest.orderDetail.parameter.value[x]"/>
      <status value="active"/>
      <description value="Type options for ServiceRequest.orderDetail.parameter.value[x]"/>
      <expansion>
        <identifier value="urn:uuid:a5c7b8b1-3d94-4024-9171-53fec4bfaa64"/>
        <timestamp value="2023-03-26T15:25:58+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Ratio"/>
          <display value="Ratio"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Range"/>
          <display value="Range"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="boolean"/>
          <display value="boolean"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Period"/>
          <display value="Period"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs3"/>
      <name value="Type options for ServiceRequest.quantity[x]"/>
      <status value="active"/>
      <description value="Type options for ServiceRequest.quantity[x]"/>
      <expansion>
        <identifier value="urn:uuid:c9947f18-0fb2-4b2f-b625-462dbade28cc"/>
        <timestamp value="2023-03-26T15:25:58+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Ratio"/>
          <display value="Ratio"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Range"/>
          <display value="Range"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs4"/>
      <name value="Type options for ServiceRequest.occurrence[x]"/>
      <status value="active"/>
      <description value="Type options for ServiceRequest.occurrence[x]"/>
      <expansion>
        <identifier value="urn:uuid:cae744cc-b955-49b1-b705-fd85a219bf8d"/>
        <timestamp value="2023-03-26T15:25:58+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="dateTime"/>
          <display value="dateTime"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Period"/>
          <display value="Period"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="Timing"/>
          <display value="Timing"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs5"/>
      <name value="Type options for ServiceRequest.asNeeded[x]"/>
      <status value="active"/>
      <description value="Type options for ServiceRequest.asNeeded[x]"/>
      <expansion>
        <identifier value="urn:uuid:260b7e91-979c-4d69-af4d-45147c583ce4"/>
        <timestamp value="2023-03-26T15:25:58+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="boolean"/>
          <display value="boolean"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs6"/>
      <name value="Type options for ServiceRequest.patientInstruction.instruction[x]"/>
      <status value="active"/>
      <description value="Type options for ServiceRequest.patientInstruction.instruction[x]"/>
      <expansion>
        <identifier value="urn:uuid:f96de498-3648-430a-bc7b-a9a7a48dcdf2"/>
        <timestamp value="2023-03-26T15:25:58+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="markdown"/>
          <display value="markdown"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/fhir-types"/>
          <code value="DocumentReference"/>
          <display value="DocumentReference"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <url value="http://hl7.org/fhir/Questionnaire/qgen-ServiceRequest1"/>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
  </identifier>
  <version value="5.0.0"/>
  <status value="draft"/>
  <experimental value="false"/>
  <date value="2023-03-26T15:21:02+11:00"/>
  <publisher value="Health Level Seven International (Orders and Observations)"/>
  <item>
    <linkId value="ServiceRequest"/>
    <text value="A request for a service to be performed"/>
    <type value="group"/>
    <required value="false"/>
    <repeats value="true"/>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
        <valueCodeableConcept>
          <coding>
            <system value="http://hl7.org/fhir/questionnaire-item-control"/>
            <code value="flyover"/>
            <display value="Fly-over"/>
          </coding>
        </valueCodeableConcept>
      </extension>
      <linkId value="ServiceRequest-flyover"/>
      <text value="A record of a request for service such as diagnostic investigations, treatments, or operations to be performed."/>
      <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="ServiceRequest.id"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.id-flyover"/>
        <text value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.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="ServiceRequest.meta"/>
      <text value="Metadata about the resource"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.meta-flyover"/>
        <text value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might not always be associated with version changes to the resource."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="uri"/>
      </extension>
      <linkId value="ServiceRequest.implicitRules"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.implicitRules-flyover"/>
        <text value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.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="ServiceRequest.language"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.language-flyover"/>
        <text value="The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource. Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.language.value"/>
        <text value="language"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOrType"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="ServiceRequest.text"/>
      <text value="Text summary of the resource, for human interpretation"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.text-flyover"/>
        <text value="A human-readable narrative that contains a summary of the resource and can be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded information is added later."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.contained"/>
      <text value="Contained, inline Resources"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.contained-flyover"/>
        <text value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.extension"/>
      <text value="Additional content defined by implementations"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.extension-flyover"/>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.modifierExtension"/>
      <text value="Extensions that cannot be ignored"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.modifierExtension-flyover"/>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource and that modifies the understanding of the element that contains it and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Identifier"/>
      </extension>
      <linkId value="ServiceRequest.identifier"/>
      <text value="Identifiers assigned to this order"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.identifier-flyover"/>
        <text value="Identifiers assigned to this order instance by the orderer and/or the receiver and/or order fulfiller. The identifier.type element is used to distinguish between the identifiers assigned by the orderer (known as the 'Placer' in HL7 V2) and the producer of the observations in response to the order (known as the 'Filler' in HL7 V2).  For further discussion and examples see the resource notes section below."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.identifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="ServiceRequest.identifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="ServiceRequest.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-fhirType">
        <valueString value="uri"/>
      </extension>
      <linkId value="ServiceRequest.instantiatesCanonical"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.instantiatesCanonical-flyover"/>
        <text value="The URL pointing to a FHIR-defined protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest. The PlanDefinition resource is used to describe series, sequences, or groups of actions to be taken, while the ActivityDefinition resource is used to define each specific step or activity to be performed. More information can be found in the [Boundaries and Relationships](plandefinition.html#12.23.2) section for PlanDefinition."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.instantiatesCanonical.value"/>
        <text value="Instantiates FHIR protocol or definition"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="uri"/>
      </extension>
      <linkId value="ServiceRequest.instantiatesUri"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.instantiatesUri-flyover"/>
        <text value="The URL pointing to an externally maintained protocol, guideline, orderset or other definition that is adhered to in whole or in part by this ServiceRequest. This might be an HTML page, PDF, etc. or could just be a non-resolvable URI identifier."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.instantiatesUri.value"/>
        <text value="Instantiates external protocol or definition"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.basedOn"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.basedOn-flyover"/>
        <text value="Plan/proposal/order fulfilled by this request."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="CarePlan, ServiceRequest, MedicationRequest"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.basedOn.value"/>
        <text value="What request fulfills"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.replaces"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.replaces-flyover"/>
        <text value="The request takes the place of the referenced completed or terminated request(s)."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="ServiceRequest"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.replaces.value"/>
        <text value="What request replaces"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Identifier"/>
      </extension>
      <linkId value="ServiceRequest.requisition"/>
      <text value="Composite Request ID"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.requisition-flyover"/>
        <text value="A shared identifier common to all service requests that were authorized more or less simultaneously by a single author, representing the composite or group identifier. Requests are linked either by a &quot;basedOn&quot; relationship (i.e. one request is fulfilling another) or by having a common requisition. Requests that are part of the same requisition are generally treated independently from the perspective of changing their state or maintaining them after initial creation."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.requisition.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="ServiceRequest.requisition.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="ServiceRequest.requisition.value"/>
        <text value="value:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="ServiceRequest.status"/>
      <type value="group"/>
      <required value="true"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.status-flyover"/>
        <text value="The status of the order. The status is generally fully in the control of the requester - they determine whether the order is draft or active and, after it has been activated, competed, revoked or placed on-hold. States relating to the activities of the performer are reflected on either the corresponding event (see [Event Pattern](event.html) for general discussion) or using the [Task](task.html) resource."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.status.value"/>
        <text value="status"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOrType"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="ServiceRequest.intent"/>
      <type value="group"/>
      <required value="true"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.intent-flyover"/>
        <text value="Whether the request is a proposal, plan, an original order or a reflex order. This element is labeled as a modifier because the intent alters when and how the resource is actually applicable."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.intent.value"/>
        <text value="intent"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOrType"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="ServiceRequest.category"/>
      <text value="Classification of service"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.category-flyover"/>
        <text value="A code that classifies the service for searching, sorting and display purposes (e.g. &quot;Surgical Procedure&quot;). There may be multiple axis of categorization depending on the context or use case for retrieving or displaying the resource.  The level of granularity is defined by the category concepts in the value set."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.category.coding"/>
        <text value="code:"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
      </item>
      <item>
        <linkId value="ServiceRequest.category.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="ServiceRequest.priority"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.priority-flyover"/>
        <text value="Indicates how quickly the ServiceRequest should be addressed with respect to other requests."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.priority.value"/>
        <text value="priority"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOrType"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="boolean"/>
      </extension>
      <linkId value="ServiceRequest.doNotPerform"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.doNotPerform-flyover"/>
        <text value="Set this to true if the record is saying that the service/procedure should NOT be performed. In general, only the code and timeframe will be present, though occasional additional qualifiers such as body site or even performer could be included to narrow the scope of the prohibition.  If the ServiceRequest.code and ServiceRequest.doNotPerform both contain negation, that will reinforce prohibition and should not have a double negative interpretation."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.doNotPerform.value"/>
        <text value="True if service/procedure should not be performed"/>
        <type value="boolean"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="ServiceRequest.code"/>
      <text value="What is being requested/ordered"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="false"/>
      <item>
        <linkId value="ServiceRequest.code-display"/>
        <text value="Many laboratory and radiology procedure codes embed the specimen/organ system in the test order name, for example,  serum or serum/plasma glucose, or a chest x-ray. The specimen might not be recorded separately from the test code."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.code-flyover"/>
        <text value="A code or reference that identifies a particular service (i.e., procedure, diagnostic investigation, or panel of investigations) that have been requested."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.orderDetail"/>
      <text value="Additional order information"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <linkId value="ServiceRequest.orderDetail-display"/>
        <text value="For information from the medical record intended to support the delivery of the requested services, use the `supportingInformation` element."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.orderDetail-flyover"/>
        <text value="Additional details and instructions about the how the services are to be delivered.   For example, and order for a urinary catheter may have an order detail for an external or indwelling catheter, or an order for a bandage may require additional instructions specifying how the bandage should be applied."/>
        <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="ServiceRequest.orderDetail.id"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.orderDetail.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="ServiceRequest.orderDetail.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="ServiceRequest.orderDetail.extension"/>
        <text value="Additional content defined by implementations"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.orderDetail.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="ServiceRequest.orderDetail.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.orderDetail.modifierExtension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="ServiceRequest.orderDetail.parameterFocus"/>
        <text value="The context of the order details by reference"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="false"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.orderDetail.parameterFocus-flyover"/>
          <text value="Indicates the context of the order details by reference."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="ServiceRequest.orderDetail.parameter"/>
        <text value="The parameter details for the service being requested"/>
        <type value="group"/>
        <required value="true"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.orderDetail.parameter-flyover"/>
          <text value="The parameter details for the service being requested."/>
          <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="ServiceRequest.orderDetail.parameter.id"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <linkId value="ServiceRequest.orderDetail.parameter.id-flyover"/>
            <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="ServiceRequest.orderDetail.parameter.id.value"/>
            <text value="Unique id for inter-element referencing"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <linkId value="ServiceRequest.orderDetail.parameter.extension"/>
          <text value="Additional content defined by implementations"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <linkId value="ServiceRequest.orderDetail.parameter.extension-flyover"/>
            <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
            <type value="display"/>
          </item>
        </item>
        <item>
          <linkId value="ServiceRequest.orderDetail.parameter.modifierExtension"/>
          <text value="Extensions that cannot be ignored even if unrecognized"/>
          <type value="group"/>
          <required value="false"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <linkId value="ServiceRequest.orderDetail.parameter.modifierExtension-flyover"/>
            <text value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
            <type value="display"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="ServiceRequest.orderDetail.parameter.code"/>
          <text value="The detail of the order being requested"/>
          <type value="group"/>
          <required value="true"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <linkId value="ServiceRequest.orderDetail.parameter.code-flyover"/>
            <text value="A value representing the additional detail or instructions for the order (e.g., catheter insertion, body elevation, descriptive device configuration and/or setting instructions)."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="ServiceRequest.orderDetail.parameter.code.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="ServiceRequest.orderDetail.parameter.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-minOccurs">
            <valueInteger value="1"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
            <valueInteger value="1"/>
          </extension>
          <linkId value="ServiceRequest.orderDetail.parameter.value[x]"/>
          <text value="The value for the order detail"/>
          <type value="group"/>
          <required value="true"/>
          <repeats value="true"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
              <valueCodeableConcept>
                <coding>
                  <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                  <code value="flyover"/>
                  <display value="Fly-over"/>
                </coding>
              </valueCodeableConcept>
            </extension>
            <linkId value="ServiceRequest.orderDetail.parameter.value[x]-flyover"/>
            <text value="Indicates a value for the order detail. CodeableConcept values are indented to express concepts that would normally be coded - when a code is not available for a concept, CodeableConcept.text can be used. When the data is a text or not a single identifiable concept, string should be used."/>
            <type value="display"/>
          </item>
          <item>
            <linkId value="ServiceRequest.orderDetail.parameter.value[x]._type"/>
            <text value="type"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
            <answerValueSet value="#vs2"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Quantity"/>
              </extension>
              <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null"/>
              <type value="group"/>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.comparator"/>
                <text value="comp:"/>
                <type value="coding"/>
                <required value="false"/>
                <repeats value="false"/>
                <answerConstraint value="optionsOnly"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.value"/>
                <text value="value:"/>
                <type value="decimal"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.units"/>
                <text value="units:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.code"/>
                <text value="coded units:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.system"/>
                <text value="units system:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Ratio"/>
              </extension>
              <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null"/>
              <type value="group"/>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.numerator"/>
                <text value="numerator:"/>
                <type value="decimal"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.denominator"/>
                <text value="denominator:"/>
                <type value="decimal"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.units"/>
                <text value="units:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Range"/>
              </extension>
              <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null"/>
              <type value="group"/>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.low"/>
                <text value="low:"/>
                <type value="decimal"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.high"/>
                <text value="high:"/>
                <type value="decimal"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.units"/>
                <text value="units:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="boolean"/>
              </extension>
              <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null"/>
              <type value="group"/>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.value"/>
                <type value="boolean"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="CodeableConcept"/>
              </extension>
              <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null"/>
              <type value="group"/>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.coding"/>
                <text value="code:"/>
                <type value="coding"/>
                <required value="false"/>
                <repeats value="false"/>
                <answerConstraint value="optionsOnly"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.text"/>
                <text value="text:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="string"/>
              </extension>
              <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null"/>
              <type value="group"/>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.value"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
                <valueString value="Period"/>
              </extension>
              <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null"/>
              <type value="group"/>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.low"/>
                <text value="start:"/>
                <type value="dateTime"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
              <item>
                <linkId value="ServiceRequest.orderDetail.parameter.value[x]._null.end"/>
                <text value="end:"/>
                <type value="dateTime"/>
                <required value="false"/>
                <repeats value="false"/>
              </item>
            </item>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="ServiceRequest.quantity[x]"/>
      <text value="Service 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>
        <linkId value="ServiceRequest.quantity[x]-flyover"/>
        <text value="An amount of service being requested which can be a quantity ( for example $1,500 home modification), a ratio ( for example, 20 half day visits per month), or a range (2.0 to 1.8 Gy per fraction)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.quantity[x]._type"/>
        <text value="type"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
        <answerValueSet value="#vs3"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Quantity"/>
          </extension>
          <linkId value="ServiceRequest.quantity[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.comparator"/>
            <text value="comp:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.value"/>
            <text value="value:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.units"/>
            <text value="units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.code"/>
            <text value="coded units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.system"/>
            <text value="units system:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Ratio"/>
          </extension>
          <linkId value="ServiceRequest.quantity[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.numerator"/>
            <text value="numerator:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.denominator"/>
            <text value="denominator:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.units"/>
            <text value="units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Range"/>
          </extension>
          <linkId value="ServiceRequest.quantity[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.low"/>
            <text value="low:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.high"/>
            <text value="high:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.quantity[x]._null.units"/>
            <text value="units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.subject"/>
      <type value="group"/>
      <required value="true"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.subject-flyover"/>
        <text value="On whom or what the service is to be performed. This is usually a human patient, but can also be requested on animals, groups of humans or animals, devices such as dialysis machines, or even locations (typically for environmental scans)."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Patient, Group, Location, Device"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.subject.value"/>
        <text value="Individual or Entity the service is ordered for"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.focus"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.focus-flyover"/>
        <text value="The actual focus of a service request when it is not the subject of record representing something or someone associated with the subject such as a spouse, parent, fetus, or donor. The focus of a service request could also be an existing condition,  an intervention, the subject's diet,  another service request on the subject,  or a body structure such as tumor or implanted device."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Resource"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.focus.value"/>
        <text value="What the service request is about, when it is not about the subject of record"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.encounter"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.encounter-flyover"/>
        <text value="An encounter that provides additional information about the healthcare context in which this request is made."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Encounter"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.encounter.value"/>
        <text value="Encounter in which the request was created"/>
        <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="ServiceRequest.occurrence[x]"/>
      <text value="When service should occur"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.occurrence[x]-flyover"/>
        <text value="The date/time at which the requested service should occur."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.occurrence[x]._type"/>
        <text value="type"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
        <answerValueSet value="#vs4"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="datetime"/>
          </extension>
          <linkId value="ServiceRequest.occurrence[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.occurrence[x]._null.value"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Period"/>
          </extension>
          <linkId value="ServiceRequest.occurrence[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.occurrence[x]._null.low"/>
            <text value="start:"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.occurrence[x]._null.end"/>
            <text value="end:"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Schedule"/>
          </extension>
          <linkId value="ServiceRequest.occurrence[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.occurrence[x]._null.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="ServiceRequest.occurrence[x]._null.date"/>
            <text value="date:"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
              <valueCode value="Patient"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
              <valueCode value="Practitioner"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
              <valueCode value="RelatedPerson"/>
            </extension>
            <linkId value="ServiceRequest.occurrence[x]._null.author"/>
            <text value="author:"/>
            <type value="reference"/>
            <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="ServiceRequest.asNeeded[x]"/>
      <text value="Preconditions for service"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.asNeeded[x]-flyover"/>
        <text value="If a CodeableConcept is present, it indicates the pre-condition for performing the service.  For example &quot;pain&quot;, &quot;on flare-up&quot;, etc."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.asNeeded[x]._type"/>
        <text value="type"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
        <answerValueSet value="#vs5"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="boolean"/>
          </extension>
          <linkId value="ServiceRequest.asNeeded[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.asNeeded[x]._null.value"/>
            <type value="boolean"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="ServiceRequest.asNeeded[x]._null"/>
          <type value="group"/>
          <item>
            <linkId value="ServiceRequest.asNeeded[x]._null.coding"/>
            <text value="code:"/>
            <type value="coding"/>
            <required value="false"/>
            <repeats value="false"/>
            <answerConstraint value="optionsOnly"/>
          </item>
          <item>
            <linkId value="ServiceRequest.asNeeded[x]._null.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="datetime"/>
      </extension>
      <linkId value="ServiceRequest.authoredOn"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.authoredOn-flyover"/>
        <text value="When the request transitioned to being actionable."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.authoredOn.value"/>
        <text value="Date request signed"/>
        <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="Reference"/>
      </extension>
      <linkId value="ServiceRequest.requester"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.requester-flyover"/>
        <text value="The individual who initiated the request and has responsibility for its activation. This not the dispatcher, but rather who is the authorizer.  This element is not intended to handle delegation which would generally be managed through the Provenance resource."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Practitioner, PractitionerRole, Organization, Patient, RelatedPerson, Device"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.requester.value"/>
        <text value="Who/what is requesting service"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="ServiceRequest.performerType"/>
      <text value="Performer role"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.performerType-flyover"/>
        <text value="Desired type of performer for doing the requested service. This is a  role, not  a participation type.  In other words, does not describe the task but describes the capacity.  For example, “compounding pharmacy”, “psychiatrist” or “internal referral”."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.performerType.coding"/>
        <text value="code:"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
      </item>
      <item>
        <linkId value="ServiceRequest.performerType.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.performer"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.performer-flyover"/>
        <text value="The desired performer for doing the requested service.  For example, the surgeon, dermatopathologist, endoscopist, etc. If multiple performers are present, it is interpreted as a list of *alternative* performers without any preference regardless of order.  If order of preference is needed use the [http://hl7.org/fhir/StructureDefinition/request-performerOrder](http://hl7.org/fhir/extensions/StructureDefinition-request-performerOrder.html).  Use CareTeam to represent a group of performers (for example, Practitioner A *and* Practitioner B)."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Practitioner, PractitionerRole, Organization, CareTeam, HealthcareService, Patient, Device, RelatedPerson"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.performer.value"/>
        <text value="Requested performer"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.location"/>
      <text value="Requested location"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.location-flyover"/>
        <text value="The preferred location(s) where the procedure should actually happen in coded or free text form. E.g. at home or nursing day care center."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.reason"/>
      <text value="Explanation/Justification for procedure or service"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <linkId value="ServiceRequest.reason-display"/>
        <text value="This element represents why the referral is being made and may be used to decide how the service will be performed, or even if it will be performed at all. To be as specific as possible,  a reference to  *Observation* or *Condition* should be used if available.  Otherwise, use `concept.text` element if the data is free (uncoded) text as shown in the [CT Scan example](servicerequest-example-di.html)."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.reason-flyover"/>
        <text value="An explanation or justification for why this service is being requested in coded or textual form.   This is often for billing purposes.  May relate to the resources referred to in `supportingInfo`."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.insurance"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.insurance-flyover"/>
        <text value="Insurance plans, coverage extensions, pre-authorizations and/or pre-determinations that may be needed for delivering the requested service."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Coverage, ClaimResponse"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.insurance.value"/>
        <text value="Associated insurance coverage"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.supportingInfo"/>
      <text value="Additional clinical information"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <linkId value="ServiceRequest.supportingInfo-display"/>
        <text value="To represent information about how the services are to be delivered use the `instructions` element."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.supportingInfo-flyover"/>
        <text value="Additional clinical information about the patient or specimen that may influence the services or their interpretations.     This information includes diagnosis, clinical findings and other observations.  In laboratory ordering these are typically referred to as &quot;ask at order entry questions (AOEs)&quot;.  This includes observations explicitly requested by the producer (filler) to provide context or supporting information needed to complete the order. For example,  reporting the amount of inspired oxygen for blood gas measurements."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.specimen"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.specimen-flyover"/>
        <text value="One or more specimens that the laboratory procedure will use. The purpose of the ServiceRequest.specimen is to reflect the actual specimen that the requested test/procedure is asked to be performed on, whether the lab already has it or not.  References to specimens for purposes other than to perform a test/procedure on should be made using the ServiceRequest.supportingInfo or the Specimen.parent where the Specimen.parent would enable descendency and ServiceRequest.supportingInfo a general reference for context."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Specimen"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.specimen.value"/>
        <text value="Procedure Samples"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="ServiceRequest.bodySite"/>
      <text value="Coded location on Body"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.bodySite-flyover"/>
        <text value="Anatomic location where the procedure should be performed. This is the target site. Only used if not implicit in the code found in ServiceRequest.code.  If the use case requires BodySite to be handled as a separate resource instead of an inline coded element (e.g. to identify and track separately)  then use the standard extension [http://hl7.org/fhir/StructureDefinition/procedure-targetBodyStructure](http://hl7.org/fhir/extensions/StructureDefinition-procedure-targetBodyStructure.html)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="ServiceRequest.bodySite.coding"/>
        <text value="code:"/>
        <type value="coding"/>
        <required value="false"/>
        <repeats value="false"/>
        <answerConstraint value="optionsOnly"/>
      </item>
      <item>
        <linkId value="ServiceRequest.bodySite.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.bodyStructure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.bodyStructure-flyover"/>
        <text value="Anatomic location where the procedure should be performed. This is the target site."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="BodyStructure"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.bodyStructure.value"/>
        <text value="BodyStructure-based location on the body"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Annotation"/>
      </extension>
      <linkId value="ServiceRequest.note"/>
      <text value="Comments"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.note-flyover"/>
        <text value="Any other notes and comments made about the service request. For example, internal billing notes."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="ServiceRequest.patientInstruction"/>
      <text value="Patient or consumer-oriented instructions"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.patientInstruction-flyover"/>
        <text value="Instructions in terms that are understood by the patient or consumer."/>
        <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="ServiceRequest.patientInstruction.id"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.patientInstruction.id-flyover"/>
          <text value="Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="ServiceRequest.patientInstruction.id.value"/>
          <text value="Unique id for inter-element referencing"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="ServiceRequest.patientInstruction.extension"/>
        <text value="Additional content defined by implementations"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.patientInstruction.extension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="ServiceRequest.patientInstruction.modifierExtension"/>
        <text value="Extensions that cannot be ignored even if unrecognized"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.patientInstruction.modifierExtension-flyover"/>
          <text value="May be used to represent additional information that is not part of the basic definition of the element and that modifies the understanding of the element in which it is contained and/or the understanding of the containing element's descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions.&#xA;&#xA;Modifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="ServiceRequest.patientInstruction.instruction[x]"/>
        <text value="Patient or consumer-oriented instructions"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <linkId value="ServiceRequest.patientInstruction.instruction[x]-flyover"/>
          <text value="Instructions in terms that are understood by the patient or consumer."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="ServiceRequest.patientInstruction.instruction[x]._type"/>
          <text value="type"/>
          <type value="coding"/>
          <required value="false"/>
          <repeats value="false"/>
          <answerConstraint value="optionsOnly"/>
          <answerValueSet value="#vs6"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="ServiceRequest.patientInstruction.instruction[x]._null"/>
            <type value="group"/>
            <item>
              <linkId value="ServiceRequest.patientInstruction.instruction[x]._null.value"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="ServiceRequest.patientInstruction.instruction[x]._null"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
                <valueCode value="DocumentReference"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="ServiceRequest.patientInstruction.instruction[x]._null.value"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="ServiceRequest.relevantHistory"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <linkId value="ServiceRequest.relevantHistory-flyover"/>
        <text value="Key events in the history of the request. This might not include provenances for all versions of the request – only those deemed “relevant” or important.&#xD;This SHALL NOT include the Provenance associated with this current version of the resource.  (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update.  Until then, it can be queried directly as the Provenance that points to this version using _revinclude&#xD;All Provenances should have some historical version of this Request as their subject."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource">
          <valueCode value="Provenance"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="ServiceRequest.relevantHistory.value"/>
        <text value="Request provenance"/>
        <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.