DSTU2

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

Consentdirective-questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for consentdirective

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "name": "Type options for Contract.actor.entity",
      "status": "active",
      "description": "Type options for Contract.actor.entity",
      "expansion": {
        "identifier": "urn:uuid:e5c38968-081c-4738-adac-4cc1f07c3877",
        "timestamp": "2015-10-24T07:43:34+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"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs3",
      "name": "Type options for Contract.valuedItem.entity[x]",
      "status": "active",
      "description": "Type options for Contract.valuedItem.entity[x]",
      "expansion": {
        "identifier": "urn:uuid:45955b5b-3c20-40b3-8206-c79fd49285b9",
        "timestamp": "2015-10-24T07:43:34+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",
      "name": "Type options for Contract.signer.party",
      "status": "active",
      "description": "Type options for Contract.signer.party",
      "expansion": {
        "identifier": "urn:uuid:9497d440-ea4e-4ff0-beec-f9acdfa04261",
        "timestamp": "2015-10-24T07:43:34+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",
      "name": "Type options for Contract.term.actor.entity",
      "status": "active",
      "description": "Type options for Contract.term.actor.entity",
      "expansion": {
        "identifier": "urn:uuid:000106fe-7b04-44e5-92e5-b29f0d830f6b",
        "timestamp": "2015-10-24T07:43:34+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"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs6",
      "name": "Type options for Contract.term.valuedItem.entity[x]",
      "status": "active",
      "description": "Type options for Contract.term.valuedItem.entity[x]",
      "expansion": {
        "identifier": "urn:uuid:3b517164-4869-42e1-aa58-e027db64c056",
        "timestamp": "2015-10-24T07:43:34+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",
      "name": "Type options for Contract.binding[x]",
      "status": "active",
      "description": "Type options for Contract.binding[x]",
      "expansion": {
        "identifier": "urn:uuid:1cb3b4f7-41a9-4314-bb90-42fa29126cb8",
        "timestamp": "2015-10-24T07:43:34+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": "QuestionnaireResponse",
            "display": "QuestionnaireResponse"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs8",
      "name": "Type options for Contract.friendly.content[x]",
      "status": "active",
      "description": "Type options for Contract.friendly.content[x]",
      "expansion": {
        "identifier": "urn:uuid:5c95480b-e282-4a18-b430-6b0f6ffd4884",
        "timestamp": "2015-10-24T07:43:34+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": "QuestionnaireResponse",
            "display": "QuestionnaireResponse"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs9",
      "name": "Type options for Contract.legal.content[x]",
      "status": "active",
      "description": "Type options for Contract.legal.content[x]",
      "expansion": {
        "identifier": "urn:uuid:ba0c4ba7-71ea-44a0-93ce-aaecefa187bc",
        "timestamp": "2015-10-24T07:43:34+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": "QuestionnaireResponse",
            "display": "QuestionnaireResponse"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs10",
      "name": "Type options for Contract.rule.content[x]",
      "status": "active",
      "description": "Type options for Contract.rule.content[x]",
      "expansion": {
        "identifier": "urn:uuid:962839ca-d23e-4a98-91cf-f8f8afa70dfa",
        "timestamp": "2015-10-24T07:43:34+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": "2014-01-31T00:00:00+11:00",
  "publisher": "Health Level Seven International (Community Based Collaborative Care)",
  "group": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
        "valueString": "A record of a healthcare consumer’s privacy policy, which is in accordance with governing jurisdictional and organization privacy policies that grant or withhold consent:   • To one or more identified entities in a defined role   • To perform one or more operations (e.g. collect, access, use, disclose, amend, or delete)   • On an instance or type of individually identifiable health information [IIHI]  • For a purpose such as treatment, payment, operations, research, public health, quality measures, health status evaluation by third parties, or marketing   • Under certain conditions, e.g. when unconscious   • For specified time period, e.g. effective and expiration dates   • In certain context, e.g. in an emergency   A consent directive is an instance of governing jurisdictional and organization privacy policies, which may or may not be backed up by a signed document (paper or electronic). [HITSP TP30]."
      }
    ],
    "linkId": "Contract",
    "title": "Consent Directive",
    "required": false,
    "repeats": true,
    "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 resource. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation. 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 artifact",
            "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  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."
          },
          {
            "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": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
          }
        ],
        "linkId": "Contract.extension",
        "text": "Additional Content defined by implementations",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
          }
        ],
        "linkId": "Contract.modifierExtension",
        "text": "Extensions that cannot be ignored",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Unique identifier for this Consent Directive."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Identifier"
          }
        ],
        "linkId": "Contract.identifier",
        "text": "Consent Directive 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": "Date and time when this Consent Directive was executed and became effective."
          },
          {
            "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 Consent Directive was issued",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Time period during which this Consent Directive is in effect."
          },
          {
            "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": "Patient information and actions taken on that information that are governed by this Consent Directive."
          },
          {
            "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 Consent Directive",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A formally recognized grouping of people, principals, organizations, or jurisdictions with legal standing to promulgate, administer, and enforce privacy policies and applicable Consent Directives."
          },
          {
            "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 Consent Directive 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 privacy protection and control of the collection, access, use and disclosure of 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 Consent Directive applies",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Specific type of patient privacy Consent Directive reflecting the range of patient discretion over granting of rights to patient information and actions that may be taken on that information; e.g. Opt-in, opt-out, Share All (such as authorization to disclose to payer for payment purposes or benefit eligibility), Share Partial(such as Title 38 Section 7332 and 42 CFR Part 2), Implied Consent, such as a HIPAA Notice of Privacy Practices."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Contract.type",
        "text": "Consent Directive Type",
        "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": "A specialized type of an overarching or more general Consent Directive, such as a patient's right to opt-out of a Patient Directory under HIPAA or a multiparty 42 CFR Part 2 consent used in a health information exchange context by a Qualified Service Organization."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Contract.subType",
        "text": "Consent Directive 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 Consent Directive."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Contract.action",
        "text": "Consent Directive 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 Consent Directive."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Contract.actionReason",
        "text": "Consent Directive 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 Consent Directive actors."
          }
        ],
        "linkId": "Contract.actor",
        "title": "Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.actor.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.actor.modifierExtension",
            "text": "Extensions that cannot be ignored",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Who or what actors are assigned roles in this Consent Directive."
              }
            ],
            "linkId": "Contract.actor.entity",
            "text": "Consent Directive 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://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Role type of actors assigned roles in this Consent Directive."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Contract.actor.role",
            "text": "Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.valuedItem.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.valuedItem.modifierExtension",
            "text": "Extensions that cannot be ignored",
            "required": false,
            "repeats": true
          },
          {
            "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 Time",
                "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. The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."
              },
              {
                "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. The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Quantity"
              }
            ],
            "linkId": "Contract.valuedItem.unitPrice",
            "text": "Contract Valued Item fee, charge, or cost.",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.valuedItem.unitPrice.comparator",
                "text": "comp:",
                "type": "choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.unitPrice.value",
                "text": "value:",
                "type": "decimal",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.unitPrice.units",
                "text": "units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.unitPrice.code",
                "text": "coded units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.unitPrice.system",
                "text": "units system:",
                "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. The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Quantity"
              }
            ],
            "linkId": "Contract.valuedItem.net",
            "text": "Total Contract Valued Item Value",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.valuedItem.net.comparator",
                "text": "comp:",
                "type": "choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.net.value",
                "text": "value:",
                "type": "decimal",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.net.units",
                "text": "units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.net.code",
                "text": "coded units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.valuedItem.net.system",
                "text": "units system:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Party signing this Consent Directive."
          }
        ],
        "linkId": "Contract.signer",
        "title": "Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.signer.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.signer.modifierExtension",
            "text": "Extensions that cannot be ignored",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Role of this Consent Directive signer, e.g. patient who is Consent Directive Grantee, the Substitute Decision Maker such as a person with Power of Attorney to whom the patient has granted or delegated rights to execute a Consent Directive on the patient's behalf, a notary public or witness."
              },
              {
                "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": "Consent Directive Signer Type",
                "type": "open-choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Party which is a signatory to this Consent Directive."
              }
            ],
            "linkId": "Contract.signer.party",
            "text": "Consent Directive 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 Consent Directive 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": "Consent Directive Documentation Signature",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "One or more Consent DirectiveProvisions, which may be related and conveyed as a group, and may contain nested groups."
          }
        ],
        "linkId": "Contract.term",
        "title": "Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.term.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.term.modifierExtension",
            "text": "Extensions that cannot be ignored",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Unique identifier for this particular Consent Directive Provision."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Identifier"
              }
            ],
            "linkId": "Contract.term.identifier",
            "text": "Consent Directive 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 Consent Directive 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": "Consent Directive 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 Consent Directive Provision is applicable."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Period"
              }
            ],
            "linkId": "Contract.term.applies",
            "text": "Consent Directive 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 Consent Directive 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": "Consent Directive 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 Consent Directive 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": "Consent Directive 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 Consent Directive 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 Consent Directive Term",
                "type": "reference",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Action stipulated by this Consent Directive Provision."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Contract.term.action",
            "text": "Consent Directive 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 Consent Directive Provision."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Contract.term.actionReason",
            "text": "Consent Directive 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 Consent Directive Provision."
              }
            ],
            "linkId": "Contract.term.actor",
            "title": "Consent Directive  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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
                  }
                ],
                "linkId": "Contract.term.actor.extension",
                "text": "Additional Content defined by implementations",
                "required": false,
                "repeats": true
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
                  }
                ],
                "linkId": "Contract.term.actor.modifierExtension",
                "text": "Extensions that cannot be ignored",
                "required": false,
                "repeats": true
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "The actor assigned a role in this Consent Directive Provision."
                  }
                ],
                "linkId": "Contract.term.actor.entity",
                "text": "Consent Directive 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://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "Role played by the actor assigned this role in this Consent Directive Provision."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "Contract.term.actor.role",
                "text": "Consent Directive 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 Consent Directive 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 Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
                  }
                ],
                "linkId": "Contract.term.valuedItem.extension",
                "text": "Additional Content defined by implementations",
                "required": false,
                "repeats": true
              },
              {
                "extension": [
                  {
                    "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                    "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
                  }
                ],
                "linkId": "Contract.term.valuedItem.modifierExtension",
                "text": "Extensions that cannot be ignored",
                "required": false,
                "repeats": true
              },
              {
                "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 Time",
                    "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. The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."
                  },
                  {
                    "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. The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "Contract.term.valuedItem.unitPrice",
                "text": "Contract Term Valued Item fee, charge, or cost.",
                "required": false,
                "repeats": true,
                "question": [
                  {
                    "linkId": "Contract.term.valuedItem.unitPrice.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.unitPrice.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.unitPrice.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.unitPrice.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.unitPrice.system",
                    "text": "units system:",
                    "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 Provision 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.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. The context of use may frequently define what kind of quantity this is and therefore what kind of units can be used. The context of use may also restrict the values for the comparator."
                  },
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "Contract.term.valuedItem.net",
                "text": "Total Contract Term Valued Item Value",
                "required": false,
                "repeats": true,
                "question": [
                  {
                    "linkId": "Contract.term.valuedItem.net.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.net.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.net.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.net.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "Contract.term.valuedItem.net.system",
                    "text": "units system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Nested group of Consent Directive Provision."
              }
            ],
            "linkId": "Contract.term.group",
            "title": "Nested Consent DirectiveTerm Group",
            "required": false,
            "repeats": true
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Legally binding onsent Directive Provision.  This is the signed and legally recognized representation of the Consent Directive. that is considered the \"source of truth\", which would be the basis for legal action related to enforcement of the onsent Directive Provision."
          }
        ],
        "linkId": "Contract.binding[x]",
        "text": "Binding Consent Directive",
        "required": true,
        "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]._QuestionnaireResponse",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/QuestionnaireResponse?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.binding[x]._QuestionnaireResponse.value",
                    "text": "QuestionnaireResponse",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The \"patient friendly language\" versionof the Consent Directive in whole or in parts. \"Patient friendly language\" means the representation of the  Consent Directive and  Consent Directive 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  Consent Directive understand the roles, actions, obligations, responsibilities, and implication of the agreement."
          }
        ],
        "linkId": "Contract.friendly",
        "title": "Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.friendly.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.friendly.modifierExtension",
            "text": "Extensions that cannot be ignored",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Human readable rendering of this  Consent Directive in a format and representation intended to enhance comprehension and ensure understandability."
              }
            ],
            "linkId": "Contract.friendly.content[x]",
            "text": "Easily comprehended representation of this Consent Directive",
            "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]._QuestionnaireResponse",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/QuestionnaireResponse?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Contract.friendly.content[x]._QuestionnaireResponse.value",
                        "text": "QuestionnaireResponse",
                        "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  Consent Directive."
          }
        ],
        "linkId": "Contract.legal",
        "title": "Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.legal.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.legal.modifierExtension",
            "text": "Extensions that cannot be ignored",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Legal  Consent Directive text in human renderable form."
              }
            ],
            "linkId": "Contract.legal.content[x]",
            "text": "Consent Directive 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]._QuestionnaireResponse",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/QuestionnaireResponse?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "Contract.legal.content[x]._QuestionnaireResponse.value",
                        "text": "QuestionnaireResponse",
                        "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  Consent Directive."
          }
        ],
        "linkId": "Contract.rule",
        "title": "Computable Consent Directive 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": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.rule.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "Contract.rule.modifierExtension",
            "text": "Extensions that cannot be ignored",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Computable Consent Directive conveyed using a policy rule language (e.g. XACML, DKAL, SecPal)."
              }
            ],
            "linkId": "Contract.rule.content[x]",
            "text": "Computable Consent Directive 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.