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

Procedure-questionnaire.xml

Patient Care Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Encounter, Patient, Practitioner, RelatedPerson

Raw XML (canonical form)

Generated Questionnaire for Procedure

<?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 Procedure.definition"/>
      <status value="active"/>
      <description value="Type options for Procedure.definition"/>
      <expansion>
        <identifier value="urn:uuid:2754f5c5-6a02-4380-8a47-fbdc3b9f9838"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="PlanDefinition"/>
          <display value="PlanDefinition"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="ActivityDefinition"/>
          <display value="ActivityDefinition"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="HealthcareService"/>
          <display value="HealthcareService"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs3"/>
      <name value="Type options for Procedure.basedOn"/>
      <status value="active"/>
      <description value="Type options for Procedure.basedOn"/>
      <expansion>
        <identifier value="urn:uuid:bcebf6fa-5f62-403b-b7fb-454421ea14d3"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="CarePlan"/>
          <display value="CarePlan"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="ProcedureRequest"/>
          <display value="ProcedureRequest"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="ReferralRequest"/>
          <display value="ReferralRequest"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs4"/>
      <name value="Type options for Procedure.partOf"/>
      <status value="active"/>
      <description value="Type options for Procedure.partOf"/>
      <expansion>
        <identifier value="urn:uuid:97c98485-3b42-4f8a-a2eb-4618abc023d3"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Procedure"/>
          <display value="Procedure"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Observation"/>
          <display value="Observation"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="MedicationAdministration"/>
          <display value="MedicationAdministration"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs5"/>
      <name value="Type options for Procedure.subject"/>
      <status value="active"/>
      <description value="Type options for Procedure.subject"/>
      <expansion>
        <identifier value="urn:uuid:8073ade2-43c9-45d5-9e12-1a2b10bc3660"/>
        <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="Group"/>
          <display value="Group"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs6"/>
      <name value="Type options for Procedure.context"/>
      <status value="active"/>
      <description value="Type options for Procedure.context"/>
      <expansion>
        <identifier value="urn:uuid:4ef8e9fb-ec44-477f-9de6-0f6e328a9c35"/>
        <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="vs7"/>
      <name value="Type options for Procedure.performed[x]"/>
      <status value="active"/>
      <description value="Type options for Procedure.performed[x]"/>
      <expansion>
        <identifier value="urn:uuid:3ec61b0e-2941-42b8-829c-f727d0ef29aa"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <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="Period"/>
          <display value="Period"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs8"/>
      <name value="Type options for Procedure.performer.actor"/>
      <status value="active"/>
      <description value="Type options for Procedure.performer.actor"/>
      <expansion>
        <identifier value="urn:uuid:747f5407-5334-4356-b5a4-1d41f2541b62"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <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="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="RelatedPerson"/>
          <display value="RelatedPerson"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Device"/>
          <display value="Device"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs9"/>
      <name value="Type options for Procedure.reasonReference"/>
      <status value="active"/>
      <description value="Type options for Procedure.reasonReference"/>
      <expansion>
        <identifier value="urn:uuid:a3157b4d-ef8a-4b18-abd7-8ee24d2cdde2"/>
        <timestamp value="2019-10-24T11:53:00+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Condition"/>
          <display value="Condition"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Observation"/>
          <display value="Observation"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs10"/>
      <name value="Type options for Procedure.usedReference"/>
      <status value="active"/>
      <description value="Type options for Procedure.usedReference"/>
      <expansion>
        <identifier value="urn:uuid:f71b8626-0d25-4b00-89ea-308d3daaa782"/>
        <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="Medication"/>
          <display value="Medication"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Substance"/>
          <display value="Substance"/>
        </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 (Patient Care)"/>
  <item>
    <linkId value="Procedure"/>
    <text value="An action that is being or was performed on a patient"/>
    <type value="group"/>
    <required value="false"/>
    <repeats value="true"/>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 action that is or was performed on a patient. This can be a physical intervention like an operation, or less invasive like counseling or hypnotherapy."/>
      <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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.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="Procedure.identifier"/>
      <text value="External Identifiers for this procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="This records identifiers associated with this procedure that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.identifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.identifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.identifier.value"/>
        <text value="value:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="Procedure.definition"/>
      <text value="Instantiates protocol or definition"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 protocol, guideline, orderset or other definition that was adhered to in whole or in part by this procedure."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.definition._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="Reference"/>
          </extension>
          <linkId value="Procedure.definition._PlanDefinition"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="PlanDefinition"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.definition._PlanDefinition.value"/>
            <text value="PlanDefinition"/>
            <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="Procedure.definition._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="Procedure.definition._ActivityDefinition.value"/>
            <text value="ActivityDefinition"/>
            <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="Procedure.definition._HealthcareService"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="HealthcareService"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.definition._HealthcareService.value"/>
            <text value="HealthcareService"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="Procedure.basedOn"/>
      <text value="A request for this procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 resource that contains details of the request for this procedure."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.basedOn._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="Procedure.basedOn._CarePlan"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="CarePlan"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.basedOn._CarePlan.value"/>
            <text value="CarePlan"/>
            <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="Procedure.basedOn._ProcedureRequest"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="ProcedureRequest"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.basedOn._ProcedureRequest.value"/>
            <text value="ProcedureRequest"/>
            <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="Procedure.basedOn._ReferralRequest"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="ReferralRequest"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.basedOn._ReferralRequest.value"/>
            <text value="ReferralRequest"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="Procedure.partOf"/>
      <text value="Part of referenced event"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 larger event of which this particular procedure is a component or step. The MedicationAdministration has a partOf reference to Procedure, but this is not a circular reference.  For a surgical procedure, the anesthesia related medicationAdministration is part of the procedure.  For an IV medication administration,  the procedure to insert the IV port is part of the medication administration."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.partOf._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="Procedure.partOf._Procedure"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Procedure"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.partOf._Procedure.value"/>
            <text value="Procedure"/>
            <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="Procedure.partOf._Observation"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Observation"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.partOf._Observation.value"/>
            <text value="Observation"/>
            <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="Procedure.partOf._MedicationAdministration"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="MedicationAdministration"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.partOf._MedicationAdministration.value"/>
            <text value="MedicationAdministration"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="code"/>
      </extension>
      <linkId value="Procedure.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="A code specifying the state of the procedure. Generally this will be in-progress or completed state. The unknown code is not to be used to convey other statuses.  The unknown code should be used when one of the statuses applies, but the authoring system doesn&#39;t know the current state of the procedure.&#xA;&#xA;This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.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="boolean"/>
      </extension>
      <linkId value="Procedure.notDone"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Set this to true if the record is saying that the procedure was NOT performed. If true, it means the procedure did not occur as described.  Typically it would be accompanied by attributes describing the type of activity.  It might also be accompanied by body site information or time information (i.e. no procedure was done to the left arm or no procedure was done in this 2-year period).  Specifying additional information such as performer, outcome, etc. is generally inappropriate.  For example, it&#39;s not that useful to say &quot;There was no appendectomy done at 12:03pm June 6th by Dr. Smith with a successful outcome&quot; as it implies that there *could* have been an appendectomy done at any other time, by any other clinician or with any other outcome.&#xA;&#xA;This element is labeled as a modifier because it indicates that a procedure didn&#39;t happen."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.notDone.value"/>
        <text value="True if procedure was not performed as scheduled"/>
        <type value="boolean"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.notDoneReason"/>
      <text value="Reason procedure was not 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 code indicating why the procedure was not performed."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.notDoneReason.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.notDoneReason.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="Procedure.category"/>
      <text value="Classification of the procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 that classifies the procedure for searching, sorting and display purposes (e.g. &quot;Surgical Procedure&quot;)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.category.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.category.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.code"/>
      <text value="Identification of the procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The specific procedure that is performed. Use text if the exact nature of the procedure cannot be coded (e.g. &quot;Laparoscopic Appendectomy&quot;)."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.code.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.code.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="Procedure.subject"/>
      <text value="Who the procedure was performed on"/>
      <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 person, animal or group on which the procedure was performed."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.subject._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="Procedure.subject._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="Procedure.subject._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="Procedure.subject._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="Procedure.subject._Group.value"/>
            <text value="Group"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <linkId value="Procedure.context"/>
      <text value="Encounter or episode associated with the procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 encounter during which the procedure was performed."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.context._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="Procedure.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="Procedure.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="Procedure.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="Procedure.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>
      <linkId value="Procedure.performed[x]"/>
      <text value="Date/Period the procedure was 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="The date(time)/period over which the procedure was performed. Allows a period to support complex procedures that span more than one date, and also allows for the length of the procedure to be captured."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.performed[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="datetime"/>
          </extension>
          <linkId value="Procedure.performed[x]._dateTime"/>
          <type value="group"/>
          <item>
            <linkId value="Procedure.performed[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="Period"/>
          </extension>
          <linkId value="Procedure.performed[x]._Period"/>
          <text value="Period"/>
          <type value="group"/>
          <item>
            <linkId value="Procedure.performed[x]._Period.low"/>
            <text value="start:"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
          <item>
            <linkId value="Procedure.performed[x]._Period.end"/>
            <text value="end:"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </item>
        </item>
      </item>
    </item>
    <item>
      <linkId value="Procedure.performer"/>
      <text value="The people who performed the procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Limited to &#39;real&#39; people rather than equipment."/>
        <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="Procedure.performer.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="Procedure.performer.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Procedure.performer.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="Procedure.performer.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="CodeableConcept"/>
        </extension>
        <linkId value="Procedure.performer.role"/>
        <text value="The role the actor was in"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
            <valueCodeableConcept>
              <coding>
                <system value="http://hl7.org/fhir/questionnaire-item-control"/>
                <code value="flyover"/>
                <display value="Fly-over"/>
              </coding>
            </valueCodeableConcept>
          </extension>
          <text value="For example: surgeon, anaethetist, endoscopist."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Procedure.performer.role.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="Procedure.performer.role.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs">
          <valueInteger value="1"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
          <valueInteger value="1"/>
        </extension>
        <linkId value="Procedure.performer.actor"/>
        <text value="The reference to the practitioner"/>
        <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 practitioner who was involved in the procedure."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Procedure.performer.actor._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="Reference"/>
            </extension>
            <linkId value="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._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="Procedure.performer.actor._Device.value"/>
              <text value="Device"/>
              <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="Procedure.performer.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."/>
          <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="Procedure.performer.onBehalfOf.value"/>
          <text value="Organization the device or practitioner was acting for"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Procedure.location"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="The location where the procedure actually happened.  E.g. a newborn at home, a tracheostomy at a restaurant."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="Location"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Procedure.location.value"/>
        <text value="Where the procedure happened"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.reasonCode"/>
      <text value="Coded reason procedure 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="The coded reason why the procedure was performed. This may be coded entity of some type, or may simply be present as text."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.reasonCode.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.reasonCode.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <linkId value="Procedure.reasonReference"/>
      <text value="Condition that is the reason the procedure 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="The condition that is the reason why the procedure was performed. e.g. endoscopy for dilatation and biopsy, combination diagnosis and therapeutic."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.reasonReference._type"/>
        <text value="type"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
        <options>
          <reference value="#vs9"/>
        </options>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Procedure.reasonReference._Condition"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Condition"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.reasonReference._Condition.value"/>
            <text value="Condition"/>
            <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="Procedure.reasonReference._Observation"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Observation"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.reasonReference._Observation.value"/>
            <text value="Observation"/>
            <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="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.bodySite"/>
      <text value="Target body sites"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Detailed and structured anatomical location information. Multiple locations are allowed - e.g. multiple punch biopsies of a lesion."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.bodySite.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.bodySite.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs">
        <valueInteger value="1"/>
      </extension>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.outcome"/>
      <text value="The result of procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 outcome of the procedure - did it resolve reasons for the procedure being performed? If outcome contains narrative text only, it can be captured using the CodeableConcept.text."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.outcome.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.outcome.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Procedure.report"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="This could be a histology result, pathology report, surgical report, etc.. There could potentially be multiple reports - e.g. if this was a procedure which took multiple biopsies resulting in a number of anatomical pathology reports."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="DiagnosticReport"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Procedure.report.value"/>
        <text value="Any report resulting from the procedure"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.complication"/>
      <text value="Complication following the procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Any complications that occurred during the procedure, or in the immediate post-performance period. These are generally tracked separately from the notes, which will typically describe the procedure itself rather than any &#39;post procedure&#39; issues. If complications are only expressed by the narrative text, they can be captured using the CodeableConcept.text."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.complication.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.complication.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Procedure.complicationDetail"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Any complications that occurred during the procedure, or in the immediate post-performance period."/>
        <type value="display"/>
      </item>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
          <valueCode value="Condition"/>
        </extension>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
          <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Procedure.complicationDetail.value"/>
        <text value="A condition that&#xA0;is a result of the procedure"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
    <item>
      <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.followUp"/>
      <text value="Instructions for follow up"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 procedure required specific follow up - e.g. removal of sutures. The followup may be represented as a simple note, or could potentially be more complex in which case the CarePlan resource can be used."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.followUp.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.followUp.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="Procedure.note"/>
      <text value="Additional information about the procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl">
          <valueCodeableConcept>
            <coding>
              <system value="http://hl7.org/fhir/questionnaire-item-control"/>
              <code value="flyover"/>
              <display value="Fly-over"/>
            </coding>
          </valueCodeableConcept>
        </extension>
        <text value="Any other notes about the procedure.  E.g. the operative notes."/>
        <type value="display"/>
      </item>
    </item>
    <item>
      <linkId value="Procedure.focalDevice"/>
      <text value="Device changed in procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 device that is implanted, removed or otherwise manipulated (calibration, battery replacement, fitting a prosthesis, attaching a wound-vac, etc.) as a focal portion of the Procedure."/>
        <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="Procedure.focalDevice.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="Procedure.focalDevice.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
      <item>
        <linkId value="Procedure.focalDevice.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="Procedure.focalDevice.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="CodeableConcept"/>
        </extension>
        <linkId value="Procedure.focalDevice.action"/>
        <text value="Kind of change to device"/>
        <type value="group"/>
        <required value="false"/>
        <repeats value="true"/>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 kind of change that happened to the device during the procedure."/>
          <type value="display"/>
        </item>
        <item>
          <linkId value="Procedure.focalDevice.action.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
        <item>
          <linkId value="Procedure.focalDevice.action.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="Reference"/>
        </extension>
        <linkId value="Procedure.focalDevice.manipulated"/>
        <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 that was manipulated (changed) during the procedure."/>
          <type value="display"/>
        </item>
        <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="Procedure.focalDevice.manipulated.value"/>
          <text value="Device that was changed"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </item>
      </item>
    </item>
    <item>
      <linkId value="Procedure.usedReference"/>
      <text value="Items used during procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 medications, devices and any other substance used as part of the procedure. For devices actually implanted or removed, use Procedure.device."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.usedReference._type"/>
        <text value="type"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
        <options>
          <reference value="#vs10"/>
        </options>
        <item>
          <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Procedure.usedReference._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="Procedure.usedReference._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="Procedure.usedReference._Medication"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Medication"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.usedReference._Medication.value"/>
            <text value="Medication"/>
            <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="Procedure.usedReference._Substance"/>
          <type value="group"/>
          <item>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource">
              <valueCode value="Substance"/>
            </extension>
            <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter">
              <valueString value="subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Procedure.usedReference._Substance.value"/>
            <text value="Substance"/>
            <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="CodeableConcept"/>
      </extension>
      <linkId value="Procedure.usedCode"/>
      <text value="Coded items used during the procedure"/>
      <type value="group"/>
      <required value="false"/>
      <repeats value="true"/>
      <item>
        <extension url="http://hl7.org/fhir/StructureDefinition/questionnaire-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 coded items that were used as part of the procedure. For devices actually implanted or removed, use Procedure.device."/>
        <type value="display"/>
      </item>
      <item>
        <linkId value="Procedure.usedCode.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
      <item>
        <linkId value="Procedure.usedCode.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </item>
    </item>
  </item>
</Questionnaire>

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