Connectathon 11 Snapshot

This page is part of the FHIR Specification (v1.2.0: STU 3 Draft). The current version which supercedes this version is 4.0.1. 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",
      "name": "Type options for Contract.actor.entity",
      "status": "active",
      "description": "Type options for Contract.actor.entity",
      "expansion": {
        "identifier": "urn:uuid:52833780-e51b-4140-a684-8f732c190c8b",
        "timestamp": "2015-12-11T17:41:49+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:d27143c4-2fbf-4f46-985e-f543fd3c0434",
        "timestamp": "2015-12-11T17:41:49+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:83af458a-073f-40e3-abd9-0ba1c9aa432b",
        "timestamp": "2015-12-11T17:41:49+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:93f73b1d-a37a-46f1-83ca-03580864c4af",
        "timestamp": "2015-12-11T17:41:49+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:8a1c8a03-13fe-42bb-8a93-6fa2f3f253eb",
        "timestamp": "2015-12-11T17:41:49+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:f8c3a52a-19b6-4050-9b8a-d6cb6e3e6f07",
        "timestamp": "2015-12-11T17:41:49+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:aa551539-cb20-470a-908b-439019a0b5bd",
        "timestamp": "2015-12-11T17:41:49+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:f3436f4e-d687-4670-8cd9-34e7dc2b21d1",
        "timestamp": "2015-12-11T17:41:49+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:5dfc618e-f5f7-4b37-ac99-0d8a545a9e6c",
        "timestamp": "2015-12-11T17:41:49+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Attachment",
            "display": "Attachment"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "DocumentReference",
            "display": "DocumentReference"
          }
        ]
      }
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2015-12-11T17:38:40+11:00",
  "publisher": "Health Level Seven International (Financial Management)",
  "item": [
    {
      "linkId": "Contract",
      "text": "Contract",
      "type": "group",
      "required": false,
      "repeats": true,
      "item": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "flyover",
                    "display": "Fly-over"
                  }
                ]
              }
            }
          ],
          "text": "A formal agreement between parties regarding the conduct of business, exchange of information or other matters.",
          "type": "display"
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "Contract.id",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "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.",
              "type": "display"
            },
            {
              "linkId": "Contract.id.value",
              "text": "Logical id of this artifact",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Contract.meta",
          "text": "Metadata about the resource",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "uri"
            }
          ],
          "linkId": "Contract.implicitRules",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "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.",
              "type": "display"
            },
            {
              "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/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "code"
            }
          ],
          "linkId": "Contract.language",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
              "type": "display"
            },
            {
              "linkId": "Contract.language.value",
              "text": "language",
              "type": "choice",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Contract.text",
          "text": "Text summary of the resource, for human interpretation",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "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.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "Contract.contained",
          "text": "Contained, inline Resources",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "Contract.extension",
          "text": "Additional Content defined by implementations",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "Contract.modifierExtension",
          "text": "Extensions that cannot be ignored",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Identifier"
            }
          ],
          "linkId": "Contract.identifier",
          "text": "Contract identifier",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Unique identifier for this Contract.",
              "type": "display"
            },
            {
              "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/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "datetime"
            }
          ],
          "linkId": "Contract.issued",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "When this  Contract was issued.",
              "type": "display"
            },
            {
              "linkId": "Contract.issued.value",
              "text": "When this Contract was issued",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Period"
            }
          ],
          "linkId": "Contract.applies",
          "text": "Effective time",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Relevant time or time-period when this Contract is applicable.",
              "type": "display"
            },
            {
              "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/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Contract.subject",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Who and/or what this Contract is about: typically a Patient, Organization, or valued items such as goods and services.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Resource"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "Contract.subject.value",
              "text": "Subject of this Contract",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Contract.authority",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "A formally or informally recognized grouping of people, principals, organizations, or jurisdictions formed for the purpose of achieving some form of collective action such as the promulgation, administration and enforcement of contracts and policies.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Organization"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "Contract.authority.value",
              "text": "Authority under which this Contract has standing",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Contract.domain",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Recognized governance framework or system operating with a circumscribed scope in accordance with specified principles, policies, processes or procedures for managing rights, actions, or behaviors of parties or principals relative to resources.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Location"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "Contract.domain.value",
              "text": "Domain in which this Contract applies",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "Contract.type",
          "text": "Contract Tyoe",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Type of Contract such as an insurance policy, real estate contract, a will, power of attorny, Privacy or Security policy , trust framework agreement, etc.",
              "type": "display"
            },
            {
              "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/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "Contract.subType",
          "text": "Contract Subtype",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "More specific type or specialization of an overarching or more general contract such as auto insurance, home owner  insurance, prenupial agreement, Advanced-Directive, or privacy consent.",
              "type": "display"
            },
            {
              "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/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "Contract.action",
          "text": "Contract Action",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Action stipulated by this Contract.",
              "type": "display"
            },
            {
              "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/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "Contract.actionReason",
          "text": "Contract Action Reason",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Reason for action stipulated by this Contract.",
              "type": "display"
            },
            {
              "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
            }
          ]
        },
        {
          "linkId": "Contract.actor",
          "text": "Contract Actor",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "List of Contract actors.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.actor.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.actor.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.actor.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Contract.actor.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Contract.actor.entity",
              "text": "Contract Actor Type",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Who or what actors are assigned roles in this Contract.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.actor.entity._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs2"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Contract",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Contract"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._Contract.value",
                          "text": "Contract",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Device",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Device"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._Device.value",
                          "text": "Device",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Group",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Group"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._Group.value",
                          "text": "Group",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Location",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Location"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._Location.value",
                          "text": "Location",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Organization",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Organization"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._Organization.value",
                          "text": "Organization",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Patient",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Patient"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._Patient.value",
                          "text": "Patient",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Practitioner",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Practitioner"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._Practitioner.value",
                          "text": "Practitioner",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._RelatedPerson",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "RelatedPerson"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.actor.entity._RelatedPerson.value",
                          "text": "RelatedPerson",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.actor.entity._Substance",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Substance"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "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/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "Contract.actor.role",
              "text": "Contract  Actor Role",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Role type of actors assigned roles in this Contract.",
                  "type": "display"
                },
                {
                  "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
                }
              ]
            }
          ]
        },
        {
          "linkId": "Contract.valuedItem",
          "text": "Contract Valued Item",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Contract Valued Item List.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.valuedItem.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.valuedItem.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.valuedItem.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Contract.valuedItem.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Contract.valuedItem.entity[x]",
              "text": "Contract Valued Item Type",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Specific type of Contract Valued Item that may be priced.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.valuedItem.entity[x]._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs3"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "CodeableConcept"
                        }
                      ],
                      "linkId": "Contract.valuedItem.entity[x]._CodeableConcept",
                      "text": "CodeableConcept",
                      "type": "group",
                      "item": [
                        {
                          "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://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.valuedItem.entity[x]._Resource",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Resource"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Identifier"
                }
              ],
              "linkId": "Contract.valuedItem.identifier",
              "text": "Contract Valued Item Identifier",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Identifies a Contract Valued Item instance.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "datetime"
                }
              ],
              "linkId": "Contract.valuedItem.effectiveTime",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Indicates the time during which this Contract ValuedItem information is effective.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.valuedItem.effectiveTime.value",
                  "text": "Contract Valued Item Effective Tiem",
                  "type": "dateTime",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Quantity"
                }
              ],
              "linkId": "Contract.valuedItem.quantity",
              "text": "Count of Contract Valued Items",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Specifies the units by which the Contract Valued Item is measured or counted, and quantifies the countable or measurable Contract Valued Item instances.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Quantity"
                }
              ],
              "linkId": "Contract.valuedItem.unitPrice",
              "text": "Contract Valued Item fee, charge, or cost",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "A Contract Valued Item unit valuation measure.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "decimal"
                }
              ],
              "linkId": "Contract.valuedItem.factor",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "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.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.valuedItem.factor.value",
                  "text": "Contract Valued Item Price Scaling Factor",
                  "type": "decimal",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "decimal"
                }
              ],
              "linkId": "Contract.valuedItem.points",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "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.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.valuedItem.points.value",
                  "text": "Contract Valued Item Difficulty Scaling Factor",
                  "type": "decimal",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Quantity"
                }
              ],
              "linkId": "Contract.valuedItem.net",
              "text": "Total Contract Valued Item Value",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "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.",
                  "type": "display"
                },
                {
                  "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
                }
              ]
            }
          ]
        },
        {
          "linkId": "Contract.signer",
          "text": "Contract Signer",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Party signing this Contract.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.signer.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.signer.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.signer.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Contract.signer.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Coding"
                }
              ],
              "linkId": "Contract.signer.type",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Role of this Contract signer, e.g. notary, grantee.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.signer.type.value",
                  "text": "Contract Signer Type",
                  "type": "open-choice",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Contract.signer.party",
              "text": "Contract Signatory Party",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Party which is a signator to this Contract.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.signer.party._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs4"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.signer.party._Organization",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Organization"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.signer.party._Organization.value",
                          "text": "Organization",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.signer.party._Patient",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Patient"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.signer.party._Patient.value",
                          "text": "Patient",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.signer.party._Practitioner",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Practitioner"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.signer.party._Practitioner.value",
                          "text": "Practitioner",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.signer.party._RelatedPerson",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "RelatedPerson"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "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/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.signer.signature",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Legally binding Contract DSIG signature contents in Base64.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.signer.signature.value",
                  "text": "Contract Documentation Signature",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            }
          ]
        },
        {
          "linkId": "Contract.term",
          "text": "Contract Term List",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "One or more Contract Provisions, which may be related and conveyed as a group, and may contain nested groups.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.term.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.term.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.term.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Contract.term.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Identifier"
                }
              ],
              "linkId": "Contract.term.identifier",
              "text": "Contract Term identifier",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Unique identifier for this particular Contract Provision.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "datetime"
                }
              ],
              "linkId": "Contract.term.issued",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "When this Contract Provision was issued.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.term.issued.value",
                  "text": "Contract Term Issue Date Time",
                  "type": "dateTime",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Period"
                }
              ],
              "linkId": "Contract.term.applies",
              "text": "Contract Term Effective Time",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Relevant time or time-period when this Contract Provision is applicable.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "Contract.term.type",
              "text": "Contract Term Type",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Type of Contract Provision such as specific requirements, purposes for actions, obligations, prohibitions, e.g. life time maximum benefit.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "Contract.term.subType",
              "text": "Contract Term Subtype",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Subtype of this Contract Provision, e.g. life time maximum payment for a contract term for specific valued item, e.g. disability payment.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Reference"
                }
              ],
              "linkId": "Contract.term.subject",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Who or what this Contract Provision is about.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                      "valueCode": "Resource"
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                      "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                    }
                  ],
                  "linkId": "Contract.term.subject.value",
                  "text": "Subject of this Contract Term",
                  "type": "reference",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "Contract.term.action",
              "text": "Contract Term Action",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Action stipulated by this Contract Provision.",
                  "type": "display"
                },
                {
                  "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/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "Contract.term.actionReason",
              "text": "Contract Term Action Reason",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Reason or purpose for the action stipulated by this Contract Provision.",
                  "type": "display"
                },
                {
                  "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
                }
              ]
            },
            {
              "linkId": "Contract.term.actor",
              "text": "Contract Term Actor List",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "List of actors participating in this Contract Provision.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "string"
                    }
                  ],
                  "linkId": "Contract.term.actor.id",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "unique id for the element within a resource (for internal references).",
                      "type": "display"
                    },
                    {
                      "linkId": "Contract.term.actor.id.value",
                      "text": "xml:id (or equivalent in JSON)",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "linkId": "Contract.term.actor.extension",
                  "text": "Additional Content defined by implementations",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                      "type": "display"
                    }
                  ]
                },
                {
                  "linkId": "Contract.term.actor.modifierExtension",
                  "text": "Extensions that cannot be ignored",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                      "type": "display"
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    }
                  ],
                  "linkId": "Contract.term.actor.entity",
                  "text": "Contract Term Actor",
                  "type": "group",
                  "required": true,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "The actor assigned a role in this Contract Provision.",
                      "type": "display"
                    },
                    {
                      "linkId": "Contract.term.actor.entity._type",
                      "text": "type",
                      "type": "choice",
                      "required": false,
                      "repeats": false,
                      "options": {
                        "reference": "#vs5"
                      },
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Contract",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Contract"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._Contract.value",
                              "text": "Contract",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Device",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Device"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._Device.value",
                              "text": "Device",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Group",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Group"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._Group.value",
                              "text": "Group",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Location",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Location"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._Location.value",
                              "text": "Location",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Organization",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Organization"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._Organization.value",
                              "text": "Organization",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Patient",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Patient"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._Patient.value",
                              "text": "Patient",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Practitioner",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Practitioner"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._Practitioner.value",
                              "text": "Practitioner",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._RelatedPerson",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "RelatedPerson"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "Contract.term.actor.entity._RelatedPerson.value",
                              "text": "RelatedPerson",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.actor.entity._Substance",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Substance"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "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/StructureDefinition/questionnaire-fhirType",
                      "valueString": "CodeableConcept"
                    }
                  ],
                  "linkId": "Contract.term.actor.role",
                  "text": "Contract Term Actor Role",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Role played by the actor assigned this role in this Contract Provision.",
                      "type": "display"
                    },
                    {
                      "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/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.term.text",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Human readable form of this Contract Provision.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.term.text.value",
                  "text": "Human readable Contract term text",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.term.valuedItem",
              "text": "Contract Term Valued Item",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Contract Provision Valued Item List.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "string"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.id",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "unique id for the element within a resource (for internal references).",
                      "type": "display"
                    },
                    {
                      "linkId": "Contract.term.valuedItem.id.value",
                      "text": "xml:id (or equivalent in JSON)",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "linkId": "Contract.term.valuedItem.extension",
                  "text": "Additional Content defined by implementations",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                      "type": "display"
                    }
                  ]
                },
                {
                  "linkId": "Contract.term.valuedItem.modifierExtension",
                  "text": "Extensions that cannot be ignored",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                      "type": "display"
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.entity[x]",
                  "text": "Contract Term Valued Item Type",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Specific type of Contract Provision Valued Item that may be priced.",
                      "type": "display"
                    },
                    {
                      "linkId": "Contract.term.valuedItem.entity[x]._type",
                      "text": "type",
                      "type": "choice",
                      "required": false,
                      "repeats": false,
                      "options": {
                        "reference": "#vs6"
                      },
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "CodeableConcept"
                            }
                          ],
                          "linkId": "Contract.term.valuedItem.entity[x]._CodeableConcept",
                          "text": "CodeableConcept",
                          "type": "group",
                          "item": [
                            {
                              "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://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "Contract.term.valuedItem.entity[x]._Resource",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Resource"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "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/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Identifier"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.identifier",
                  "text": "Contract Term Valued Item Identifier",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Identifies a Contract Provision Valued Item instance.",
                      "type": "display"
                    },
                    {
                      "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/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "datetime"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.effectiveTime",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Indicates the time during which this Contract Term ValuedItem information is effective.",
                      "type": "display"
                    },
                    {
                      "linkId": "Contract.term.valuedItem.effectiveTime.value",
                      "text": "Contract Term Valued Item Effective Tiem",
                      "type": "dateTime",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Quantity"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.quantity",
                  "text": "Contract Term Valued Item Count",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "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.",
                      "type": "display"
                    },
                    {
                      "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/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Quantity"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.unitPrice",
                  "text": "Contract Term Valued Item fee, charge, or cost",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "A Contract Provision Valued Item unit valuation measure.",
                      "type": "display"
                    },
                    {
                      "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/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "decimal"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.factor",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "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.",
                      "type": "display"
                    },
                    {
                      "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/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "decimal"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.points",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "An amount that expresses the weighting (based on difficulty, cost and/or resource intensiveness) associated with the Contract Provision Valued Item delivered. The concept of Points allows for assignment of point values for a Contract ProvisionValued Item, such that a monetary amount can be assigned to each point.",
                      "type": "display"
                    },
                    {
                      "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/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Quantity"
                    }
                  ],
                  "linkId": "Contract.term.valuedItem.net",
                  "text": "Total Contract Term Valued Item Value",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "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.",
                      "type": "display"
                    },
                    {
                      "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
                    }
                  ]
                }
              ]
            },
            {
              "linkId": "Contract.term.group",
              "text": "Nested Contract Term Group",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Nested group of Contract Provisions.",
                  "type": "display"
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Contract.binding[x]",
          "text": "Binding Contract",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Legally binding Contract: This is the signed and legally recognized representation of the Contract, which is considered the \"source of truth\" and which would be the basis for legal action related to enforcement of this Contract.",
              "type": "display"
            },
            {
              "linkId": "Contract.binding[x]._type",
              "text": "type",
              "type": "choice",
              "required": false,
              "repeats": false,
              "options": {
                "reference": "#vs7"
              },
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Attachment"
                    }
                  ],
                  "linkId": "Contract.binding[x]._Attachment",
                  "text": "Attachment",
                  "type": "group"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Contract.binding[x]._Composition",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Composition"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "Contract.binding[x]._Composition.value",
                      "text": "Composition",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Contract.binding[x]._DocumentReference",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "DocumentReference"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "Contract.binding[x]._DocumentReference.value",
                      "text": "DocumentReference",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Contract.binding[x]._QuestionnaireResponse",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "QuestionnaireResponse"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "Contract.binding[x]._QuestionnaireResponse.value",
                      "text": "QuestionnaireResponse",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "linkId": "Contract.friendly",
          "text": "Contract Friendly Language",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "The \"patient friendly language\" versionof the Contract in whole or in parts. \"Patient friendly language\" means the representation of the Contract and Contract Provisions in a manner that is readily accessible and understandable by a layperson in accordance with best practices for communication styles that ensure that those agreeing to or signing the Contract understand the roles, actions, obligations, responsibilities, and implication of the agreement.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.friendly.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.friendly.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.friendly.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Contract.friendly.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Contract.friendly.content[x]",
              "text": "Easily comprehended representation of this Contract",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Human readable rendering of this Contract in a format and representation intended to enhance comprehension and ensure understandability.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.friendly.content[x]._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs8"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Attachment"
                        }
                      ],
                      "linkId": "Contract.friendly.content[x]._Attachment",
                      "text": "Attachment",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.friendly.content[x]._Composition",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Composition"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.friendly.content[x]._Composition.value",
                          "text": "Composition",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.friendly.content[x]._DocumentReference",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "DocumentReference"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.friendly.content[x]._DocumentReference.value",
                          "text": "DocumentReference",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.friendly.content[x]._QuestionnaireResponse",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "QuestionnaireResponse"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.friendly.content[x]._QuestionnaireResponse.value",
                          "text": "QuestionnaireResponse",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "linkId": "Contract.legal",
          "text": "Contract Legal Language",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "List of Legal expressions or representations of this Contract.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.legal.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.legal.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.legal.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Contract.legal.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Contract.legal.content[x]",
              "text": "Contract Legal Text",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Contract legal text in human renderable form.",
                  "type": "display"
                },
                {
                  "linkId": "Contract.legal.content[x]._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs9"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Attachment"
                        }
                      ],
                      "linkId": "Contract.legal.content[x]._Attachment",
                      "text": "Attachment",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.legal.content[x]._Composition",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Composition"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.legal.content[x]._Composition.value",
                          "text": "Composition",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.legal.content[x]._DocumentReference",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "DocumentReference"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.legal.content[x]._DocumentReference.value",
                          "text": "DocumentReference",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.legal.content[x]._QuestionnaireResponse",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "QuestionnaireResponse"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Contract.legal.content[x]._QuestionnaireResponse.value",
                          "text": "QuestionnaireResponse",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "linkId": "Contract.rule",
          "text": "Computable Contract Language",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "List of Computable Policy Rule Language Representations of this Contract.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Contract.rule.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.rule.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Contract.rule.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "Contract.rule.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "Contract.rule.content[x]",
              "text": "Computable Contract Rules",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Computable Contract conveyed using a policy rule language (e.g. XACML, DKAL, SecPal).",
                  "type": "display"
                },
                {
                  "linkId": "Contract.rule.content[x]._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs10"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Attachment"
                        }
                      ],
                      "linkId": "Contract.rule.content[x]._Attachment",
                      "text": "Attachment",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Contract.rule.content[x]._DocumentReference",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "DocumentReference"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "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.