2nd DSTU Draft For Comment

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

Contract.questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for Contract

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "url": "urn:uuid:a8798aa4-9736-4e39-a746-b6ad774b0b62",
      "name": "Type options for Contract.author",
      "description": "Type options for Contract.author",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:42+11:00",
        "contains": [
          {
            "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": "Organization",
            "display": "Organization"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs3",
      "url": "urn:uuid:43d21710-6907-404d-a6a8-21e42046c228",
      "name": "Type options for Contract.grantor",
      "description": "Type options for Contract.grantor",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:42+11:00",
        "contains": [
          {
            "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": "Organization",
            "display": "Organization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs4",
      "url": "urn:uuid:c9fc1c3a-ee8b-4c38-a878-85a4ee17a6d5",
      "name": "Type options for Contract.grantee",
      "description": "Type options for Contract.grantee",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:42+11:00",
        "contains": [
          {
            "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": "Organization",
            "display": "Organization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs5",
      "url": "urn:uuid:422deb17-0815-4e5f-85f9-2065086c7e40",
      "name": "Type options for Contract.witness",
      "description": "Type options for Contract.witness",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:42+11:00",
        "contains": [
          {
            "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": "Patient",
            "display": "Patient"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs6",
      "url": "urn:uuid:ec6ca00b-2e45-4fbc-aff4-63fe07fe6177",
      "name": "Type options for Contract.executor",
      "description": "Type options for Contract.executor",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:42+11:00",
        "contains": [
          {
            "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": "Organization",
            "display": "Organization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs7",
      "url": "urn:uuid:48aa7441-00e2-4040-943c-ff49d620fbfc",
      "name": "Type options for Contract.notary",
      "description": "Type options for Contract.notary",
      "status": "active",
      "expansion": {
        "timestamp": "2015-02-23T09:19:42+11:00",
        "contains": [
          {
            "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": "Organization",
            "display": "Organization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          }
        ]
      }
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2015-02-23T09:07:27+11:00",
  "publisher": "HL7 FHIR Project (Financial Management)",
  "group": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
        "valueString": "A formal agreement between parties regarding the conduct of business, exchange of information or other matters."
      }
    ],
    "linkId": "Contract",
    "title": "A formal agreement between parties regarding the conduct of business, exchange of information or other matters.",
    "required": true,
    "repeats": false,
    "group": [
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The logical id of the resource, as used in the url for the resoure. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "Contract.id",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.id.value",
            "text": "Logical id of this artefact",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource."
          }
        ],
        "linkId": "Contract.meta",
        "text": "Metadata about the resource",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "uri"
          }
        ],
        "linkId": "Contract.implicitRules",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.implicitRules.value",
            "text": "A set of rules under which this content was created",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource\n\nNot all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "Contract.language",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.language.value",
            "text": "language",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative."
          }
        ],
        "linkId": "Contract.text",
        "text": "Text summary of the resource, for human interpretation",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again."
          }
        ],
        "linkId": "Contract.contained",
        "text": "Contained, inline Resources",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Unique Id for this contract."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Identifier"
          }
        ],
        "linkId": "Contract.identifier",
        "text": "Contract identifier",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.identifier.label",
            "text": "label:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.identifier.system",
            "text": "system:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.identifier.value",
            "text": "value:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Who and/or what this is about: typically Patient, Organization, property."
          },
          {
            "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": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
              }
            ],
            "linkId": "Contract.subject.value",
            "text": "Subject",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A formally or informally recognized grouping of people or organizations formed for the purpose of achieving some form of collective action. Includes companies, institutions, corporations, departments, community groups, healthcare practice groups, etc."
          },
          {
            "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",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A Location includes both incidental locations (a place which is used for healthcare without prior designation or authorization) and dedicated, formally appointed locations."
          },
          {
            "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",
            "type": "reference",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Type of contract (Privacy-Security, Agreement, Insurance)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Contract.type",
        "text": "Type of contract",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.type.coding",
            "text": "code:",
            "type": "open-choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.type.text",
            "text": "text:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "More specific type of contract (Privacy, Disclosure-Authorization, Advanced-Directive, DNR, Authorization-to-Treat)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "CodeableConcept"
          }
        ],
        "linkId": "Contract.subtype",
        "text": "Subtype of contract",
        "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": "When this was issued."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "Contract.issued",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.issued.value",
            "text": "When this was issued",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Relevant time/time-period when applicable."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Period"
          }
        ],
        "linkId": "Contract.applies",
        "text": "Effective time",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.applies.low",
            "text": "start:",
            "type": "dateTime",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.applies.end",
            "text": "end:",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The number of repetitions of a service or product."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Quantity"
          }
        ],
        "linkId": "Contract.quantity",
        "text": "Count of Products or Services",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.quantity.comparator",
            "text": "comp:",
            "type": "choice",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.quantity.value",
            "text": "value:",
            "type": "decimal",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.quantity.units",
            "text": "units:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.quantity.code",
            "text": "coded units:",
            "type": "string",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.quantity.system",
            "text": "units system:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The unit price product."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Money"
          }
        ],
        "linkId": "Contract.unitPrice",
        "text": "Fee, charge or cost per point",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.unitPrice.value",
            "text": "value:",
            "type": "decimal",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.unitPrice.currency",
            "text": "currency:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. 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.factor",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.factor.value",
            "text": "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 good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, 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.points",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.points.value",
            "text": "Difficulty scaling factor",
            "type": "decimal",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Money"
          }
        ],
        "linkId": "Contract.net",
        "text": "Total item cost",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.net.value",
            "text": "value:",
            "type": "decimal",
            "required": false,
            "repeats": false
          },
          {
            "linkId": "Contract.net.currency",
            "text": "currency:",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Contract author or responsible party."
          }
        ],
        "linkId": "Contract.author",
        "text": "Contract author or responsible party",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.author._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.author._Practitioner",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.author._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.author._RelatedPerson",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.author._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.author._Organization",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Organization?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.author._Organization.value",
                    "text": "Organization",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "First Party to the contract, may be the party who confers or delegates the rights defined in the contract."
          }
        ],
        "linkId": "Contract.grantor",
        "text": "First Party or delegator",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.grantor._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": "Reference"
                  }
                ],
                "linkId": "Contract.grantor._Practitioner",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantor._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.grantor._RelatedPerson",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantor._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.grantor._Organization",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Organization?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantor._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.grantor._Patient",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantor._Patient.value",
                    "text": "Patient",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The Second party to the contract, may be the party who accepts obligations or be that to which rights are delegated."
          }
        ],
        "linkId": "Contract.grantee",
        "text": "Second Party or delegatee",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.grantee._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.grantee._Practitioner",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantee._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.grantee._RelatedPerson",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantee._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.grantee._Organization",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Organization?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantee._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.grantee._Patient",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.grantee._Patient.value",
                    "text": "Patient",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Who witnesses the contract."
          }
        ],
        "linkId": "Contract.witness",
        "text": "Witness to the contract",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.witness._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.witness._Practitioner",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.witness._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.witness._RelatedPerson",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.witness._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.witness._Patient",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.witness._Patient.value",
                    "text": "Patient",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "First Party to the contract, may be the party who confers or delegates the rights defined in the contract."
          }
        ],
        "linkId": "Contract.executor",
        "text": "Trustee",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.executor._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": "Reference"
                  }
                ],
                "linkId": "Contract.executor._Practitioner",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.executor._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.executor._RelatedPerson",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.executor._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.executor._Organization",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Organization?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.executor._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.executor._Patient",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.executor._Patient.value",
                    "text": "Patient",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "First Party to the contract, may be the party who confers or delegates the rights defined in the contract."
          }
        ],
        "linkId": "Contract.notary",
        "text": "Notary Public",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.notary._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": "Reference"
                  }
                ],
                "linkId": "Contract.notary._Practitioner",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.notary._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.notary._RelatedPerson",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.notary._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.notary._Organization",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Organization?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.notary._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.notary._Patient",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "Contract.notary._Patient.value",
                    "text": "Patient",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "List or contract signatures."
          }
        ],
        "linkId": "Contract.signer",
        "title": "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": "Party or role who is signing."
              },
              {
                "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": "Signer Type",
                "type": "open-choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The 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": "Documentation Signature",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The itemized terms of the contract. The legal clause or conditions of the Contract that requires or prevents either one or both parties to perform a particular requirement by some specified time."
          }
        ],
        "linkId": "Contract.term",
        "title": "The terms of the Contract",
        "required": false,
        "repeats": true,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "Contract.term.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.term.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Unique Id for this particular term."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Identifier"
              }
            ],
            "linkId": "Contract.term.identifier",
            "text": "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": "The type of the term."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Contract.term.type",
            "text": "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": "The subtype of the term which is appropriate to the term type."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "CodeableConcept"
              }
            ],
            "linkId": "Contract.term.subtype",
            "text": "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 the contract term 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": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                  }
                ],
                "linkId": "Contract.term.subject.value",
                "text": "Subject for the Term",
                "type": "reference",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Human readable form of the term of the contract."
              },
              {
                "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 Term text",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "When this term 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": "When issued",
                "type": "dateTime",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Relevant time/time-period when the term is applicable."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Period"
              }
            ],
            "linkId": "Contract.term.applies",
            "text": "When effective",
            "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": "The number of repetitions of a service or product."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Quantity"
              }
            ],
            "linkId": "Contract.term.quantity",
            "text": "Count of Products or Services",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.term.quantity.comparator",
                "text": "comp:",
                "type": "choice",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.term.quantity.value",
                "text": "value:",
                "type": "decimal",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.term.quantity.units",
                "text": "units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.term.quantity.code",
                "text": "coded units:",
                "type": "string",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.term.quantity.system",
                "text": "units system:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The unit price product."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Money"
              }
            ],
            "linkId": "Contract.term.unitPrice",
            "text": "Fee, charge or cost per point",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.term.unitPrice.value",
                "text": "value:",
                "type": "decimal",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.term.unitPrice.currency",
                "text": "currency:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "A real number that represents a multiplier used in determining the overall value of services delivered and/or goods received. 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.factor",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.term.factor.value",
                "text": "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 good or service delivered. The concept of Points allows for assignment of point values for services and/or goods, 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.points",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.term.points.value",
                "text": "Difficulty scaling factor",
                "type": "decimal",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The quantity times the unit price for an additional service or product or charge. For example, the formula: unit Quantity * unit Price (Cost per Point) * factor Number  * points = net Amount. Quantity, factor and points are assumed to be 1 if not supplied."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "Money"
              }
            ],
            "linkId": "Contract.term.net",
            "text": "Total item cost",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "Contract.term.net.value",
                "text": "value:",
                "type": "decimal",
                "required": false,
                "repeats": false
              },
              {
                "linkId": "Contract.term.net.currency",
                "text": "currency:",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Legally binding contract."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Attachment"
          }
        ],
        "linkId": "Contract.binding",
        "text": "Binding Contract",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Relevant time/time-period when applicable."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "Contract.bindingDateTime",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.bindingDateTime.value",
            "text": "Binding Contract effective time",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Friendly Human readable form (might be a reference to the UI used to capture the contract)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Attachment"
          }
        ],
        "linkId": "Contract.friendly",
        "text": "Human readable contract text",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Relevant time/time-period when applicable."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "Contract.friendlyDateTime",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.friendlyDateTime.value",
            "text": "Human readable contract text effective time",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Legal text in Human readable form."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Attachment"
          }
        ],
        "linkId": "Contract.legal",
        "text": "Legal contract text",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Relevant time/time-period when applicable."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "Contract.legalDateTime",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.legalDateTime.value",
            "text": "Legal contract text date time",
            "type": "dateTime",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Computable Policy rules (e.g. XACML, DKAL, SecPal)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Attachment"
          }
        ],
        "linkId": "Contract.rule",
        "text": "Computable contract text",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Relevant time/time-period when applicable."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "datetime"
          }
        ],
        "linkId": "Contract.ruleDateTime",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "Contract.ruleDateTime.value",
            "text": "Computable contract text effect time",
            "type": "dateTime",
            "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.