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.json

Raw JSON (canonical form)

Generated Questionnaire for Contract

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

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.