FHIR Release 3 (STU)

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

Task-questionnaire.xml

Orders and Observations Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw XML (canonical form)

Generated Questionnaire for Task

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

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="qs1"/>
  <contained>
    <ValueSet>
      <id value="vs2"/>
      <name value="Type options for Task.definition[x]"/>
      <status value="active"/>
      <description value="Type options for Task.definition[x]"/>
      <expansion>
        <identifier value="urn:uuid:39408c3e-0398-4dc3-b1ef-e0fe9e87fc5a"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="uri"/>
          <display value="uri"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="ActivityDefinition"/>
          <display value="ActivityDefinition"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs3"/>
      <name value="Type options for Task.context"/>
      <status value="active"/>
      <description value="Type options for Task.context"/>
      <expansion>
        <identifier value="urn:uuid:19a4b001-a0d4-49c0-944d-41e50951f9b8"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Encounter"/>
          <display value="Encounter"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="EpisodeOfCare"/>
          <display value="EpisodeOfCare"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs4"/>
      <name value="Type options for Task.requester.agent"/>
      <status value="active"/>
      <description value="Type options for Task.requester.agent"/>
      <expansion>
        <identifier value="urn:uuid:6db952ba-cb44-45d2-ae43-183c5539cac6"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Device"/>
          <display value="Device"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Organization"/>
          <display value="Organization"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Patient"/>
          <display value="Patient"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Practitioner"/>
          <display value="Practitioner"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="RelatedPerson"/>
          <display value="RelatedPerson"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs5"/>
      <name value="Type options for Task.owner"/>
      <status value="active"/>
      <description value="Type options for Task.owner"/>
      <expansion>
        <identifier value="urn:uuid:6056116a-ff7c-4959-9b81-b418c9b40771"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Device"/>
          <display value="Device"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Organization"/>
          <display value="Organization"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Patient"/>
          <display value="Patient"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Practitioner"/>
          <display value="Practitioner"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="RelatedPerson"/>
          <display value="RelatedPerson"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs6"/>
      <name value="Type options for Task.restriction.recipient"/>
      <status value="active"/>
      <description value="Type options for Task.restriction.recipient"/>
      <expansion>
        <identifier value="urn:uuid:aad43fe3-a994-418c-b418-a941c09a555e"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Patient"/>
          <display value="Patient"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Practitioner"/>
          <display value="Practitioner"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="RelatedPerson"/>
          <display value="RelatedPerson"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Group"/>
          <display value="Group"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Organization"/>
          <display value="Organization"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs7"/>
      <name value="Type options for Task.input.value[x]"/>
      <status value="active"/>
      <description value="Type options for Task.input.value[x]"/>
      <expansion>
        <identifier value="urn:uuid:38a576de-a597-4002-bab5-da5e823f974c"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="base64Binary"/>
          <display value="base64Binary"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="boolean"/>
          <display value="boolean"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="code"/>
          <display value="code"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="date"/>
          <display value="date"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="dateTime"/>
          <display value="dateTime"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="decimal"/>
          <display value="decimal"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="id"/>
          <display value="id"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="instant"/>
          <display value="instant"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="integer"/>
          <display value="integer"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="markdown"/>
          <display value="markdown"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="oid"/>
          <display value="oid"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="positiveInt"/>
          <display value="positiveInt"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="time"/>
          <display value="time"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="unsignedInt"/>
          <display value="unsignedInt"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="uri"/>
          <display value="uri"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Address"/>
          <display value="Address"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Age"/>
          <display value="Age"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Annotation"/>
          <display value="Annotation"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Coding"/>
          <display value="Coding"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="ContactPoint"/>
          <display value="ContactPoint"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Count"/>
          <display value="Count"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Distance"/>
          <display value="Distance"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Duration"/>
          <display value="Duration"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="HumanName"/>
          <display value="HumanName"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Identifier"/>
          <display value="Identifier"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Money"/>
          <display value="Money"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Period"/>
          <display value="Period"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Range"/>
          <display value="Range"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Ratio"/>
          <display value="Ratio"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Reference"/>
          <display value="Reference"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="SampledData"/>
          <display value="SampledData"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Signature"/>
          <display value="Signature"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Timing"/>
          <display value="Timing"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Meta"/>
          <display value="Meta"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs8"/>
      <name value="Type options for Task.output.value[x]"/>
      <status value="active"/>
      <description value="Type options for Task.output.value[x]"/>
      <expansion>
        <identifier value="urn:uuid:e2ebb1a7-15f7-4061-88c6-8b42ae5254b7"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="base64Binary"/>
          <display value="base64Binary"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="boolean"/>
          <display value="boolean"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="code"/>
          <display value="code"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="date"/>
          <display value="date"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="dateTime"/>
          <display value="dateTime"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="decimal"/>
          <display value="decimal"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="id"/>
          <display value="id"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="instant"/>
          <display value="instant"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="integer"/>
          <display value="integer"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="markdown"/>
          <display value="markdown"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="oid"/>
          <display value="oid"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="positiveInt"/>
          <display value="positiveInt"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="string"/>
          <display value="string"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="time"/>
          <display value="time"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="unsignedInt"/>
          <display value="unsignedInt"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="uri"/>
          <display value="uri"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Address"/>
          <display value="Address"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Age"/>
          <display value="Age"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Annotation"/>
          <display value="Annotation"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Coding"/>
          <display value="Coding"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="ContactPoint"/>
          <display value="ContactPoint"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Count"/>
          <display value="Count"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Distance"/>
          <display value="Distance"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Duration"/>
          <display value="Duration"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="HumanName"/>
          <display value="HumanName"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Identifier"/>
          <display value="Identifier"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Money"/>
          <display value="Money"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Period"/>
          <display value="Period"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Quantity"/>
          <display value="Quantity"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Range"/>
          <display value="Range"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Ratio"/>
          <display value="Ratio"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Reference"/>
          <display value="Reference"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="SampledData"/>
          <display value="SampledData"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Signature"/>
          <display value="Signature"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Timing"/>
          <display value="Timing"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Meta"/>
          <display value="Meta"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
  </identifier>
  <status value="draft"/>
  <date value="2019-10-24T11:53:00+11:00"/>
  <publisher value="Health Level Seven International (Orders and Observations)"/>
  <item>
    <linkId value="Task"/>
    <text value="A task 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>
      <text value="A task 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="Task.id"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.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="Task.meta"/>
      <text value="Metadata about the resource"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="uri"/>
      </extension>
      <linkId value="Task.implicitRules"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element. &#xA;&#xA;This element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it&#39;s meaning or interpretation."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.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="Task.language"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.language.value"/>
        <text value="language"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="Task.text"/>
      <text value="Text summary of the resource, for human interpretation"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it &quot;clinically safe&quot; for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a &quot;text blob&quot; or where text is additionally entered raw or narrated and encoded in formation is added later."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="Task.contained"/>
      <text value="Contained, inline Resources"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="Task.extension"/>
      <text value="Additional Content defined by implementations"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="Task.modifierExtension"/>
      <text value="Extensions that cannot be ignored"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Identifier"/>
      </extension>
      <linkId value="Task.identifier"/>
      <text value="Task Instance Identifier"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The business identifier for this task."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.identifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.identifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.identifier.value"/>
        <text value="value:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="Task.definition[x]"/>
      <text value="Formal definition of task"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A reference to a formal or informal definition of the task.  For example, a protocol, a step within a defined workflow definition, etc."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.definition[x]._type"/>
        <text value="type"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
        <options>
          <reference value="#vs2"/>
        </options>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="uri"/>
          </extension>
          <linkId value="Task.definition[x]._uri"/>
          <type value="group"/>
          <item>
            <linkId value="Task.definition[x]._uri.value"/>
            <text value="uri"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Task.definition[x]._ActivityDefinition"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="ActivityDefinition"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Task.definition[x]._ActivityDefinition.value"/>
            <text value="ActivityDefinition"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Task.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>
        <text value="BasedOn refers to a higher-level authorization that triggered the creation of the task.  It references a &quot;request&quot; resource such as a ProcedureRequest, MedicationRequest, ProcedureRequest, CarePlan, etc. which is distinct from the &quot;request&quot; resource the task is seeking to fulfil.  This latter resource is referenced by FocusOn.  For example, based on a ProcedureRequest (= BasedOn), a task is created to fulfil a procedureRequest ( = FocusOn ) to collect a specimen from a patient."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="Resource"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Task.basedOn.value"/>
        <text value="Request fulfilled by this task"/>
        <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="Task.groupIdentifier"/>
      <text value="Requisition or grouper id"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="An identifier that links together multiple tasks and other requests that were created in the same context."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.groupIdentifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.groupIdentifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.groupIdentifier.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="Reference"/>
      </extension>
      <linkId value="Task.partOf"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Task that this particular task is part of. This should usually be 0..1."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="Task"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Task.partOf.value"/>
        <text value="Composite task"/>
        <type value="reference"/>
        <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="Task.status"/>
      <type value="group"/>
      <required value="true"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The current status of the task."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.status.value"/>
        <text value="status"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Task.statusReason"/>
      <text value="Reason for current status"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="An explanation as to why this task is held, failed, was refused, etc. This applies to the current status.  Look at the history of the task to see reasons for past statuses."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.statusReason.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.statusReason.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Task.businessStatus"/>
      <text value="E.g. &quot;Specimen collected&quot;, &quot;IV prepped&quot;"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Contains business-specific nuances of the business state."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.businessStatus.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.businessStatus.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="Task.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>
        <text value="Indicates the &quot;level&quot; of actionability associated with the Task.  I.e. Is this a proposed task, a planned task, an actionable task, etc. This element is immutable.  Proposed tasks, planned tasks, etc. must be distinct instances.&#xA;&#xA;In most cases, Tasks will have an intent of &quot;order&quot;."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.intent.value"/>
        <text value="intent"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="Task.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>
        <text value="Indicates how quickly the Task should be addressed with respect to other requests."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.priority.value"/>
        <text value="priority"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Task.code"/>
      <text value="Task Type"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A name or code (or both) briefly describing what the task involves. The title (eg &quot;My Tasks&quot;, &quot;Outstanding Tasks for Patient X&quot;) should go into the code."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.code.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.code.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="string"/>
      </extension>
      <linkId value="Task.description"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A free-text description of what is to be performed."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.description.value"/>
        <text value="Human-readable explanation of task"/>
        <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="Task.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>
        <text value="The request being actioned or the resource being manipulated by this task. If multiple resources need to be manipulated, use sub-tasks.  (This ensures that status can be tracked independently for each referenced resource.)."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="Resource"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Task.focus.value"/>
        <text value="What task is acting on"/>
        <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="Task.for"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The entity who benefits from the performance of the service specified in the task (e.g., the patient)."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="Resource"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Task.for.value"/>
        <text value="Beneficiary of the Task"/>
        <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="Task.context"/>
      <text value="Healthcare event during which this task originated"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The healthcare event  (e.g. a patient and healthcare provider interaction) during which this task was created."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.context._type"/>
        <text value="type"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
        <options>
          <reference value="#vs3"/>
        </options>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Task.context._Encounter"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <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="Task.context._Encounter.value"/>
            <text value="Encounter"/>
            <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="Task.context._EpisodeOfCare"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="EpisodeOfCare"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Task.context._EpisodeOfCare.value"/>
            <text value="EpisodeOfCare"/>
            <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>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Period"/>
      </extension>
      <linkId value="Task.executionPeriod"/>
      <text value="Start and end time of execution"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Identifies the time action was first taken against the task (start) and/or the time final action was taken against the task prior to marking it as completed (end)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.executionPeriod.low"/>
        <text value="start:"/>
        <type value="dateTime"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.executionPeriod.end"/>
        <text value="end:"/>
        <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="datetime"/>
      </extension>
      <linkId value="Task.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>
        <text value="The date and time this task was created."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.authoredOn.value"/>
        <text value="Task Creation Date"/>
        <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="datetime"/>
      </extension>
      <linkId value="Task.lastModified"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The date and time of last modification to this task."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.lastModified.value"/>
        <text value="Task Last Modified Date"/>
        <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>
      <linkId value="Task.requester"/>
      <text value="Who is asking for task to be done"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="false"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The creator of the task."/>
        <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="Task.requester.id"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.requester.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Task.requester.extension"/>
        <text value="Additional Content defined by implementations"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="Task.requester.modifierExtension"/>
        <text value="Extensions that cannot be ignored"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="Task.requester.agent"/>
        <text value="Individual asking for task"/>
        <type value="group"/>
        <required value="true"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The device, practitioner, etc. who initiated the task."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.requester.agent._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs4"/>
          </options>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Task.requester.agent._Device"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Device"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.requester.agent._Device.value"/>
              <text value="Device"/>
              <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="Task.requester.agent._Organization"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Organization"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.requester.agent._Organization.value"/>
              <text value="Organization"/>
              <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="Task.requester.agent._Patient"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Patient"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.requester.agent._Patient.value"/>
              <text value="Patient"/>
              <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="Task.requester.agent._Practitioner"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Practitioner"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.requester.agent._Practitioner.value"/>
              <text value="Practitioner"/>
              <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="Task.requester.agent._RelatedPerson"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="RelatedPerson"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.requester.agent._RelatedPerson.value"/>
              <text value="RelatedPerson"/>
              <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>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Reference"/>
        </extension>
        <linkId value="Task.requester.onBehalfOf"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The organization the device or practitioner was acting on behalf of when they initiated the task."/>
          <type value="display"/>
        </item>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
            <valueCode value="Organization"/>
          </extension>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
            <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
          </extension>
          <linkId value="Task.requester.onBehalfOf.value"/>
          <text value="Organization individual is acting for"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Task.performerType"/>
      <text value="requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The type of participant that can execute the task."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.performerType.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.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-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="Task.owner"/>
      <text value="Responsible individual"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Individual organization or Device currently responsible for task execution. Tasks may be created with an owner not yet identified."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.owner._type"/>
        <text value="type"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
        <options>
          <reference value="#vs5"/>
        </options>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Task.owner._Device"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Device"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Task.owner._Device.value"/>
            <text value="Device"/>
            <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="Task.owner._Organization"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Organization"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Task.owner._Organization.value"/>
            <text value="Organization"/>
            <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="Task.owner._Patient"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Patient"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Task.owner._Patient.value"/>
            <text value="Patient"/>
            <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="Task.owner._Practitioner"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Practitioner"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Task.owner._Practitioner.value"/>
            <text value="Practitioner"/>
            <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="Task.owner._RelatedPerson"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="RelatedPerson"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Task.owner._RelatedPerson.value"/>
            <text value="RelatedPerson"/>
            <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>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Task.reason"/>
      <text value="Why task is needed"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="A description or code indicating why this task needs to be performed. This should only be included if there is no focus or if it differs from the reason indicated on the focus."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Task.reason.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Task.reason.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="Annotation"/>
      </extension>
      <linkId value="Task.note"/>
      <text value="Comments made about the task"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Free-text information captured about the task as it progresses."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Task.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>
        <text value="Links to Provenance records for past versions of this Task that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the task. This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed.  The Provenance for the current version can be retrieved with a _revinclude."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <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="Task.relevantHistory.value"/>
        <text value="Key events in history of the Task"/>
        <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="Task.restriction"/>
      <text value="Constraints on fulfillment tasks"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="false"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="If the Task.focus is a request resource and the task is seeking fulfillment (i.e is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned."/>
        <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="Task.restriction.id"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.restriction.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Task.restriction.extension"/>
        <text value="Additional Content defined by implementations"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="Task.restriction.modifierExtension"/>
        <text value="Extensions that cannot be ignored"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="integer"/>
        </extension>
        <linkId value="Task.restriction.repetitions"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Indicates the number of times the requested action should occur."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.restriction.repetitions.value"/>
          <text value="How many times to repeat"/>
          <type value="integer"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="Period"/>
        </extension>
        <linkId value="Task.restriction.period"/>
        <text value="When fulfillment sought"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="Over what time-period is fulfillment sought. Note that period.high is the due date representing the time by which the task should be completed."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.restriction.period.low"/>
          <text value="start:"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="Task.restriction.period.end"/>
          <text value="end:"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Task.restriction.recipient"/>
        <text value="For whom is fulfillment sought?"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="For requests that are targeted to more than on potential recipient/target, for whom is fulfillment sought?"/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.restriction.recipient._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs6"/>
          </options>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Task.restriction.recipient._Patient"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Patient"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.restriction.recipient._Patient.value"/>
              <text value="Patient"/>
              <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="Task.restriction.recipient._Practitioner"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Practitioner"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.restriction.recipient._Practitioner.value"/>
              <text value="Practitioner"/>
              <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="Task.restriction.recipient._RelatedPerson"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="RelatedPerson"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.restriction.recipient._RelatedPerson.value"/>
              <text value="RelatedPerson"/>
              <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="Task.restriction.recipient._Group"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Group"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.restriction.recipient._Group.value"/>
              <text value="Group"/>
              <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="Task.restriction.recipient._Organization"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Organization"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.restriction.recipient._Organization.value"/>
              <text value="Organization"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="Task.input"/>
      <text value="Information used to perform task"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Additional information that may be needed in the execution of the task."/>
        <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="Task.input.id"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.input.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Task.input.extension"/>
        <text value="Additional Content defined by implementations"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="Task.input.modifierExtension"/>
        <text value="Extensions that cannot be ignored"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="Task.input.type"/>
        <text value="Label for the input"/>
        <type value="group"/>
        <required value="true"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="A code or description indicating how the input is intended to be used as part of the task execution. If referencing a BPMN workflow or Protocol, the &quot;system&quot; is the URL for the workflow definition and the code is the &quot;name&quot; of the required input."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.input.type.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="Task.input.type.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="Task.input.value[x]"/>
        <text value="Content to use in performing the task"/>
        <type value="group"/>
        <required value="true"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The value of the input parameter as a basic type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.input.value[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs7"/>
          </options>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="binary"/>
            </extension>
            <linkId value="Task.input.value[x]._base64Binary"/>
            <text value="base64Binary"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="boolean"/>
            </extension>
            <linkId value="Task.input.value[x]._boolean"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._boolean.value"/>
              <text value="boolean"/>
              <type value="boolean"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="code"/>
            </extension>
            <linkId value="Task.input.value[x]._code"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._code.value"/>
              <text value="value[x]"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="datetime"/>
            </extension>
            <linkId value="Task.input.value[x]._date"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._date.value"/>
              <text value="date"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="datetime"/>
            </extension>
            <linkId value="Task.input.value[x]._dateTime"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._dateTime.value"/>
              <text value="dateTime"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="decimal"/>
            </extension>
            <linkId value="Task.input.value[x]._decimal"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._decimal.value"/>
              <text value="decimal"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="Task.input.value[x]._id"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._id.value"/>
              <text value="id"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="instant"/>
            </extension>
            <linkId value="Task.input.value[x]._instant"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._instant.value"/>
              <text value="instant"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="integer"/>
            </extension>
            <linkId value="Task.input.value[x]._integer"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._integer.value"/>
              <text value="integer"/>
              <type value="integer"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="Task.input.value[x]._markdown"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._markdown.value"/>
              <text value="markdown"/>
              <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="Task.input.value[x]._oid"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._oid.value"/>
              <text value="oid"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="integer"/>
            </extension>
            <linkId value="Task.input.value[x]._positiveInt"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._positiveInt.value"/>
              <text value="positiveInt"/>
              <type value="integer"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="Task.input.value[x]._string"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._string.value"/>
              <text value="string"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="time"/>
            </extension>
            <linkId value="Task.input.value[x]._time"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._time.value"/>
              <text value="time"/>
              <type value="time"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="integer"/>
            </extension>
            <linkId value="Task.input.value[x]._unsignedInt"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._unsignedInt.value"/>
              <text value="unsignedInt"/>
              <type value="integer"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="uri"/>
            </extension>
            <linkId value="Task.input.value[x]._uri"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._uri.value"/>
              <text value="uri"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Address"/>
            </extension>
            <linkId value="Task.input.value[x]._Address"/>
            <text value="Address"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Address.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Address.line"/>
              <text value="line:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="true"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Address.city"/>
              <text value="city:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Address.state"/>
              <text value="state:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Address.postalCode"/>
              <text value="post code:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Address.country"/>
              <text value="country:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Address.use"/>
              <text value="use:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="Task.input.value[x]._Age"/>
            <text value="Age"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Age.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Age.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Age.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Age.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Age.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="Annotation"/>
            </extension>
            <linkId value="Task.input.value[x]._Annotation"/>
            <text value="Annotation"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Attachment"/>
            </extension>
            <linkId value="Task.input.value[x]._Attachment"/>
            <text value="Attachment"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="Task.input.value[x]._CodeableConcept"/>
            <text value="CodeableConcept"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._CodeableConcept.coding"/>
              <text value="code:"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._CodeableConcept.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="Coding"/>
            </extension>
            <linkId value="Task.input.value[x]._Coding"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Coding.value"/>
              <text value="Coding"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="ContactPoint"/>
            </extension>
            <linkId value="Task.input.value[x]._ContactPoint"/>
            <text value="ContactPoint"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._ContactPoint.system"/>
              <text value="type:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._ContactPoint.value"/>
              <text value="value:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._ContactPoint.use"/>
              <text value="use:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="Task.input.value[x]._Count"/>
            <text value="Count"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Count.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Count.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Count.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Count.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Count.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="Quantity"/>
            </extension>
            <linkId value="Task.input.value[x]._Distance"/>
            <text value="Distance"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Distance.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Distance.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Distance.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Distance.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Distance.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="Quantity"/>
            </extension>
            <linkId value="Task.input.value[x]._Duration"/>
            <text value="Duration"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Duration.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Duration.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Duration.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Duration.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Duration.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="Name"/>
            </extension>
            <linkId value="Task.input.value[x]._HumanName"/>
            <text value="HumanName"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._HumanName.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._HumanName.family"/>
              <text value="family:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="true"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._HumanName.given"/>
              <text value="given:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="true"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Identifier"/>
            </extension>
            <linkId value="Task.input.value[x]._Identifier"/>
            <text value="Identifier"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Identifier.label"/>
              <text value="label:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Identifier.system"/>
              <text value="system:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._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="Quantity"/>
            </extension>
            <linkId value="Task.input.value[x]._Money"/>
            <text value="Money"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Money.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Money.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Money.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Money.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Money.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="Period"/>
            </extension>
            <linkId value="Task.input.value[x]._Period"/>
            <text value="Period"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Period.low"/>
              <text value="start:"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Period.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="Quantity"/>
            </extension>
            <linkId value="Task.input.value[x]._Quantity"/>
            <text value="Quantity"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Quantity.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Quantity.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Quantity.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Quantity.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Quantity.system"/>
              <text value="units system:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Range"/>
            </extension>
            <linkId value="Task.input.value[x]._Range"/>
            <text value="Range"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Range.low"/>
              <text value="low:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Range.high"/>
              <text value="high:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Range.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Ratio"/>
            </extension>
            <linkId value="Task.input.value[x]._Ratio"/>
            <text value="Ratio"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Ratio.numerator"/>
              <text value="numerator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Ratio.denominator"/>
              <text value="denominator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Ratio.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="Reference"/>
            </extension>
            <linkId value="Task.input.value[x]._Reference"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.input.value[x]._Reference.value"/>
              <text value="Reference"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="SampledData"/>
            </extension>
            <linkId value="Task.input.value[x]._SampledData"/>
            <text value="SampledData"/>
            <type value="group"/>
          </item>
          <item>
            <linkId value="Task.input.value[x]._Signature"/>
            <text value="Signature"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Schedule"/>
            </extension>
            <linkId value="Task.input.value[x]._Timing"/>
            <text value="Timing"/>
            <type value="group"/>
            <item>
              <linkId value="Task.input.value[x]._Timing.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.input.value[x]._Timing.date"/>
              <text value="date:"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Patient"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Practitioner"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="RelatedPerson"/>
              </extension>
              <linkId value="Task.input.value[x]._Timing.author"/>
              <text value="author:"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="Task.input.value[x]._Meta"/>
            <text value="Meta"/>
            <type value="group"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="Task.output"/>
      <text value="Information produced as part of task"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Outputs produced by the Task."/>
        <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="Task.output.id"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.output.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Task.output.extension"/>
        <text value="Additional Content defined by implementations"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <linkId value="Task.output.modifierExtension"/>
        <text value="Extensions that cannot be ignored"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."/>
          <type value="display"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="Task.output.type"/>
        <text value="Label for output"/>
        <type value="group"/>
        <required value="true"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The name of the Output parameter."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.output.type.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="Task.output.type.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="Task.output.value[x]"/>
        <text value="Result of output"/>
        <type value="group"/>
        <required value="true"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="The value of the Output parameter as a basic type."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Task.output.value[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs8"/>
          </options>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="binary"/>
            </extension>
            <linkId value="Task.output.value[x]._base64Binary"/>
            <text value="base64Binary"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="boolean"/>
            </extension>
            <linkId value="Task.output.value[x]._boolean"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._boolean.value"/>
              <text value="boolean"/>
              <type value="boolean"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="code"/>
            </extension>
            <linkId value="Task.output.value[x]._code"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._code.value"/>
              <text value="value[x]"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="datetime"/>
            </extension>
            <linkId value="Task.output.value[x]._date"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._date.value"/>
              <text value="date"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="datetime"/>
            </extension>
            <linkId value="Task.output.value[x]._dateTime"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._dateTime.value"/>
              <text value="dateTime"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="decimal"/>
            </extension>
            <linkId value="Task.output.value[x]._decimal"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._decimal.value"/>
              <text value="decimal"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="Task.output.value[x]._id"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._id.value"/>
              <text value="id"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="instant"/>
            </extension>
            <linkId value="Task.output.value[x]._instant"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._instant.value"/>
              <text value="instant"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="integer"/>
            </extension>
            <linkId value="Task.output.value[x]._integer"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._integer.value"/>
              <text value="integer"/>
              <type value="integer"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="Task.output.value[x]._markdown"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._markdown.value"/>
              <text value="markdown"/>
              <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="Task.output.value[x]._oid"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._oid.value"/>
              <text value="oid"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="integer"/>
            </extension>
            <linkId value="Task.output.value[x]._positiveInt"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._positiveInt.value"/>
              <text value="positiveInt"/>
              <type value="integer"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="string"/>
            </extension>
            <linkId value="Task.output.value[x]._string"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._string.value"/>
              <text value="string"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="time"/>
            </extension>
            <linkId value="Task.output.value[x]._time"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._time.value"/>
              <text value="time"/>
              <type value="time"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="integer"/>
            </extension>
            <linkId value="Task.output.value[x]._unsignedInt"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._unsignedInt.value"/>
              <text value="unsignedInt"/>
              <type value="integer"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="uri"/>
            </extension>
            <linkId value="Task.output.value[x]._uri"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._uri.value"/>
              <text value="uri"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Address"/>
            </extension>
            <linkId value="Task.output.value[x]._Address"/>
            <text value="Address"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Address.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Address.line"/>
              <text value="line:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="true"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Address.city"/>
              <text value="city:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Address.state"/>
              <text value="state:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Address.postalCode"/>
              <text value="post code:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Address.country"/>
              <text value="country:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Address.use"/>
              <text value="use:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="Task.output.value[x]._Age"/>
            <text value="Age"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Age.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Age.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Age.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Age.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Age.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="Annotation"/>
            </extension>
            <linkId value="Task.output.value[x]._Annotation"/>
            <text value="Annotation"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Attachment"/>
            </extension>
            <linkId value="Task.output.value[x]._Attachment"/>
            <text value="Attachment"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="Task.output.value[x]._CodeableConcept"/>
            <text value="CodeableConcept"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._CodeableConcept.coding"/>
              <text value="code:"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._CodeableConcept.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="Coding"/>
            </extension>
            <linkId value="Task.output.value[x]._Coding"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Coding.value"/>
              <text value="Coding"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="ContactPoint"/>
            </extension>
            <linkId value="Task.output.value[x]._ContactPoint"/>
            <text value="ContactPoint"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._ContactPoint.system"/>
              <text value="type:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._ContactPoint.value"/>
              <text value="value:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._ContactPoint.use"/>
              <text value="use:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Quantity"/>
            </extension>
            <linkId value="Task.output.value[x]._Count"/>
            <text value="Count"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Count.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Count.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Count.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Count.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Count.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="Quantity"/>
            </extension>
            <linkId value="Task.output.value[x]._Distance"/>
            <text value="Distance"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Distance.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Distance.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Distance.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Distance.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Distance.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="Quantity"/>
            </extension>
            <linkId value="Task.output.value[x]._Duration"/>
            <text value="Duration"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Duration.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Duration.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Duration.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Duration.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Duration.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="Name"/>
            </extension>
            <linkId value="Task.output.value[x]._HumanName"/>
            <text value="HumanName"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._HumanName.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._HumanName.family"/>
              <text value="family:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="true"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._HumanName.given"/>
              <text value="given:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="true"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Identifier"/>
            </extension>
            <linkId value="Task.output.value[x]._Identifier"/>
            <text value="Identifier"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Identifier.label"/>
              <text value="label:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Identifier.system"/>
              <text value="system:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._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="Quantity"/>
            </extension>
            <linkId value="Task.output.value[x]._Money"/>
            <text value="Money"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Money.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Money.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Money.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Money.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Money.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="Period"/>
            </extension>
            <linkId value="Task.output.value[x]._Period"/>
            <text value="Period"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Period.low"/>
              <text value="start:"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Period.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="Quantity"/>
            </extension>
            <linkId value="Task.output.value[x]._Quantity"/>
            <text value="Quantity"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Quantity.comparator"/>
              <text value="comp:"/>
              <type value="choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Quantity.value"/>
              <text value="value:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Quantity.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Quantity.code"/>
              <text value="coded units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Quantity.system"/>
              <text value="units system:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Range"/>
            </extension>
            <linkId value="Task.output.value[x]._Range"/>
            <text value="Range"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Range.low"/>
              <text value="low:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Range.high"/>
              <text value="high:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Range.units"/>
              <text value="units:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Ratio"/>
            </extension>
            <linkId value="Task.output.value[x]._Ratio"/>
            <text value="Ratio"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Ratio.numerator"/>
              <text value="numerator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Ratio.denominator"/>
              <text value="denominator:"/>
              <type value="decimal"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Ratio.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="Reference"/>
            </extension>
            <linkId value="Task.output.value[x]._Reference"/>
            <type value="group"/>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
                <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Task.output.value[x]._Reference.value"/>
              <text value="Reference"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="SampledData"/>
            </extension>
            <linkId value="Task.output.value[x]._SampledData"/>
            <text value="SampledData"/>
            <type value="group"/>
          </item>
          <item>
            <linkId value="Task.output.value[x]._Signature"/>
            <text value="Signature"/>
            <type value="group"/>
          </item>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
              <valueString value="Schedule"/>
            </extension>
            <linkId value="Task.output.value[x]._Timing"/>
            <text value="Timing"/>
            <type value="group"/>
            <item>
              <linkId value="Task.output.value[x]._Timing.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <linkId value="Task.output.value[x]._Timing.date"/>
              <text value="date:"/>
              <type value="dateTime"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
            <item>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Patient"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="Practitioner"/>
              </extension>
              <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
                <valueCode value="RelatedPerson"/>
              </extension>
              <linkId value="Task.output.value[x]._Timing.author"/>
              <text value="author:"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </item>
          </item>
          <item>
            <linkId value="Task.output.value[x]._Meta"/>
            <text value="Meta"/>
            <type value="group"/>
          </item>
        </item>
      </item>
    </item>
  </item>
</Questionnaire>

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.