FHIR Release 3 (STU)

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

Task-questionnaire.json

Orders and Observations Work GroupMaturity Level: N/ABallot Status: InformativeCompartments: Not linked to any defined compartments

Raw JSON (canonical form)

Generated Questionnaire for Task

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "name": "Type options for Task.definition[x]",
      "status": "active",
      "description": "Type options for Task.definition[x]",
      "expansion": {
        "identifier": "urn:uuid:39408c3e-0398-4dc3-b1ef-e0fe9e87fc5a",
        "timestamp": "2019-10-24T11:53:00+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "ActivityDefinition",
            "display": "ActivityDefinition"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs3",
      "name": "Type options for Task.context",
      "status": "active",
      "description": "Type options for Task.context",
      "expansion": {
        "identifier": "urn:uuid:19a4b001-a0d4-49c0-944d-41e50951f9b8",
        "timestamp": "2019-10-24T11:53:00+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Encounter",
            "display": "Encounter"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "EpisodeOfCare",
            "display": "EpisodeOfCare"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs4",
      "name": "Type options for Task.requester.agent",
      "status": "active",
      "description": "Type options for Task.requester.agent",
      "expansion": {
        "identifier": "urn:uuid:6db952ba-cb44-45d2-ae43-183c5539cac6",
        "timestamp": "2019-10-24T11:53:00+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Device",
            "display": "Device"
          },
          {
            "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 Task.owner",
      "status": "active",
      "description": "Type options for Task.owner",
      "expansion": {
        "identifier": "urn:uuid:6056116a-ff7c-4959-9b81-b418c9b40771",
        "timestamp": "2019-10-24T11:53:00+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Device",
            "display": "Device"
          },
          {
            "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": "vs6",
      "name": "Type options for Task.restriction.recipient",
      "status": "active",
      "description": "Type options for Task.restriction.recipient",
      "expansion": {
        "identifier": "urn:uuid:aad43fe3-a994-418c-b418-a941c09a555e",
        "timestamp": "2019-10-24T11:53:00+11:00",
        "contains": [
          {
            "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": "Group",
            "display": "Group"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Organization",
            "display": "Organization"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs7",
      "name": "Type options for Task.input.value[x]",
      "status": "active",
      "description": "Type options for Task.input.value[x]",
      "expansion": {
        "identifier": "urn:uuid:38a576de-a597-4002-bab5-da5e823f974c",
        "timestamp": "2019-10-24T11:53:00+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "date",
            "display": "date"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "dateTime",
            "display": "dateTime"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Age",
            "display": "Age"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Annotation",
            "display": "Annotation"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Attachment",
            "display": "Attachment"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "CodeableConcept",
            "display": "CodeableConcept"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Coding",
            "display": "Coding"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Count",
            "display": "Count"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Distance",
            "display": "Distance"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Duration",
            "display": "Duration"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Identifier",
            "display": "Identifier"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Money",
            "display": "Money"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "SampledData",
            "display": "SampledData"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Signature",
            "display": "Signature"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs8",
      "name": "Type options for Task.output.value[x]",
      "status": "active",
      "description": "Type options for Task.output.value[x]",
      "expansion": {
        "identifier": "urn:uuid:e2ebb1a7-15f7-4061-88c6-8b42ae5254b7",
        "timestamp": "2019-10-24T11:53:00+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "date",
            "display": "date"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "dateTime",
            "display": "dateTime"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Age",
            "display": "Age"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Annotation",
            "display": "Annotation"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Attachment",
            "display": "Attachment"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "CodeableConcept",
            "display": "CodeableConcept"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Coding",
            "display": "Coding"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Count",
            "display": "Count"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Distance",
            "display": "Distance"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Duration",
            "display": "Duration"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Identifier",
            "display": "Identifier"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Money",
            "display": "Money"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "SampledData",
            "display": "SampledData"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Signature",
            "display": "Signature"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2019-10-24T11:53:00+11:00",
  "publisher": "Health Level Seven International (Orders and Observations)",
  "item": [
    {
      "linkId": "Task",
      "text": "A task to be performed",
      "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 task to be performed.",
          "type": "display"
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "Task.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.",
              "type": "display"
            },
            {
              "linkId": "Task.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": "Task.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": "Task.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. \n\nThis element is labelled as a modifier because the implicit rules may provide additional knowledge about the resource that modifies it's meaning or interpretation.",
              "type": "display"
            },
            {
              "linkId": "Task.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": "Task.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": "Task.language.value",
              "text": "language",
              "type": "choice",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Task.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. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded in formation is added later.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "Task.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": "Task.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": "Task.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-fhirType",
              "valueString": "Identifier"
            }
          ],
          "linkId": "Task.identifier",
          "text": "Task Instance 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": "The business identifier for this task.",
              "type": "display"
            },
            {
              "linkId": "Task.identifier.label",
              "text": "label:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.identifier.system",
              "text": "system:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.identifier.value",
              "text": "value:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Task.definition[x]",
          "text": "Formal definition of task",
          "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 formal or informal definition of the task.  For example, a protocol, a step within a defined workflow definition, etc.",
              "type": "display"
            },
            {
              "linkId": "Task.definition[x]._type",
              "text": "type",
              "type": "choice",
              "required": false,
              "repeats": false,
              "options": {
                "reference": "#vs2"
              },
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "uri"
                    }
                  ],
                  "linkId": "Task.definition[x]._uri",
                  "type": "group",
                  "item": [
                    {
                      "linkId": "Task.definition[x]._uri.value",
                      "text": "uri",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Task.definition[x]._ActivityDefinition",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "ActivityDefinition"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "Task.definition[x]._ActivityDefinition.value",
                      "text": "ActivityDefinition",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Task.basedOn",
          "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": "BasedOn refers to a higher-level authorization that triggered the creation of the task.  It references a \"request\" resource such as a ProcedureRequest, MedicationRequest, ProcedureRequest, CarePlan, etc. which is distinct from the \"request\" resource the task is seeking to fulfil.  This latter resource is referenced by FocusOn.  For example, based on a ProcedureRequest (= BasedOn), a task is created to fulfil a procedureRequest ( = FocusOn ) to collect a specimen from a patient.",
              "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": "Task.basedOn.value",
              "text": "Request fulfilled by this task",
              "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": "Task.groupIdentifier",
          "text": "Requisition or grouper 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": "An identifier that links together multiple tasks and other requests that were created in the same context.",
              "type": "display"
            },
            {
              "linkId": "Task.groupIdentifier.label",
              "text": "label:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.groupIdentifier.system",
              "text": "system:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.groupIdentifier.value",
              "text": "value:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Task.partOf",
          "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": "Task that this particular task is part of. This should usually be 0..1.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Task"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "Task.partOf.value",
              "text": "Composite task",
              "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": "code"
            }
          ],
          "linkId": "Task.status",
          "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 current status of the task.",
              "type": "display"
            },
            {
              "linkId": "Task.status.value",
              "text": "status",
              "type": "choice",
              "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": "Task.statusReason",
          "text": "Reason for current status",
          "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 explanation as to why this task is held, failed, was refused, etc. This applies to the current status.  Look at the history of the task to see reasons for past statuses.",
              "type": "display"
            },
            {
              "linkId": "Task.statusReason.coding",
              "text": "code:",
              "type": "open-choice",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.statusReason.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": "Task.businessStatus",
          "text": "E.g. \"Specimen collected\", \"IV prepped\"",
          "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": "Contains business-specific nuances of the business state.",
              "type": "display"
            },
            {
              "linkId": "Task.businessStatus.coding",
              "text": "code:",
              "type": "open-choice",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.businessStatus.text",
              "text": "text:",
              "type": "string",
              "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": "code"
            }
          ],
          "linkId": "Task.intent",
          "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": "Indicates the \"level\" of actionability associated with the Task.  I.e. Is this a proposed task, a planned task, an actionable task, etc. This element is immutable.  Proposed tasks, planned tasks, etc. must be distinct instances.\n\nIn most cases, Tasks will have an intent of \"order\".",
              "type": "display"
            },
            {
              "linkId": "Task.intent.value",
              "text": "intent",
              "type": "choice",
              "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": "Task.priority",
          "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 how quickly the Task should be addressed with respect to other requests.",
              "type": "display"
            },
            {
              "linkId": "Task.priority.value",
              "text": "priority",
              "type": "choice",
              "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": "Task.code",
          "text": "Task 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": "A name or code (or both) briefly describing what the task involves. The title (eg \"My Tasks\", \"Outstanding Tasks for Patient X\") should go into the code.",
              "type": "display"
            },
            {
              "linkId": "Task.code.coding",
              "text": "code:",
              "type": "open-choice",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.code.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": "Task.description",
          "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 free-text description of what is to be performed.",
              "type": "display"
            },
            {
              "linkId": "Task.description.value",
              "text": "Human-readable explanation of task",
              "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": "Task.focus",
          "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 request being actioned or the resource being manipulated by this task. If multiple resources need to be manipulated, use sub-tasks.  (This ensures that status can be tracked independently for each referenced resource.).",
              "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": "Task.focus.value",
              "text": "What task is acting on",
              "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": "Reference"
            }
          ],
          "linkId": "Task.for",
          "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 entity who benefits from the performance of the service specified in the task (e.g., the patient).",
              "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": "Task.for.value",
              "text": "Beneficiary of the Task",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Task.context",
          "text": "Healthcare event during which this task originated",
          "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 healthcare event  (e.g. a patient and healthcare provider interaction) during which this task was created.",
              "type": "display"
            },
            {
              "linkId": "Task.context._type",
              "text": "type",
              "type": "choice",
              "required": false,
              "repeats": false,
              "options": {
                "reference": "#vs3"
              },
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Task.context._Encounter",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Encounter"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "Task.context._Encounter.value",
                      "text": "Encounter",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Task.context._EpisodeOfCare",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "EpisodeOfCare"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "Task.context._EpisodeOfCare.value",
                      "text": "EpisodeOfCare",
                      "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": "Period"
            }
          ],
          "linkId": "Task.executionPeriod",
          "text": "Start and end time of execution",
          "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 the time action was first taken against the task (start) and/or the time final action was taken against the task prior to marking it as completed (end).",
              "type": "display"
            },
            {
              "linkId": "Task.executionPeriod.low",
              "text": "start:",
              "type": "dateTime",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.executionPeriod.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": "datetime"
            }
          ],
          "linkId": "Task.authoredOn",
          "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 date and time this task was created.",
              "type": "display"
            },
            {
              "linkId": "Task.authoredOn.value",
              "text": "Task Creation Date",
              "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": "datetime"
            }
          ],
          "linkId": "Task.lastModified",
          "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 date and time of last modification to this task.",
              "type": "display"
            },
            {
              "linkId": "Task.lastModified.value",
              "text": "Task Last Modified Date",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Task.requester",
          "text": "Who is asking for task to be done",
          "type": "group",
          "required": false,
          "repeats": false,
          "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 creator of the task.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Task.requester.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). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "Task.requester.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Task.requester.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": "Task.requester.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": "Task.requester.agent",
              "text": "Individual asking for task",
              "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 device, practitioner, etc. who initiated the task.",
                  "type": "display"
                },
                {
                  "linkId": "Task.requester.agent._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": "Task.requester.agent._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": "Task.requester.agent._Device.value",
                          "text": "Device",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.requester.agent._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": "Task.requester.agent._Organization.value",
                          "text": "Organization",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.requester.agent._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": "Task.requester.agent._Patient.value",
                          "text": "Patient",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.requester.agent._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": "Task.requester.agent._Practitioner.value",
                          "text": "Practitioner",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.requester.agent._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": "Task.requester.agent._RelatedPerson.value",
                          "text": "RelatedPerson",
                          "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": "Reference"
                }
              ],
              "linkId": "Task.requester.onBehalfOf",
              "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 organization the device or practitioner was acting on behalf of when they initiated the task.",
                  "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": "Task.requester.onBehalfOf.value",
                  "text": "Organization individual is acting for",
                  "type": "reference",
                  "required": false,
                  "repeats": false
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "Task.performerType",
          "text": "requester | dispatcher | scheduler | performer | monitor | manager | acquirer | reviewer",
          "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 type of participant that can execute the task.",
              "type": "display"
            },
            {
              "linkId": "Task.performerType.coding",
              "text": "code:",
              "type": "open-choice",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.performerType.text",
              "text": "text:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Task.owner",
          "text": "Responsible individual",
          "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": "Individual organization or Device currently responsible for task execution. Tasks may be created with an owner not yet identified.",
              "type": "display"
            },
            {
              "linkId": "Task.owner._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": "Task.owner._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": "Task.owner._Device.value",
                      "text": "Device",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Task.owner._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": "Task.owner._Organization.value",
                      "text": "Organization",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Task.owner._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": "Task.owner._Patient.value",
                      "text": "Patient",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Task.owner._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": "Task.owner._Practitioner.value",
                      "text": "Practitioner",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "Task.owner._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": "Task.owner._RelatedPerson.value",
                      "text": "RelatedPerson",
                      "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": "Task.reason",
          "text": "Why task is needed",
          "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 description or code indicating why this task needs to be performed. This should only be included if there is no focus or if it differs from the reason indicated on the focus.",
              "type": "display"
            },
            {
              "linkId": "Task.reason.coding",
              "text": "code:",
              "type": "open-choice",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "Task.reason.text",
              "text": "text:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Annotation"
            }
          ],
          "linkId": "Task.note",
          "text": "Comments made about the task",
          "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": "Free-text information captured about the task as it progresses.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "Task.relevantHistory",
          "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": "Links to Provenance records for past versions of this Task that identify key state transitions or updates that are likely to be relevant to a user looking at the current version of the task. This element does not point to the Provenance associated with the *current* version of the resource - as it would be created after this version existed.  The Provenance for the current version can be retrieved with a _revinclude.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Provenance"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "Task.relevantHistory.value",
              "text": "Key events in history of the Task",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "Task.restriction",
          "text": "Constraints on fulfillment tasks",
          "type": "group",
          "required": false,
          "repeats": false,
          "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": "If the Task.focus is a request resource and the task is seeking fulfillment (i.e is asking for the request to be actioned), this element identifies any limitations on what parts of the referenced request should be actioned.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Task.restriction.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). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "Task.restriction.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Task.restriction.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": "Task.restriction.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": "integer"
                }
              ],
              "linkId": "Task.restriction.repetitions",
              "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 number of times the requested action should occur.",
                  "type": "display"
                },
                {
                  "linkId": "Task.restriction.repetitions.value",
                  "text": "How many times to repeat",
                  "type": "integer",
                  "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": "Task.restriction.period",
              "text": "When fulfillment sought",
              "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": "Over what time-period is fulfillment sought. Note that period.high is the due date representing the time by which the task should be completed.",
                  "type": "display"
                },
                {
                  "linkId": "Task.restriction.period.low",
                  "text": "start:",
                  "type": "dateTime",
                  "required": false,
                  "repeats": false
                },
                {
                  "linkId": "Task.restriction.period.end",
                  "text": "end:",
                  "type": "dateTime",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Task.restriction.recipient",
              "text": "For whom is fulfillment sought?",
              "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": "For requests that are targeted to more than on potential recipient/target, for whom is fulfillment sought?",
                  "type": "display"
                },
                {
                  "linkId": "Task.restriction.recipient._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs6"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.restriction.recipient._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": "Task.restriction.recipient._Patient.value",
                          "text": "Patient",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.restriction.recipient._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": "Task.restriction.recipient._Practitioner.value",
                          "text": "Practitioner",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.restriction.recipient._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": "Task.restriction.recipient._RelatedPerson.value",
                          "text": "RelatedPerson",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.restriction.recipient._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": "Task.restriction.recipient._Group.value",
                          "text": "Group",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.restriction.recipient._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": "Task.restriction.recipient._Organization.value",
                          "text": "Organization",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "linkId": "Task.input",
          "text": "Information used to perform task",
          "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": "Additional information that may be needed in the execution of the task.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Task.input.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). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "Task.input.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Task.input.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": "Task.input.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": "CodeableConcept"
                }
              ],
              "linkId": "Task.input.type",
              "text": "Label for the input",
              "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": "A code or description indicating how the input is intended to be used as part of the task execution. If referencing a BPMN workflow or Protocol, the \"system\" is the URL for the workflow definition and the code is the \"name\" of the required input.",
                  "type": "display"
                },
                {
                  "linkId": "Task.input.type.coding",
                  "text": "code:",
                  "type": "open-choice",
                  "required": false,
                  "repeats": false
                },
                {
                  "linkId": "Task.input.type.text",
                  "text": "text:",
                  "type": "string",
                  "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": "Task.input.value[x]",
              "text": "Content to use in performing the task",
              "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 value of the input parameter as a basic type.",
                  "type": "display"
                },
                {
                  "linkId": "Task.input.value[x]._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs7"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "binary"
                        }
                      ],
                      "linkId": "Task.input.value[x]._base64Binary",
                      "text": "base64Binary",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "boolean"
                        }
                      ],
                      "linkId": "Task.input.value[x]._boolean",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._boolean.value",
                          "text": "boolean",
                          "type": "boolean",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "code"
                        }
                      ],
                      "linkId": "Task.input.value[x]._code",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._code.value",
                          "text": "value[x]",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "datetime"
                        }
                      ],
                      "linkId": "Task.input.value[x]._date",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._date.value",
                          "text": "date",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "datetime"
                        }
                      ],
                      "linkId": "Task.input.value[x]._dateTime",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._dateTime.value",
                          "text": "dateTime",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "decimal"
                        }
                      ],
                      "linkId": "Task.input.value[x]._decimal",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._decimal.value",
                          "text": "decimal",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.input.value[x]._id",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._id.value",
                          "text": "id",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "instant"
                        }
                      ],
                      "linkId": "Task.input.value[x]._instant",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._instant.value",
                          "text": "instant",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "integer"
                        }
                      ],
                      "linkId": "Task.input.value[x]._integer",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._integer.value",
                          "text": "integer",
                          "type": "integer",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.input.value[x]._markdown",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._markdown.value",
                          "text": "markdown",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.input.value[x]._oid",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._oid.value",
                          "text": "oid",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "integer"
                        }
                      ],
                      "linkId": "Task.input.value[x]._positiveInt",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._positiveInt.value",
                          "text": "positiveInt",
                          "type": "integer",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.input.value[x]._string",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._string.value",
                          "text": "string",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "time"
                        }
                      ],
                      "linkId": "Task.input.value[x]._time",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._time.value",
                          "text": "time",
                          "type": "time",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "integer"
                        }
                      ],
                      "linkId": "Task.input.value[x]._unsignedInt",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._unsignedInt.value",
                          "text": "unsignedInt",
                          "type": "integer",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "uri"
                        }
                      ],
                      "linkId": "Task.input.value[x]._uri",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._uri.value",
                          "text": "uri",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Address"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Address",
                      "text": "Address",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Address.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Address.line",
                          "text": "line:",
                          "type": "string",
                          "required": false,
                          "repeats": true
                        },
                        {
                          "linkId": "Task.input.value[x]._Address.city",
                          "text": "city:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Address.state",
                          "text": "state:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Address.postalCode",
                          "text": "post code:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Address.country",
                          "text": "country:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Address.use",
                          "text": "use:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Age",
                      "text": "Age",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Age.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Age.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Age.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Age.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Age.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Annotation"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Annotation",
                      "text": "Annotation",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Attachment"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Attachment",
                      "text": "Attachment",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "CodeableConcept"
                        }
                      ],
                      "linkId": "Task.input.value[x]._CodeableConcept",
                      "text": "CodeableConcept",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._CodeableConcept.coding",
                          "text": "code:",
                          "type": "open-choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._CodeableConcept.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Coding"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Coding",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Coding.value",
                          "text": "Coding",
                          "type": "open-choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "ContactPoint"
                        }
                      ],
                      "linkId": "Task.input.value[x]._ContactPoint",
                      "text": "ContactPoint",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._ContactPoint.system",
                          "text": "type:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._ContactPoint.value",
                          "text": "value:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._ContactPoint.use",
                          "text": "use:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Count",
                      "text": "Count",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Count.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Count.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Count.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Count.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Count.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Distance",
                      "text": "Distance",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Distance.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Distance.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Distance.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Distance.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Distance.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Duration",
                      "text": "Duration",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Duration.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Duration.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Duration.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Duration.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Duration.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Name"
                        }
                      ],
                      "linkId": "Task.input.value[x]._HumanName",
                      "text": "HumanName",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._HumanName.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._HumanName.family",
                          "text": "family:",
                          "type": "string",
                          "required": false,
                          "repeats": true
                        },
                        {
                          "linkId": "Task.input.value[x]._HumanName.given",
                          "text": "given:",
                          "type": "string",
                          "required": false,
                          "repeats": true
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Identifier"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Identifier",
                      "text": "Identifier",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Identifier.label",
                          "text": "label:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Identifier.system",
                          "text": "system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Identifier.value",
                          "text": "value:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Money",
                      "text": "Money",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Money.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Money.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Money.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Money.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Money.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Period"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Period",
                      "text": "Period",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Period.low",
                          "text": "start:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Period.end",
                          "text": "end:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Quantity",
                      "text": "Quantity",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Quantity.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Quantity.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Quantity.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Quantity.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Quantity.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Range"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Range",
                      "text": "Range",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Range.low",
                          "text": "low:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Range.high",
                          "text": "high:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Range.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Ratio"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Ratio",
                      "text": "Ratio",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Ratio.numerator",
                          "text": "numerator:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Ratio.denominator",
                          "text": "denominator:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Ratio.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Reference",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Task.input.value[x]._Reference.value",
                          "text": "Reference",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "SampledData"
                        }
                      ],
                      "linkId": "Task.input.value[x]._SampledData",
                      "text": "SampledData",
                      "type": "group"
                    },
                    {
                      "linkId": "Task.input.value[x]._Signature",
                      "text": "Signature",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Schedule"
                        }
                      ],
                      "linkId": "Task.input.value[x]._Timing",
                      "text": "Timing",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.input.value[x]._Timing.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.input.value[x]._Timing.date",
                          "text": "date:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Patient"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Practitioner"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "RelatedPerson"
                            }
                          ],
                          "linkId": "Task.input.value[x]._Timing.author",
                          "text": "author:",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "linkId": "Task.input.value[x]._Meta",
                      "text": "Meta",
                      "type": "group"
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "linkId": "Task.output",
          "text": "Information produced as part of task",
          "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": "Outputs produced by the Task.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "Task.output.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). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "Task.output.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "Task.output.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": "Task.output.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": "CodeableConcept"
                }
              ],
              "linkId": "Task.output.type",
              "text": "Label for output",
              "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 name of the Output parameter.",
                  "type": "display"
                },
                {
                  "linkId": "Task.output.type.coding",
                  "text": "code:",
                  "type": "open-choice",
                  "required": false,
                  "repeats": false
                },
                {
                  "linkId": "Task.output.type.text",
                  "text": "text:",
                  "type": "string",
                  "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": "Task.output.value[x]",
              "text": "Result of output",
              "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 value of the Output parameter as a basic type.",
                  "type": "display"
                },
                {
                  "linkId": "Task.output.value[x]._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs8"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "binary"
                        }
                      ],
                      "linkId": "Task.output.value[x]._base64Binary",
                      "text": "base64Binary",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "boolean"
                        }
                      ],
                      "linkId": "Task.output.value[x]._boolean",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._boolean.value",
                          "text": "boolean",
                          "type": "boolean",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "code"
                        }
                      ],
                      "linkId": "Task.output.value[x]._code",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._code.value",
                          "text": "value[x]",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "datetime"
                        }
                      ],
                      "linkId": "Task.output.value[x]._date",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._date.value",
                          "text": "date",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "datetime"
                        }
                      ],
                      "linkId": "Task.output.value[x]._dateTime",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._dateTime.value",
                          "text": "dateTime",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "decimal"
                        }
                      ],
                      "linkId": "Task.output.value[x]._decimal",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._decimal.value",
                          "text": "decimal",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.output.value[x]._id",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._id.value",
                          "text": "id",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "instant"
                        }
                      ],
                      "linkId": "Task.output.value[x]._instant",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._instant.value",
                          "text": "instant",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "integer"
                        }
                      ],
                      "linkId": "Task.output.value[x]._integer",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._integer.value",
                          "text": "integer",
                          "type": "integer",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.output.value[x]._markdown",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._markdown.value",
                          "text": "markdown",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.output.value[x]._oid",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._oid.value",
                          "text": "oid",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "integer"
                        }
                      ],
                      "linkId": "Task.output.value[x]._positiveInt",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._positiveInt.value",
                          "text": "positiveInt",
                          "type": "integer",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "string"
                        }
                      ],
                      "linkId": "Task.output.value[x]._string",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._string.value",
                          "text": "string",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "time"
                        }
                      ],
                      "linkId": "Task.output.value[x]._time",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._time.value",
                          "text": "time",
                          "type": "time",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "integer"
                        }
                      ],
                      "linkId": "Task.output.value[x]._unsignedInt",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._unsignedInt.value",
                          "text": "unsignedInt",
                          "type": "integer",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "uri"
                        }
                      ],
                      "linkId": "Task.output.value[x]._uri",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._uri.value",
                          "text": "uri",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Address"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Address",
                      "text": "Address",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Address.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Address.line",
                          "text": "line:",
                          "type": "string",
                          "required": false,
                          "repeats": true
                        },
                        {
                          "linkId": "Task.output.value[x]._Address.city",
                          "text": "city:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Address.state",
                          "text": "state:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Address.postalCode",
                          "text": "post code:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Address.country",
                          "text": "country:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Address.use",
                          "text": "use:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Age",
                      "text": "Age",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Age.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Age.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Age.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Age.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Age.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Annotation"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Annotation",
                      "text": "Annotation",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Attachment"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Attachment",
                      "text": "Attachment",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "CodeableConcept"
                        }
                      ],
                      "linkId": "Task.output.value[x]._CodeableConcept",
                      "text": "CodeableConcept",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._CodeableConcept.coding",
                          "text": "code:",
                          "type": "open-choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._CodeableConcept.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Coding"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Coding",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Coding.value",
                          "text": "Coding",
                          "type": "open-choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "ContactPoint"
                        }
                      ],
                      "linkId": "Task.output.value[x]._ContactPoint",
                      "text": "ContactPoint",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._ContactPoint.system",
                          "text": "type:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._ContactPoint.value",
                          "text": "value:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._ContactPoint.use",
                          "text": "use:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Count",
                      "text": "Count",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Count.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Count.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Count.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Count.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Count.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Distance",
                      "text": "Distance",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Distance.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Distance.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Distance.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Distance.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Distance.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Duration",
                      "text": "Duration",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Duration.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Duration.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Duration.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Duration.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Duration.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Name"
                        }
                      ],
                      "linkId": "Task.output.value[x]._HumanName",
                      "text": "HumanName",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._HumanName.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._HumanName.family",
                          "text": "family:",
                          "type": "string",
                          "required": false,
                          "repeats": true
                        },
                        {
                          "linkId": "Task.output.value[x]._HumanName.given",
                          "text": "given:",
                          "type": "string",
                          "required": false,
                          "repeats": true
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Identifier"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Identifier",
                      "text": "Identifier",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Identifier.label",
                          "text": "label:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Identifier.system",
                          "text": "system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Identifier.value",
                          "text": "value:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Money",
                      "text": "Money",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Money.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Money.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Money.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Money.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Money.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Period"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Period",
                      "text": "Period",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Period.low",
                          "text": "start:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Period.end",
                          "text": "end:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Quantity"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Quantity",
                      "text": "Quantity",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Quantity.comparator",
                          "text": "comp:",
                          "type": "choice",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Quantity.value",
                          "text": "value:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Quantity.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Quantity.code",
                          "text": "coded units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Quantity.system",
                          "text": "units system:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Range"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Range",
                      "text": "Range",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Range.low",
                          "text": "low:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Range.high",
                          "text": "high:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Range.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Ratio"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Ratio",
                      "text": "Ratio",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Ratio.numerator",
                          "text": "numerator:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Ratio.denominator",
                          "text": "denominator:",
                          "type": "decimal",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Ratio.units",
                          "text": "units:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Reference",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "Task.output.value[x]._Reference.value",
                          "text": "Reference",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "SampledData"
                        }
                      ],
                      "linkId": "Task.output.value[x]._SampledData",
                      "text": "SampledData",
                      "type": "group"
                    },
                    {
                      "linkId": "Task.output.value[x]._Signature",
                      "text": "Signature",
                      "type": "group"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Schedule"
                        }
                      ],
                      "linkId": "Task.output.value[x]._Timing",
                      "text": "Timing",
                      "type": "group",
                      "item": [
                        {
                          "linkId": "Task.output.value[x]._Timing.text",
                          "text": "text:",
                          "type": "string",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "linkId": "Task.output.value[x]._Timing.date",
                          "text": "date:",
                          "type": "dateTime",
                          "required": false,
                          "repeats": false
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Patient"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Practitioner"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "RelatedPerson"
                            }
                          ],
                          "linkId": "Task.output.value[x]._Timing.author",
                          "text": "author:",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "linkId": "Task.output.value[x]._Meta",
                      "text": "Meta",
                      "type": "group"
                    }
                  ]
                }
              ]
            }
          ]
        }
      ]
    }
  ]
}

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.