This page is part of the FHIR Specification (v0.0.82: DSTU 1). The current version which supercedes this version is 5.0.0. For a full list of available versions, see the Directory of published versions

Contract.questionnaire.xml

Raw XML (canonical form)

Generated Questionnaire for Contract

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

<Questionnaire xmlns="http://hl7.org/fhir">
  <id value="qs1"/>
  <contained>
    <ValueSet>
      <id value="vs2"/>
      <url value="urn:uuid:b1951f8d-f8fc-4db1-88dc-72ef3caca9c1"/>
      <name value="Type options for Contract.actor.entity"/>
      <description value="Type options for Contract.actor.entity"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:8c10939d-74a6-4e2b-9161-f8422b51e17e"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Contract"/>
          <display value="Contract"/>
        </contains>
        <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="Group"/>
          <display value="Group"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Location"/>
          <display value="Location"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Organization"/>
          <display value="Organization"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Patient"/>
          <display value="Patient"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Practitioner"/>
          <display value="Practitioner"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="RelatedPerson"/>
          <display value="RelatedPerson"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Substance"/>
          <display value="Substance"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Supply"/>
          <display value="Supply"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs3"/>
      <url value="urn:uuid:63db0983-3545-432f-acd5-34c1b68e9b71"/>
      <name value="Type options for Contract.valuedItem.entity[x]"/>
      <description value="Type options for Contract.valuedItem.entity[x]"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:c86023e1-b187-4560-b48b-0efe38e332a2"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Resource"/>
          <display value="Resource"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs4"/>
      <url value="urn:uuid:8119b017-39de-4a3e-b0b5-722e55bb7380"/>
      <name value="Type options for Contract.signer.party"/>
      <description value="Type options for Contract.signer.party"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:2e08b643-9c5e-46bd-a390-c9ff9f8b876d"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Organization"/>
          <display value="Organization"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Patient"/>
          <display value="Patient"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Practitioner"/>
          <display value="Practitioner"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="RelatedPerson"/>
          <display value="RelatedPerson"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs5"/>
      <url value="urn:uuid:3e42cf78-75cd-497d-a788-169091246c30"/>
      <name value="Type options for Contract.term.actor.entity"/>
      <description value="Type options for Contract.term.actor.entity"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:a459b824-4c14-4ccf-b933-813a8fc9c4fd"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Contract"/>
          <display value="Contract"/>
        </contains>
        <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="Group"/>
          <display value="Group"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Location"/>
          <display value="Location"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Organization"/>
          <display value="Organization"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Patient"/>
          <display value="Patient"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Practitioner"/>
          <display value="Practitioner"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="RelatedPerson"/>
          <display value="RelatedPerson"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Substance"/>
          <display value="Substance"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Supply"/>
          <display value="Supply"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs6"/>
      <url value="urn:uuid:7eeb0a4c-8f88-464c-a1d7-2ce11f9b79b4"/>
      <name value="Type options for Contract.term.valuedItem.entity[x]"/>
      <description value="Type options for Contract.term.valuedItem.entity[x]"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:594d0363-6910-48c3-95c1-31f316f94702"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="CodeableConcept"/>
          <display value="CodeableConcept"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Resource"/>
          <display value="Resource"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs7"/>
      <url value="urn:uuid:f61be41a-f97d-42d7-b714-c773722b0af9"/>
      <name value="Type options for Contract.binding[x]"/>
      <description value="Type options for Contract.binding[x]"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:19e4b086-a3ee-47b5-9d31-22ae9cea1e4e"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Composition"/>
          <display value="Composition"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="DocumentReference"/>
          <display value="DocumentReference"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="QuestionnaireAnswers"/>
          <display value="QuestionnaireAnswers"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs8"/>
      <url value="urn:uuid:7d787653-1a2c-4815-b49c-69b5d23d99ab"/>
      <name value="Type options for Contract.friendly.content[x]"/>
      <description value="Type options for Contract.friendly.content[x]"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:7feca844-a0fe-43c7-8379-1499899a4a12"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Composition"/>
          <display value="Composition"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="DocumentReference"/>
          <display value="DocumentReference"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="QuestionnaireAnswers"/>
          <display value="QuestionnaireAnswers"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs9"/>
      <url value="urn:uuid:b098a368-d39f-40d2-81aa-61f1506c1c22"/>
      <name value="Type options for Contract.legal.content[x]"/>
      <description value="Type options for Contract.legal.content[x]"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:2b6f6566-802f-4d9c-bcd4-9a3546937bd2"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="Composition"/>
          <display value="Composition"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="DocumentReference"/>
          <display value="DocumentReference"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="QuestionnaireAnswers"/>
          <display value="QuestionnaireAnswers"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <contained>
    <ValueSet>
      <id value="vs10"/>
      <url value="urn:uuid:f2350fb9-40a2-40fd-a320-83da6abce9ad"/>
      <name value="Type options for Contract.rule.content[x]"/>
      <description value="Type options for Contract.rule.content[x]"/>
      <status value="active"/>
      <expansion>
        <identifier value="urn:uuid:13c2f1eb-0eb6-4cfc-ab94-16d412f30442"/>
        <timestamp value="2015-03-27T00:19:05+11:00"/>
        <contains>
          <system value="http://hl7.org/fhir/data-types"/>
          <code value="Attachment"/>
          <display value="Attachment"/>
        </contains>
        <contains>
          <system value="http://hl7.org/fhir/resource-types"/>
          <code value="DocumentReference"/>
          <display value="DocumentReference"/>
        </contains>
      </expansion>
    </ValueSet>
  </contained>
  <identifier>
    <system value="urn:ietf:rfc:3986"/>
  </identifier>
  <status value="draft"/>
  <date value="2015-03-27T00:13:00+11:00"/>
  <publisher value="HL7 FHIR Project (Financial Management)"/>
  <group>
    <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
      <valueString value="A formal agreement between parties regarding the conduct of business, exchange of information or other matters."/>
    </extension>
    <linkId value="Contract"/>
    <title value="Contract"/>
    <required value="true"/>
    <repeats value="false"/>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="The logical id of the resource, as used in the url for the resoure. 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. Bundles always have an id, though it is usually a generated UUID."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="string"/>
      </extension>
      <linkId value="Contract.id"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.id.value"/>
        <text value="Logical id of this artefact"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString 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."/>
      </extension>
      <linkId value="Contract.meta"/>
      <text value="Metadata about the resource"/>
      <required value="false"/>
      <repeats value="true"/>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString 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 as much as possible."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="uri"/>
      </extension>
      <linkId value="Contract.implicitRules"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.implicitRules.value"/>
        <text value="A set of rules under which this content was created"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString 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)."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="code"/>
      </extension>
      <linkId value="Contract.language"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.language.value"/>
        <text value="language"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString 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."/>
      </extension>
      <linkId value="Contract.text"/>
      <text value="Text summary of the resource, for human interpretation"/>
      <required value="false"/>
      <repeats value="true"/>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString 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."/>
      </extension>
      <linkId value="Contract.contained"/>
      <text value="Contained, inline Resources"/>
      <required value="false"/>
      <repeats value="true"/>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Unique identifier for this Contract."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="Identifier"/>
      </extension>
      <linkId value="Contract.identifier"/>
      <text value="Contract identifier"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.identifier.label"/>
        <text value="label:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
      <question>
        <linkId value="Contract.identifier.system"/>
        <text value="system:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
      <question>
        <linkId value="Contract.identifier.value"/>
        <text value="value:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="When this  Contract was issued."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="datetime"/>
      </extension>
      <linkId value="Contract.issued"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.issued.value"/>
        <text value="When this Contract was issued"/>
        <type value="dateTime"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Relevant time or time-period when this Contract is applicable."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="Period"/>
      </extension>
      <linkId value="Contract.applies"/>
      <text value="Effective time"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.applies.low"/>
        <text value="start:"/>
        <type value="dateTime"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
      <question>
        <linkId value="Contract.applies.end"/>
        <text value="end:"/>
        <type value="dateTime"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Contract.subject"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
          <valueString value="/Resource?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Contract.subject.value"/>
        <text value="Subject of this Contract"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Contract.authority"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
          <valueString value="/Organization?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Contract.authority.value"/>
        <text value="Authority under which this Contract has standing"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="Reference"/>
      </extension>
      <linkId value="Contract.domain"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
          <valueString value="/Location?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
        </extension>
        <linkId value="Contract.domain.value"/>
        <text value="Domain in which this Contract applies"/>
        <type value="reference"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Contract.type"/>
      <text value="Contract Tyoe"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.type.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
      <question>
        <linkId value="Contract.type.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="More specific type or specialization of an overarching or more general contract such as auto insurance, home owner  insurance, prenupial agreement, Advanced-Directive, or privacy consent."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Contract.subType"/>
      <text value="Contract Subtype"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.subType.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
      <question>
        <linkId value="Contract.subType.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Action stipulated by this Contract."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Contract.action"/>
      <text value="Contract Action"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.action.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
      <question>
        <linkId value="Contract.action.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Reason for action stipulated by this Contract."/>
      </extension>
      <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
        <valueString value="CodeableConcept"/>
      </extension>
      <linkId value="Contract.actionReason"/>
      <text value="Contract Action Reason"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.actionReason.coding"/>
        <text value="code:"/>
        <type value="open-choice"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
      <question>
        <linkId value="Contract.actionReason.text"/>
        <text value="text:"/>
        <type value="string"/>
        <required value="false"/>
        <repeats value="false"/>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="List of Contract actors."/>
      </extension>
      <linkId value="Contract.actor"/>
      <title value="Contract Actor"/>
      <required value="false"/>
      <repeats value="true"/>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="unique id for the element within a resource (for internal references)."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.actor.id"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.actor.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Who or what actors are assigned roles in this Contract."/>
        </extension>
        <linkId value="Contract.actor.entity"/>
        <text value="Contract Actor Type"/>
        <required value="true"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.actor.entity._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs2"/>
          </options>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Contract"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Contract?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Contract.value"/>
              <text value="Contract"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Device"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Device?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Device.value"/>
              <text value="Device"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Group"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Group?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Group.value"/>
              <text value="Group"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Location"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Location?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Location.value"/>
              <text value="Location"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Organization"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Organization?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Organization.value"/>
              <text value="Organization"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Patient"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Patient?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Patient.value"/>
              <text value="Patient"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Practitioner"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Practitioner?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Practitioner.value"/>
              <text value="Practitioner"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._RelatedPerson"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/RelatedPerson?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._RelatedPerson.value"/>
              <text value="RelatedPerson"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Substance"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Substance?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Substance.value"/>
              <text value="Substance"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.actor.entity._Supply"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Supply?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.actor.entity._Supply.value"/>
              <text value="Supply"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Role type of actors assigned roles in this Contract."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="Contract.actor.role"/>
        <text value="Contract  Actor Role"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.actor.role.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.actor.role.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Contract Valued Item List."/>
      </extension>
      <linkId value="Contract.valuedItem"/>
      <title value="Contract Valued Item"/>
      <required value="false"/>
      <repeats value="true"/>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="unique id for the element within a resource (for internal references)."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.valuedItem.id"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Specific type of Contract Valued Item that may be priced."/>
        </extension>
        <linkId value="Contract.valuedItem.entity[x]"/>
        <text value="Contract Valued Item Type"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.entity[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs3"/>
          </options>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="CodeableConcept"/>
            </extension>
            <linkId value="Contract.valuedItem.entity[x]._CodeableConcept"/>
            <text value="CodeableConcept"/>
            <question>
              <linkId value="Contract.valuedItem.entity[x]._CodeableConcept.coding"/>
              <text value="code:"/>
              <type value="open-choice"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
            <question>
              <linkId value="Contract.valuedItem.entity[x]._CodeableConcept.text"/>
              <text value="text:"/>
              <type value="string"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.valuedItem.entity[x]._Resource"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Resource?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.valuedItem.entity[x]._Resource.value"/>
              <text value="Resource"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Identifies a Contract Valued Item instance."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Identifier"/>
        </extension>
        <linkId value="Contract.valuedItem.identifier"/>
        <text value="Contract Valued Item Identifier"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.identifier.label"/>
          <text value="label:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.identifier.system"/>
          <text value="system:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.identifier.value"/>
          <text value="value:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Indicates the time during which this Contract ValuedItem information is effective."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="datetime"/>
        </extension>
        <linkId value="Contract.valuedItem.effectiveTime"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.effectiveTime.value"/>
          <text value="Contract Valued Item Effective Tiem"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Quantity"/>
        </extension>
        <linkId value="Contract.valuedItem.quantity"/>
        <text value="Count of Contract Valued Items"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.quantity.comparator"/>
          <text value="comp:"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.quantity.value"/>
          <text value="value:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.quantity.units"/>
          <text value="units:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.quantity.code"/>
          <text value="coded units:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.quantity.system"/>
          <text value="units system:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="A Contract Valued Item unit valuation measure."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Money"/>
        </extension>
        <linkId value="Contract.valuedItem.unitPrice"/>
        <text value="Contract Valued Item fee, charge, or cost"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.unitPrice.value"/>
          <text value="value:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.unitPrice.currency"/>
          <text value="currency:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="A real number that represents a multiplier used in determining the overall value of the Contract Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="decimal"/>
        </extension>
        <linkId value="Contract.valuedItem.factor"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.factor.value"/>
          <text value="Contract Valued Item Price Scaling Factor"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Valued Item delivered. The concept of Points allows for assignment of point values for a Contract Valued Item, such that a monetary amount can be assigned to each point."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="decimal"/>
        </extension>
        <linkId value="Contract.valuedItem.points"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.points.value"/>
          <text value="Contract Valued Item Difficulty Scaling Factor"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Expresses the product of the Contract Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Money"/>
        </extension>
        <linkId value="Contract.valuedItem.net"/>
        <text value="Total Contract Valued Item Value"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.valuedItem.net.value"/>
          <text value="value:"/>
          <type value="decimal"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.valuedItem.net.currency"/>
          <text value="currency:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Party signing this Contract."/>
      </extension>
      <linkId value="Contract.signer"/>
      <title value="Contract Signer"/>
      <required value="false"/>
      <repeats value="true"/>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="unique id for the element within a resource (for internal references)."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.signer.id"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.signer.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Role of this Contract signer, e.g., notary, grantee."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Coding"/>
        </extension>
        <linkId value="Contract.signer.type"/>
        <required value="true"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.signer.type.value"/>
          <text value="Contract Signer Type"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Party which is a signator to this Contract."/>
        </extension>
        <linkId value="Contract.signer.party"/>
        <text value="Contract Signatory Party"/>
        <required value="true"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.signer.party._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs4"/>
          </options>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.signer.party._Organization"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Organization?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.signer.party._Organization.value"/>
              <text value="Organization"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.signer.party._Patient"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Patient?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.signer.party._Patient.value"/>
              <text value="Patient"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.signer.party._Practitioner"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Practitioner?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.signer.party._Practitioner.value"/>
              <text value="Practitioner"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.signer.party._RelatedPerson"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/RelatedPerson?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.signer.party._RelatedPerson.value"/>
              <text value="RelatedPerson"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Legally binding Contract DSIG signature contents in Base64."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.signer.signature"/>
        <required value="true"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.signer.signature.value"/>
          <text value="Contract Documentation Signature"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups."/>
      </extension>
      <linkId value="Contract.term"/>
      <title value="Contract Term List"/>
      <required value="false"/>
      <repeats value="true"/>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="unique id for the element within a resource (for internal references)."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.term.id"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Unique identifier for this particular Contract Provision."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Identifier"/>
        </extension>
        <linkId value="Contract.term.identifier"/>
        <text value="Contract Term identifier"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.identifier.label"/>
          <text value="label:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.term.identifier.system"/>
          <text value="system:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.term.identifier.value"/>
          <text value="value:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="When this Contract Provision was issued."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="datetime"/>
        </extension>
        <linkId value="Contract.term.issued"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.issued.value"/>
          <text value="Contract Term Issue Date Time"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Relevant time or time-period when this Contract Provision is applicable."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Period"/>
        </extension>
        <linkId value="Contract.term.applies"/>
        <text value="Contract Term Effective Time"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.applies.low"/>
          <text value="start:"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.term.applies.end"/>
          <text value="end:"/>
          <type value="dateTime"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g., life time maximum benefit."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="Contract.term.type"/>
        <text value="Contract Term Type"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.type.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.term.type.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Subtype of this Contract Provision, e.g., life time maximum payment for a contract term for specific valued item, e.g., disability payment."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="Contract.term.subType"/>
        <text value="Contract Term Subtype"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.subType.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.term.subType.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Who or what this Contract Provision is about."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="Reference"/>
        </extension>
        <linkId value="Contract.term.subject"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
            <valueString value="/Resource?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
          </extension>
          <linkId value="Contract.term.subject.value"/>
          <text value="Subject of this Contract Term"/>
          <type value="reference"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Action stipulated by this Contract Provision."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="Contract.term.action"/>
        <text value="Contract Term Action"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.action.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.term.action.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Reason or purpose for the action stipulated by this Contract Provision."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="CodeableConcept"/>
        </extension>
        <linkId value="Contract.term.actionReason"/>
        <text value="Contract Term Action Reason"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.actionReason.coding"/>
          <text value="code:"/>
          <type value="open-choice"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
        <question>
          <linkId value="Contract.term.actionReason.text"/>
          <text value="text:"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="List of actors participating in this Contract Provision."/>
        </extension>
        <linkId value="Contract.term.actor"/>
        <title value="Contract Term Actor List"/>
        <required value="false"/>
        <repeats value="true"/>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="unique id for the element within a resource (for internal references)."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="string"/>
          </extension>
          <linkId value="Contract.term.actor.id"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.actor.id.value"/>
            <text value="xml:id (or equivalent in JSON)"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="The actor assigned a role in this Contract Provision."/>
          </extension>
          <linkId value="Contract.term.actor.entity"/>
          <text value="Contract Term Actor"/>
          <required value="true"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.actor.entity._type"/>
            <text value="type"/>
            <type value="choice"/>
            <required value="false"/>
            <repeats value="false"/>
            <options>
              <reference value="#vs5"/>
            </options>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Contract"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Contract?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Contract.value"/>
                <text value="Contract"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Device"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Device?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Device.value"/>
                <text value="Device"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Group"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Group?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Group.value"/>
                <text value="Group"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Location"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Location?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Location.value"/>
                <text value="Location"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Organization"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Organization?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Organization.value"/>
                <text value="Organization"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Patient"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Patient?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Patient.value"/>
                <text value="Patient"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Practitioner"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Practitioner?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Practitioner.value"/>
                <text value="Practitioner"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._RelatedPerson"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/RelatedPerson?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._RelatedPerson.value"/>
                <text value="RelatedPerson"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Substance"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Substance?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Substance.value"/>
                <text value="Substance"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.actor.entity._Supply"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Supply?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.actor.entity._Supply.value"/>
                <text value="Supply"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="Role played by the actor assigned this role in this Contract Provision."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="CodeableConcept"/>
          </extension>
          <linkId value="Contract.term.actor.role"/>
          <text value="Contract Term Actor Role"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.actor.role.coding"/>
            <text value="code:"/>
            <type value="open-choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.actor.role.text"/>
            <text value="text:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Human readable form of this Contract Provision."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.term.text"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.term.text.value"/>
          <text value="Human readable Contract term text"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Contract Provision Valued Item List."/>
        </extension>
        <linkId value="Contract.term.valuedItem"/>
        <title value="Contract Term Valued Item"/>
        <required value="false"/>
        <repeats value="true"/>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="unique id for the element within a resource (for internal references)."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="string"/>
          </extension>
          <linkId value="Contract.term.valuedItem.id"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.id.value"/>
            <text value="xml:id (or equivalent in JSON)"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="Specific type of Contract Provision Valued Item that may be priced."/>
          </extension>
          <linkId value="Contract.term.valuedItem.entity[x]"/>
          <text value="Contract Term Valued Item Type"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.entity[x]._type"/>
            <text value="type"/>
            <type value="choice"/>
            <required value="false"/>
            <repeats value="false"/>
            <options>
              <reference value="#vs6"/>
            </options>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="CodeableConcept"/>
              </extension>
              <linkId value="Contract.term.valuedItem.entity[x]._CodeableConcept"/>
              <text value="CodeableConcept"/>
              <question>
                <linkId value="Contract.term.valuedItem.entity[x]._CodeableConcept.coding"/>
                <text value="code:"/>
                <type value="open-choice"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
              <question>
                <linkId value="Contract.term.valuedItem.entity[x]._CodeableConcept.text"/>
                <text value="text:"/>
                <type value="string"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
            <group>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
                <valueString value="Reference"/>
              </extension>
              <linkId value="Contract.term.valuedItem.entity[x]._Resource"/>
              <question>
                <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                  <valueString value="/Resource?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
                </extension>
                <linkId value="Contract.term.valuedItem.entity[x]._Resource.value"/>
                <text value="Resource"/>
                <type value="reference"/>
                <required value="false"/>
                <repeats value="false"/>
              </question>
            </group>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="Identifies a Contract Provision Valued Item instance."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Identifier"/>
          </extension>
          <linkId value="Contract.term.valuedItem.identifier"/>
          <text value="Contract Term Valued Item Identifier"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.identifier.label"/>
            <text value="label:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.identifier.system"/>
            <text value="system:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.identifier.value"/>
            <text value="value:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="Indicates the time during which this Contract Term ValuedItem information is effective."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="datetime"/>
          </extension>
          <linkId value="Contract.term.valuedItem.effectiveTime"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.effectiveTime.value"/>
            <text value="Contract Term Valued Item Effective Tiem"/>
            <type value="dateTime"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="Specifies the units by which the Contract Provision Valued Item is measured or counted, and quantifies the countable or measurable Contract Term Valued Item instances."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Quantity"/>
          </extension>
          <linkId value="Contract.term.valuedItem.quantity"/>
          <text value="Contract Term Valued Item Count"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.quantity.comparator"/>
            <text value="comp:"/>
            <type value="choice"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.quantity.value"/>
            <text value="value:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.quantity.units"/>
            <text value="units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.quantity.code"/>
            <text value="coded units:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.quantity.system"/>
            <text value="units system:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="A Contract Provision Valued Item unit valuation measure."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Money"/>
          </extension>
          <linkId value="Contract.term.valuedItem.unitPrice"/>
          <text value="Contract Term Valued Item fee, charge, or cost"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.unitPrice.value"/>
            <text value="value:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.unitPrice.currency"/>
            <text value="currency:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="A real number that represents a multiplier used in determining the overall value of the Contract Provision Valued Item delivered. The concept of a Factor allows for a discount or surcharge multiplier to be applied to a monetary amount."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="decimal"/>
          </extension>
          <linkId value="Contract.term.valuedItem.factor"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.factor.value"/>
            <text value="Contract Term Valued Item Price Scaling Factor"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="decimal"/>
          </extension>
          <linkId value="Contract.term.valuedItem.points"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.points.value"/>
            <text value="Contract Term Valued Item Difficulty Scaling Factor"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
            <valueString value="Expresses the product of the Contract Provision Valued Item unitQuantity and the unitPriceAmt. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied."/>
          </extension>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Money"/>
          </extension>
          <linkId value="Contract.term.valuedItem.net"/>
          <text value="Total Contract Term Valued Item Value"/>
          <required value="false"/>
          <repeats value="true"/>
          <question>
            <linkId value="Contract.term.valuedItem.net.value"/>
            <text value="value:"/>
            <type value="decimal"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
          <question>
            <linkId value="Contract.term.valuedItem.net.currency"/>
            <text value="currency:"/>
            <type value="string"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Nested group of Contract Provisions."/>
        </extension>
        <linkId value="Contract.term.group"/>
        <title value="Nested Contract Term Group"/>
        <required value="false"/>
        <repeats value="true"/>
      </group>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the &quot;source of truth&quot; and which would be the basis for legal action related to enforcement of this Contract."/>
      </extension>
      <linkId value="Contract.binding[x]"/>
      <text value="Binding Contract"/>
      <required value="false"/>
      <repeats value="true"/>
      <question>
        <linkId value="Contract.binding[x]._type"/>
        <text value="type"/>
        <type value="choice"/>
        <required value="false"/>
        <repeats value="false"/>
        <options>
          <reference value="#vs7"/>
        </options>
        <group>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Attachment"/>
          </extension>
          <linkId value="Contract.binding[x]._Attachment"/>
          <text value="Attachment"/>
        </group>
        <group>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Contract.binding[x]._Composition"/>
          <question>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
              <valueString value="/Composition?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Contract.binding[x]._Composition.value"/>
            <text value="Composition"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Contract.binding[x]._DocumentReference"/>
          <question>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
              <valueString value="/DocumentReference?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Contract.binding[x]._DocumentReference.value"/>
            <text value="DocumentReference"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
        <group>
          <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
            <valueString value="Reference"/>
          </extension>
          <linkId value="Contract.binding[x]._QuestionnaireAnswers"/>
          <question>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
              <valueString value="/QuestionnaireAnswers?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
            </extension>
            <linkId value="Contract.binding[x]._QuestionnaireAnswers.value"/>
            <text value="QuestionnaireAnswers"/>
            <type value="reference"/>
            <required value="false"/>
            <repeats value="false"/>
          </question>
        </group>
      </question>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="The &quot;patient friendly language&quot; versionof the Contract in whole or in parts. &quot;Patient friendly language&quot; means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement."/>
      </extension>
      <linkId value="Contract.friendly"/>
      <title value="Contract Friendly Language"/>
      <required value="false"/>
      <repeats value="true"/>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="unique id for the element within a resource (for internal references)."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.friendly.id"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.friendly.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability."/>
        </extension>
        <linkId value="Contract.friendly.content[x]"/>
        <text value="Easily comprehended representation of this Contract"/>
        <required value="true"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.friendly.content[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs8"/>
          </options>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Attachment"/>
            </extension>
            <linkId value="Contract.friendly.content[x]._Attachment"/>
            <text value="Attachment"/>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.friendly.content[x]._Composition"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Composition?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.friendly.content[x]._Composition.value"/>
              <text value="Composition"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.friendly.content[x]._DocumentReference"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/DocumentReference?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.friendly.content[x]._DocumentReference.value"/>
              <text value="DocumentReference"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.friendly.content[x]._QuestionnaireAnswers"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/QuestionnaireAnswers?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.friendly.content[x]._QuestionnaireAnswers.value"/>
              <text value="QuestionnaireAnswers"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
        </question>
      </group>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="List of Legal expressions or representations of this Contract."/>
      </extension>
      <linkId value="Contract.legal"/>
      <title value="Contract Legal Language"/>
      <required value="false"/>
      <repeats value="true"/>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="unique id for the element within a resource (for internal references)."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.legal.id"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.legal.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Contract legal text in human renderable form."/>
        </extension>
        <linkId value="Contract.legal.content[x]"/>
        <text value="Contract Legal Text"/>
        <required value="true"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.legal.content[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs9"/>
          </options>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Attachment"/>
            </extension>
            <linkId value="Contract.legal.content[x]._Attachment"/>
            <text value="Attachment"/>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.legal.content[x]._Composition"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/Composition?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.legal.content[x]._Composition.value"/>
              <text value="Composition"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.legal.content[x]._DocumentReference"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/DocumentReference?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.legal.content[x]._DocumentReference.value"/>
              <text value="DocumentReference"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.legal.content[x]._QuestionnaireAnswers"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/QuestionnaireAnswers?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.legal.content[x]._QuestionnaireAnswers.value"/>
              <text value="QuestionnaireAnswers"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
        </question>
      </group>
    </group>
    <group>
      <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
        <valueString value="List of Computable Policy Rule Language Representations of this Contract."/>
      </extension>
      <linkId value="Contract.rule"/>
      <title value="Computable Contract Language"/>
      <required value="false"/>
      <repeats value="true"/>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="unique id for the element within a resource (for internal references)."/>
        </extension>
        <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
          <valueString value="string"/>
        </extension>
        <linkId value="Contract.rule.id"/>
        <required value="false"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.rule.id.value"/>
          <text value="xml:id (or equivalent in JSON)"/>
          <type value="string"/>
          <required value="false"/>
          <repeats value="false"/>
        </question>
      </group>
      <group>
        <extension url="http://hl7.org/fhir/Profile/questionnaire-extensions#flyover">
          <valueString value="Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal)."/>
        </extension>
        <linkId value="Contract.rule.content[x]"/>
        <text value="Computable Contract Rules"/>
        <required value="true"/>
        <repeats value="true"/>
        <question>
          <linkId value="Contract.rule.content[x]._type"/>
          <text value="type"/>
          <type value="choice"/>
          <required value="false"/>
          <repeats value="false"/>
          <options>
            <reference value="#vs10"/>
          </options>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Attachment"/>
            </extension>
            <linkId value="Contract.rule.content[x]._Attachment"/>
            <text value="Attachment"/>
          </group>
          <group>
            <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#type">
              <valueString value="Reference"/>
            </extension>
            <linkId value="Contract.rule.content[x]._DocumentReference"/>
            <question>
              <extension url="http://www.healthintersections.com.au/fhir/Profile/metadata#reference">
                <valueString value="/DocumentReference?subject=$subj&amp;patient=$subj&amp;encounter=$encounter"/>
              </extension>
              <linkId value="Contract.rule.content[x]._DocumentReference.value"/>
              <text value="DocumentReference"/>
              <type value="reference"/>
              <required value="false"/>
              <repeats value="false"/>
            </question>
          </group>
        </question>
      </group>
    </group>
  </group>
</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.