DSTU2

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

Elementdefinition-de-questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for elementdefinition-de

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "name": "Type options for ElementDefinition.defaultValue[x]",
      "status": "active",
      "description": "Type options for ElementDefinition.defaultValue[x]",
      "expansion": {
        "identifier": "urn:uuid:fe3b1446-abb0-4fe5-a4f7-d5b38ad36fcb",
        "timestamp": "2015-10-24T07:44:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "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": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "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": "Identifier",
            "display": "Identifier"
          },
          {
            "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": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "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": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs3",
      "name": "Type options for ElementDefinition.fixed[x]",
      "status": "active",
      "description": "Type options for ElementDefinition.fixed[x]",
      "expansion": {
        "identifier": "urn:uuid:797ba3e8-c00e-4f98-8142-0e42819d8e58",
        "timestamp": "2015-10-24T07:44:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "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": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "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": "Identifier",
            "display": "Identifier"
          },
          {
            "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": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "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": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs4",
      "name": "Type options for ElementDefinition.pattern[x]",
      "status": "active",
      "description": "Type options for ElementDefinition.pattern[x]",
      "expansion": {
        "identifier": "urn:uuid:3ace9694-043c-459c-9aa4-220d39b2e912",
        "timestamp": "2015-10-24T07:44:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "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": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "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": "Identifier",
            "display": "Identifier"
          },
          {
            "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": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "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": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs5",
      "name": "Type options for ElementDefinition.example[x]",
      "status": "active",
      "description": "Type options for ElementDefinition.example[x]",
      "expansion": {
        "identifier": "urn:uuid:34b4edaf-9766-4f3c-a86c-a22a284fe30b",
        "timestamp": "2015-10-24T07:44:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "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": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "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": "Identifier",
            "display": "Identifier"
          },
          {
            "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": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "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": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs6",
      "name": "Type options for ElementDefinition.minValue[x]",
      "status": "active",
      "description": "Type options for ElementDefinition.minValue[x]",
      "expansion": {
        "identifier": "urn:uuid:cac4ef4c-6cb9-4b9f-ac60-e6e5fb6a5e43",
        "timestamp": "2015-10-24T07:44:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "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": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "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": "Identifier",
            "display": "Identifier"
          },
          {
            "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": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "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": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs7",
      "name": "Type options for ElementDefinition.maxValue[x]",
      "status": "active",
      "description": "Type options for ElementDefinition.maxValue[x]",
      "expansion": {
        "identifier": "urn:uuid:5176a414-70ca-4124-852c-f8b4d5ab92ac",
        "timestamp": "2015-10-24T07:44:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "boolean",
            "display": "boolean"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "integer",
            "display": "integer"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "decimal",
            "display": "decimal"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "base64Binary",
            "display": "base64Binary"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "instant",
            "display": "instant"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "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": "time",
            "display": "time"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "code",
            "display": "code"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "oid",
            "display": "oid"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "id",
            "display": "id"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "unsignedInt",
            "display": "unsignedInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "positiveInt",
            "display": "positiveInt"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "markdown",
            "display": "markdown"
          },
          {
            "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": "Identifier",
            "display": "Identifier"
          },
          {
            "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": "Quantity",
            "display": "Quantity"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Range",
            "display": "Range"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Ratio",
            "display": "Ratio"
          },
          {
            "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": "HumanName",
            "display": "HumanName"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Address",
            "display": "Address"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "ContactPoint",
            "display": "ContactPoint"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Reference",
            "display": "Reference"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Meta",
            "display": "Meta"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs8",
      "name": "Type options for ElementDefinition.binding.valueSet[x]",
      "status": "active",
      "description": "Type options for ElementDefinition.binding.valueSet[x]",
      "expansion": {
        "identifier": "urn:uuid:65aa27e5-8f07-4e7d-91ae-dc3757d47b79",
        "timestamp": "2015-10-24T07:44:19+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "uri",
            "display": "uri"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "ValueSet",
            "display": "ValueSet"
          }
        ]
      }
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2015-02-28T00:00:00+11:00",
  "publisher": "Health Level Seven International (Orders and Observations)",
  "group": {
    "extension": [
      {
        "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
        "valueString": "Captures constraints on each element within the resource, profile, or extension."
      }
    ],
    "linkId": "ElementDefinition",
    "title": "Definition of an element in a resource or extension",
    "required": false,
    "repeats": true,
    "group": [
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "unique id for the element within a resource (for internal references)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.id",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.id.value",
            "text": "xml:id (or equivalent in JSON)",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
          }
        ],
        "linkId": "ElementDefinition.extension",
        "text": "Additional Content defined by implementations",
        "required": false,
        "repeats": true
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The path identifies the element and is expressed as a \".\"-separated list of ancestor elements, beginning with the name of the resource or extension."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.path",
        "required": true,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.path.value",
            "text": "The path of the element (see the Detailed Descriptions)",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Codes that define how this element is represented in instances, when the deviation varies from the normal case. This is rarely used except for special cases where the representation deviates from the normal, which is done only very reluctantly, and can only be done in the base standard (and profiles must reproduce what the base standard does)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "code"
          }
        ],
        "linkId": "ElementDefinition.representation",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.representation.value",
            "text": "representation",
            "type": "choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The name of this element definition (to refer to it from other element definitions using ElementDefinition.nameReference). This is a unique name referring to a specific set of constraints applied to this element. One use of this is to provide a name to different slices of the same element. The name SHALL be unique within the structure within the context of the constrained resource element.  (Though to avoid confusion, uniqueness across all elements is recommended.)."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.name",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.name.value",
            "text": "Name for this particular element definition (reference target)",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The text to display beside the element indicating its meaning or to use to prompt for the element in a user display or form. Question and label serve similar purposes in they both can be used to prompt for capturing a data element.  Whether the question form or label form should be used will depend on the type of instrument being used to capture the information."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.label",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.label.value",
            "text": "Name for element to display with or prompt for element",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A code that provides the meaning for the element according to a particular terminology. The data element definition and other constraints SHALL be a proper constraint on the meaning (as defined in the code system, including relationships) of any code listed here.  Where multiple codes exist in a terminology that could correspond to the data element, the most granular code(s) should be selected, so long as they are not more restrictive than the data element itself."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "Coding"
          }
        ],
        "linkId": "ElementDefinition.code",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.code.value",
            "text": "Defining code",
            "type": "open-choice",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Indicates that the element is sliced into a set of alternative definitions (i.e. in a structure definition, there are multiple different constraints on a single element in the base resource). Slicing can be used in any resource that has cardinality ..* on the base resource, or any resource with a choice of types. The set of slices is any elements that come after this in the element sequence that have the same path, until a shorter path occurs (the shorter path terminates the set)."
          }
        ],
        "linkId": "ElementDefinition.slicing",
        "title": "This element is sliced - slices follow",
        "text": "The first element in the sequence, the one that carries the slicing, is the unconstrained element, for reference purposes . This may include the unconstrained children.",
        "required": false,
        "repeats": true,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.slicing.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.slicing.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "ElementDefinition.slicing.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Designates which child elements are used to discriminate between the slices when processing an instance. If one or more discriminators are provided, the value of the child elements in the instance data SHALL completely distinguish which slice the element in the resource matches based on the allowed values for those elements in each of the slices. If there is no discriminator, the content is hard to process, so this should be avoided. If the base element has a cardinality of ..1, and there is a choice of types, the discriminator most be \"@type\"."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.slicing.discriminator",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.slicing.discriminator.value",
                "text": "Element values that used to distinguish the slices",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "A human-readable text description of how the slicing works. If there is no discriminator, this is required to be present to provide whatever information is possible about how the slices can be differentiated. If it's really not possible to differentiate them, the design should be re-evaluated to make the content usable."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.slicing.description",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.slicing.description.value",
                "text": "Text description of how slicing works (or not)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "If the matching elements have to occur in the same order as defined in the profile. Order should only be required when it is a pressing concern for presentation. Profile authors should consider making the order a feature of the rules about the narrative, not the rules about the data - requiring ordered data makes the profile much less re-usable."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "boolean"
              }
            ],
            "linkId": "ElementDefinition.slicing.ordered",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.slicing.ordered.value",
                "text": "If elements must be in same order as slices",
                "type": "boolean",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Whether additional slices are allowed or not. When the slices are ordered, profile authors can also say that additional slices are only allowed at the end. Allowing additional elements makes for a much for flexible template - it's open for use in wider contexts, but also means that the content of the resource is not closed, and applications have to decide how to handle content not described by the profile."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "ElementDefinition.slicing.rules",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.slicing.rules.value",
                "text": "rules",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A concise description of what this element means (e.g. for use in autogenerated summaries). May change the term to provide language more appropriate to the context of the profile or to reflect slicing."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.short",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.short.value",
            "text": "Concise definition for xml presentation",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Provides a complete explanation of the meaning of the data element for human readability.  For the case of elements derived from existing elements (e.g. constraints), the definition SHALL be consistent with the base definition, but convey the meaning of the element in the particular context of use of the resource. It is easy for a different definition to change the meaning of an element and this can have nasty downstream consequences. Please be careful when providing definitions."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.definition",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.definition.value",
            "text": "Full formal definition as narrative text",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Explanatory notes and implementation guidance about the data element, including notes about how to use the data properly, exceptions to proper use, etc. If it is possible to capture usage rules using constraints, that mechanism should be used in preference to this element."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.comments",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.comments.value",
            "text": "Comments about the use of this element",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "This element is for traceability of why the element was created and why the constraints exist as they do. This may be used to point to source materials or specifications that drove the structure of this element. This element does not describe the usage of the element (that's done in comments), rather it's for traceability of *why* the element is either needed or why the constraints exist as they do.  This may be used to point to source materials or specifications that drove the structure of this data element."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.requirements",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.requirements.value",
            "text": "Why is this needed?",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Identifies additional names by which this element might also be known."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.alias",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.alias.value",
            "text": "Other names",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The minimum number of times this element SHALL appear in the instance."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "integer"
          }
        ],
        "linkId": "ElementDefinition.min",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.min.value",
            "text": "Minimum Cardinality",
            "type": "integer",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The maximum number of times this element is permitted to appear in the instance."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.max",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.max.value",
            "text": "Maximum Cardinality (a number or *)",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Information about the base definition of the element, provided to make it unncessary for tools to trace the deviation of the element through the derived and related profiles. This information is only provided where the element definition represents a constraint on another element definition, and must be present if there is a base element definition."
          }
        ],
        "linkId": "ElementDefinition.base",
        "title": "Base definition information for tools",
        "text": "The base information does not carry any information that could not be determined from the path and related profiles, but making this determination requires both that the related profiles are available, and that the algorithm to determine them be available. So they are deformalised into this location for tooling convenience, and to ensure that the base information is available without dependencies.",
        "required": false,
        "repeats": false,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.base.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.base.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "ElementDefinition.base.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "The Path that identifies the base element - this matches the ElementDefinition.path for that element. Across FHIR, there is only one base definition of any element - that is, an element definition on a [[[StructureDefinition]]] without a StructureDefinition.base."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.base.path",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.base.path.value",
                "text": "Path that identifies the base element",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Minimum cardinality of the base element identified by the path. This is provided for consistency with max, and may affect code generation of mandatory elements of the base resource are generated differently (some reference implementations have done this)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "integer"
              }
            ],
            "linkId": "ElementDefinition.base.min",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.base.min.value",
                "text": "Min cardinality of the base element",
                "type": "integer",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Maximum cardinality of the base element identified by the path. This is provided to code generation, since the wire representation in JSON differs depending on whether the base element has max > 1. Also, some forms of code generation may differ."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.base.max",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.base.max.value",
                "text": "Max cardinality of the base element",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The data type or resource that the value of this element is permitted to be."
          }
        ],
        "linkId": "ElementDefinition.type",
        "title": "Data type and Profile for this element",
        "text": "The Type of the element can be left blank, in which case the type is inherited from the resource. The type can only be listed in this field if it is an allowed option in the base resource.",
        "required": false,
        "repeats": true,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.type.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.type.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "ElementDefinition.type.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Name of Data type or Resource that is a(or the) type used for this element. If the element is a reference to another resource, this element contains \"Reference\", and the profile element refers to the profile of the allowed target of the resource, which may be a reference to the general definition of a resource (e.g. http://hl7.org/fhir/StructureDefinition/Patient). There would be one pair of type/code for each allowed target resource type."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "ElementDefinition.type.code",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.type.code.value",
                "text": "code",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Identifies a profile structure or implementation Guide that SHALL hold for resources or datatypes referenced as the type of this element. Can be a local reference - to another structure in this profile, or a reference to a structure in another profile. When more than one profile is specified, the content must conform to all of them. When an implementation guide is specified, the resource SHALL conform to at least one profile defined in the implementation guide."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "uri"
              }
            ],
            "linkId": "ElementDefinition.type.profile",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.type.profile.value",
                "text": "Profile (StructureDefinition) to apply (or IG)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "If the type is a reference to another resource, how the resource is or can be aggregated - is it a contained resource, or a reference, and if the context is a bundle, is it included in the bundle."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "ElementDefinition.type.aggregation",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.type.aggregation.value",
                "text": "aggregation",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Identifies the name of a slice defined elsewhere in the profile whose constraints should be applied to the current element. If child components of this element are defined, they act as constraints on the referenced slice."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.nameReference",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.nameReference.value",
            "text": "To another element constraint (by element.name)",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The value that should be used if there is no value stated in the instance (e.g. 'if not otherwise specified, the abstract is false'). Default values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. Specifying a default value means that the property can never been unknown - it must always have a value. Further, the default value can never be changed. For these reasons, default values are (and should be) used extremely sparingly.\r\n  This element should only be used on child elements of complex data elements."
          }
        ],
        "linkId": "ElementDefinition.defaultValue[x]",
        "text": "Specified value it missing from instance",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.defaultValue[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs2"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "boolean"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._boolean",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._boolean.value",
                    "text": "boolean",
                    "type": "boolean",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._integer",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._integer.value",
                    "text": "integer",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "decimal"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._decimal",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._decimal.value",
                    "text": "decimal",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "binary"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._base64Binary",
                "text": "base64Binary"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "instant"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._instant",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._instant.value",
                    "text": "instant",
                    "type": "instant",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._string",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._string.value",
                    "text": "string",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "uri"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._uri",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._uri.value",
                    "text": "uri",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._date",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._date.value",
                    "text": "date",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._dateTime",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._dateTime.value",
                    "text": "dateTime",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "time"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._time",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._time.value",
                    "text": "time",
                    "type": "time",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._code",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._code.value",
                    "text": "default value[x]",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._oid",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._oid.value",
                    "text": "oid",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._id",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._id.value",
                    "text": "id",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._unsignedInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._unsignedInt.value",
                    "text": "unsignedInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._positiveInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._positiveInt.value",
                    "text": "positiveInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._markdown",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._markdown.value",
                    "text": "markdown",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Annotation"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Annotation",
                "text": "Annotation"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Attachment"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Attachment",
                "text": "Attachment"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Identifier"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Identifier",
                "text": "Identifier",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Identifier.label",
                    "text": "label:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Identifier.system",
                    "text": "system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Identifier.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._CodeableConcept",
                "text": "CodeableConcept",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._CodeableConcept.coding",
                    "text": "code:",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._CodeableConcept.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Coding"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Coding",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Coding.value",
                    "text": "Coding",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Quantity",
                "text": "Quantity",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Quantity.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Quantity.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Quantity.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Quantity.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Quantity.system",
                    "text": "units system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Range"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Range",
                "text": "Range",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Range.low",
                    "text": "low:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Range.high",
                    "text": "high:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Range.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Period"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Period",
                "text": "Period",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Period.low",
                    "text": "start:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Period.end",
                    "text": "end:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Ratio"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Ratio",
                "text": "Ratio",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Ratio.numerator",
                    "text": "numerator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Ratio.denominator",
                    "text": "denominator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Ratio.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "SampledData"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._SampledData",
                "text": "SampledData"
              },
              {
                "linkId": "ElementDefinition.defaultValue[x]._Signature",
                "text": "Signature"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Name"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._HumanName",
                "text": "HumanName",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._HumanName.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._HumanName.family",
                    "text": "family:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._HumanName.given",
                    "text": "given:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Address"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Address",
                "text": "Address",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Address.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Address.line",
                    "text": "line:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Address.city",
                    "text": "city:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Address.state",
                    "text": "state:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Address.postalCode",
                    "text": "post code:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Address.country",
                    "text": "country:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Address.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "ContactPoint"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._ContactPoint",
                "text": "ContactPoint",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._ContactPoint.system",
                    "text": "type:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._ContactPoint.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._ContactPoint.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Schedule"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Timing",
                "text": "Timing",
                "question": [
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Timing.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.defaultValue[x]._Timing.date",
                    "text": "date:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?"
                      }
                    ],
                    "linkId": "ElementDefinition.defaultValue[x]._Timing.author",
                    "text": "author:",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "ElementDefinition.defaultValue[x]._Reference",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "ElementDefinition.defaultValue[x]._Reference.value",
                    "text": "Reference",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "linkId": "ElementDefinition.defaultValue[x]._Meta",
                "text": "Meta"
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The Implicit meaning that is to be understood when this element is missing (e.g. 'when this element is missing, the period is ongoing'. Implicit meanings for missing values can only be specified on a resource, data type, or extension definition, and never in a profile that applies to one of these. An implicit meaning for a missing value can never be changed, and specifying one has the consequence that constraining its use in profiles eliminates use cases as possibilities, not merely moving them out of scope.\r\n  This element should only be used on child elements of complex data elements."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.meaningWhenMissing",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.meaningWhenMissing.value",
            "text": "Implicit meaning when this element is missing",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Specifies a value that SHALL be exactly the value  for this element in the instance. For purposes of comparison, non-significant whitespace is ignored, and all values must be an exact match (case and accent sensitive). Missing elements/attributes must also be missing. This is not recommended for Coding and CodeableConcept since these often have highly contextual properties such as version or display."
          }
        ],
        "linkId": "ElementDefinition.fixed[x]",
        "text": "Value must be exactly this",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.fixed[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs3"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "boolean"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._boolean",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._boolean.value",
                    "text": "boolean",
                    "type": "boolean",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._integer",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._integer.value",
                    "text": "integer",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "decimal"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._decimal",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._decimal.value",
                    "text": "decimal",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "binary"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._base64Binary",
                "text": "base64Binary"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "instant"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._instant",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._instant.value",
                    "text": "instant",
                    "type": "instant",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._string",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._string.value",
                    "text": "string",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "uri"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._uri",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._uri.value",
                    "text": "uri",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._date",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._date.value",
                    "text": "date",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._dateTime",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._dateTime.value",
                    "text": "dateTime",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "time"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._time",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._time.value",
                    "text": "time",
                    "type": "time",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._code",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._code.value",
                    "text": "fixed[x]",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._oid",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._oid.value",
                    "text": "oid",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._id",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._id.value",
                    "text": "id",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._unsignedInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._unsignedInt.value",
                    "text": "unsignedInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._positiveInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._positiveInt.value",
                    "text": "positiveInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._markdown",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._markdown.value",
                    "text": "markdown",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Annotation"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Annotation",
                "text": "Annotation"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Attachment"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Attachment",
                "text": "Attachment"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Identifier"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Identifier",
                "text": "Identifier",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Identifier.label",
                    "text": "label:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Identifier.system",
                    "text": "system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Identifier.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._CodeableConcept",
                "text": "CodeableConcept",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._CodeableConcept.coding",
                    "text": "code:",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._CodeableConcept.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Coding"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Coding",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Coding.value",
                    "text": "Coding",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Quantity",
                "text": "Quantity",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Quantity.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Quantity.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Quantity.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Quantity.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Quantity.system",
                    "text": "units system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Range"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Range",
                "text": "Range",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Range.low",
                    "text": "low:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Range.high",
                    "text": "high:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Range.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Period"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Period",
                "text": "Period",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Period.low",
                    "text": "start:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Period.end",
                    "text": "end:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Ratio"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Ratio",
                "text": "Ratio",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Ratio.numerator",
                    "text": "numerator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Ratio.denominator",
                    "text": "denominator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Ratio.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "SampledData"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._SampledData",
                "text": "SampledData"
              },
              {
                "linkId": "ElementDefinition.fixed[x]._Signature",
                "text": "Signature"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Name"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._HumanName",
                "text": "HumanName",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._HumanName.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._HumanName.family",
                    "text": "family:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._HumanName.given",
                    "text": "given:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Address"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Address",
                "text": "Address",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Address.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Address.line",
                    "text": "line:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Address.city",
                    "text": "city:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Address.state",
                    "text": "state:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Address.postalCode",
                    "text": "post code:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Address.country",
                    "text": "country:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Address.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "ContactPoint"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._ContactPoint",
                "text": "ContactPoint",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._ContactPoint.system",
                    "text": "type:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._ContactPoint.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._ContactPoint.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Schedule"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Timing",
                "text": "Timing",
                "question": [
                  {
                    "linkId": "ElementDefinition.fixed[x]._Timing.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.fixed[x]._Timing.date",
                    "text": "date:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?"
                      }
                    ],
                    "linkId": "ElementDefinition.fixed[x]._Timing.author",
                    "text": "author:",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "ElementDefinition.fixed[x]._Reference",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "ElementDefinition.fixed[x]._Reference.value",
                    "text": "Reference",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "linkId": "ElementDefinition.fixed[x]._Meta",
                "text": "Meta"
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Specifies a value that the value in the instance SHALL follow - that is, any value in the pattern must be found in the instance. Other additional values may be found too. This is effectively constraint by example.  The values of elements present in the pattern must match exactly (case-sensitive, accent-sensitive, etc.). Mostly used for fixing values of CodeableConcept. At present, pattern[x] is not recommended as a basis for slicing while issues related to this are investigated during the DSTU period."
          }
        ],
        "linkId": "ElementDefinition.pattern[x]",
        "text": "Value must have at least these property values",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.pattern[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs4"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "boolean"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._boolean",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._boolean.value",
                    "text": "boolean",
                    "type": "boolean",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._integer",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._integer.value",
                    "text": "integer",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "decimal"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._decimal",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._decimal.value",
                    "text": "decimal",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "binary"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._base64Binary",
                "text": "base64Binary"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "instant"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._instant",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._instant.value",
                    "text": "instant",
                    "type": "instant",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._string",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._string.value",
                    "text": "string",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "uri"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._uri",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._uri.value",
                    "text": "uri",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._date",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._date.value",
                    "text": "date",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._dateTime",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._dateTime.value",
                    "text": "dateTime",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "time"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._time",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._time.value",
                    "text": "time",
                    "type": "time",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._code",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._code.value",
                    "text": "pattern[x]",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._oid",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._oid.value",
                    "text": "oid",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._id",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._id.value",
                    "text": "id",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._unsignedInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._unsignedInt.value",
                    "text": "unsignedInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._positiveInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._positiveInt.value",
                    "text": "positiveInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._markdown",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._markdown.value",
                    "text": "markdown",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Annotation"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Annotation",
                "text": "Annotation"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Attachment"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Attachment",
                "text": "Attachment"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Identifier"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Identifier",
                "text": "Identifier",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Identifier.label",
                    "text": "label:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Identifier.system",
                    "text": "system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Identifier.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._CodeableConcept",
                "text": "CodeableConcept",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._CodeableConcept.coding",
                    "text": "code:",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._CodeableConcept.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Coding"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Coding",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Coding.value",
                    "text": "Coding",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Quantity",
                "text": "Quantity",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Quantity.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Quantity.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Quantity.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Quantity.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Quantity.system",
                    "text": "units system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Range"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Range",
                "text": "Range",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Range.low",
                    "text": "low:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Range.high",
                    "text": "high:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Range.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Period"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Period",
                "text": "Period",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Period.low",
                    "text": "start:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Period.end",
                    "text": "end:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Ratio"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Ratio",
                "text": "Ratio",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Ratio.numerator",
                    "text": "numerator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Ratio.denominator",
                    "text": "denominator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Ratio.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "SampledData"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._SampledData",
                "text": "SampledData"
              },
              {
                "linkId": "ElementDefinition.pattern[x]._Signature",
                "text": "Signature"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Name"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._HumanName",
                "text": "HumanName",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._HumanName.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._HumanName.family",
                    "text": "family:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._HumanName.given",
                    "text": "given:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Address"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Address",
                "text": "Address",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Address.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Address.line",
                    "text": "line:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Address.city",
                    "text": "city:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Address.state",
                    "text": "state:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Address.postalCode",
                    "text": "post code:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Address.country",
                    "text": "country:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Address.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "ContactPoint"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._ContactPoint",
                "text": "ContactPoint",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._ContactPoint.system",
                    "text": "type:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._ContactPoint.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._ContactPoint.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Schedule"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Timing",
                "text": "Timing",
                "question": [
                  {
                    "linkId": "ElementDefinition.pattern[x]._Timing.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.pattern[x]._Timing.date",
                    "text": "date:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?"
                      }
                    ],
                    "linkId": "ElementDefinition.pattern[x]._Timing.author",
                    "text": "author:",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "ElementDefinition.pattern[x]._Reference",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "ElementDefinition.pattern[x]._Reference.value",
                    "text": "Reference",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "linkId": "ElementDefinition.pattern[x]._Meta",
                "text": "Meta"
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A sample value for this element demonstrating the type of information that would typically be captured. This will most commonly be present for data where it's not implicitly obvious from either the data type or value set what the values might be.  (I.e. Example values for dates or quantities would generally be unnecessary.)  If the example value is fully populated, the publication tool can generate an instance automatically."
          }
        ],
        "linkId": "ElementDefinition.example[x]",
        "text": "Example value: [as defined for type]",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.example[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs5"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "boolean"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._boolean",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._boolean.value",
                    "text": "boolean",
                    "type": "boolean",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._integer",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._integer.value",
                    "text": "integer",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "decimal"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._decimal",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._decimal.value",
                    "text": "decimal",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "binary"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._base64Binary",
                "text": "base64Binary"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "instant"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._instant",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._instant.value",
                    "text": "instant",
                    "type": "instant",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._string",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._string.value",
                    "text": "string",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "uri"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._uri",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._uri.value",
                    "text": "uri",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._date",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._date.value",
                    "text": "date",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._dateTime",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._dateTime.value",
                    "text": "dateTime",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "time"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._time",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._time.value",
                    "text": "time",
                    "type": "time",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._code",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._code.value",
                    "text": "example[x]",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._oid",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._oid.value",
                    "text": "oid",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._id",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._id.value",
                    "text": "id",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._unsignedInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._unsignedInt.value",
                    "text": "unsignedInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._positiveInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._positiveInt.value",
                    "text": "positiveInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._markdown",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._markdown.value",
                    "text": "markdown",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Annotation"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Annotation",
                "text": "Annotation"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Attachment"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Attachment",
                "text": "Attachment"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Identifier"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Identifier",
                "text": "Identifier",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Identifier.label",
                    "text": "label:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Identifier.system",
                    "text": "system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Identifier.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._CodeableConcept",
                "text": "CodeableConcept",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._CodeableConcept.coding",
                    "text": "code:",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._CodeableConcept.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Coding"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Coding",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Coding.value",
                    "text": "Coding",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Quantity",
                "text": "Quantity",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Quantity.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Quantity.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Quantity.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Quantity.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Quantity.system",
                    "text": "units system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Range"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Range",
                "text": "Range",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Range.low",
                    "text": "low:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Range.high",
                    "text": "high:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Range.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Period"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Period",
                "text": "Period",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Period.low",
                    "text": "start:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Period.end",
                    "text": "end:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Ratio"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Ratio",
                "text": "Ratio",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Ratio.numerator",
                    "text": "numerator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Ratio.denominator",
                    "text": "denominator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Ratio.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "SampledData"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._SampledData",
                "text": "SampledData"
              },
              {
                "linkId": "ElementDefinition.example[x]._Signature",
                "text": "Signature"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Name"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._HumanName",
                "text": "HumanName",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._HumanName.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._HumanName.family",
                    "text": "family:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._HumanName.given",
                    "text": "given:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Address"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Address",
                "text": "Address",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Address.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Address.line",
                    "text": "line:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Address.city",
                    "text": "city:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Address.state",
                    "text": "state:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Address.postalCode",
                    "text": "post code:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Address.country",
                    "text": "country:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Address.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "ContactPoint"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._ContactPoint",
                "text": "ContactPoint",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._ContactPoint.system",
                    "text": "type:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._ContactPoint.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._ContactPoint.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Schedule"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Timing",
                "text": "Timing",
                "question": [
                  {
                    "linkId": "ElementDefinition.example[x]._Timing.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.example[x]._Timing.date",
                    "text": "date:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?"
                      }
                    ],
                    "linkId": "ElementDefinition.example[x]._Timing.author",
                    "text": "author:",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "ElementDefinition.example[x]._Reference",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "ElementDefinition.example[x]._Reference.value",
                    "text": "Reference",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "linkId": "ElementDefinition.example[x]._Meta",
                "text": "Meta"
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The minimum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity. Except for date/date/instant, the type of the minValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of minValue[x] SHALL be either the same, or a a [Duration](datatypes.html#duration) which specifies a relative time limit to the current time. The duration value is positive, and is subtracted from the current clock to determine the minimum allowable value.   A minimum value for a Quantity is interpreted as an canonical minimum - e.g. you cannot provide 100mg if the minimum value is 10g."
          }
        ],
        "linkId": "ElementDefinition.minValue[x]",
        "text": "Minimum Allowed Value (for some types)",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.minValue[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs6"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "boolean"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._boolean",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._boolean.value",
                    "text": "boolean",
                    "type": "boolean",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._integer",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._integer.value",
                    "text": "integer",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "decimal"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._decimal",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._decimal.value",
                    "text": "decimal",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "binary"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._base64Binary",
                "text": "base64Binary"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "instant"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._instant",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._instant.value",
                    "text": "instant",
                    "type": "instant",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._string",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._string.value",
                    "text": "string",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "uri"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._uri",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._uri.value",
                    "text": "uri",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._date",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._date.value",
                    "text": "date",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._dateTime",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._dateTime.value",
                    "text": "dateTime",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "time"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._time",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._time.value",
                    "text": "time",
                    "type": "time",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._code",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._code.value",
                    "text": "min value[x]",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._oid",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._oid.value",
                    "text": "oid",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._id",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._id.value",
                    "text": "id",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._unsignedInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._unsignedInt.value",
                    "text": "unsignedInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._positiveInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._positiveInt.value",
                    "text": "positiveInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._markdown",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._markdown.value",
                    "text": "markdown",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Annotation"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Annotation",
                "text": "Annotation"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Attachment"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Attachment",
                "text": "Attachment"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Identifier"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Identifier",
                "text": "Identifier",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Identifier.label",
                    "text": "label:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Identifier.system",
                    "text": "system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Identifier.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._CodeableConcept",
                "text": "CodeableConcept",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._CodeableConcept.coding",
                    "text": "code:",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._CodeableConcept.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Coding"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Coding",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Coding.value",
                    "text": "Coding",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Quantity",
                "text": "Quantity",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Quantity.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Quantity.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Quantity.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Quantity.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Quantity.system",
                    "text": "units system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Range"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Range",
                "text": "Range",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Range.low",
                    "text": "low:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Range.high",
                    "text": "high:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Range.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Period"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Period",
                "text": "Period",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Period.low",
                    "text": "start:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Period.end",
                    "text": "end:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Ratio"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Ratio",
                "text": "Ratio",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Ratio.numerator",
                    "text": "numerator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Ratio.denominator",
                    "text": "denominator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Ratio.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "SampledData"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._SampledData",
                "text": "SampledData"
              },
              {
                "linkId": "ElementDefinition.minValue[x]._Signature",
                "text": "Signature"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Name"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._HumanName",
                "text": "HumanName",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._HumanName.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._HumanName.family",
                    "text": "family:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._HumanName.given",
                    "text": "given:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Address"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Address",
                "text": "Address",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Address.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Address.line",
                    "text": "line:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Address.city",
                    "text": "city:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Address.state",
                    "text": "state:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Address.postalCode",
                    "text": "post code:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Address.country",
                    "text": "country:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Address.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "ContactPoint"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._ContactPoint",
                "text": "ContactPoint",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._ContactPoint.system",
                    "text": "type:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._ContactPoint.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._ContactPoint.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Schedule"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Timing",
                "text": "Timing",
                "question": [
                  {
                    "linkId": "ElementDefinition.minValue[x]._Timing.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.minValue[x]._Timing.date",
                    "text": "date:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?"
                      }
                    ],
                    "linkId": "ElementDefinition.minValue[x]._Timing.author",
                    "text": "author:",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "ElementDefinition.minValue[x]._Reference",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "ElementDefinition.minValue[x]._Reference.value",
                    "text": "Reference",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "linkId": "ElementDefinition.minValue[x]._Meta",
                "text": "Meta"
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "The maximum allowed value for the element. The value is inclusive. This is allowed for the types date, dateTime, instant, time, decimal, integer, and Quantity. Except for date/date/instant, the type of the maxValue[x] SHALL be the same as the specified type of the element. For the date/dateTime/instant values, the type of maxValue[x] SHALL be either the same, or a a [Duration](datatypes.html#duration) which specifies a relative time limit to the current time. The duration value is positive, and is added to the current clock to determine the maximum allowable value.   A maximum value for a Quantity is interpreted as an canonical maximum - e.g. you cannot provide 10g if the maximum value is 50mg."
          }
        ],
        "linkId": "ElementDefinition.maxValue[x]",
        "text": "Maximum Allowed Value (for some types)",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.maxValue[x]._type",
            "text": "type",
            "type": "choice",
            "required": false,
            "repeats": false,
            "options": {
              "reference": "#vs7"
            },
            "group": [
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "boolean"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._boolean",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._boolean.value",
                    "text": "boolean",
                    "type": "boolean",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._integer",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._integer.value",
                    "text": "integer",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "decimal"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._decimal",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._decimal.value",
                    "text": "decimal",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "binary"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._base64Binary",
                "text": "base64Binary"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "instant"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._instant",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._instant.value",
                    "text": "instant",
                    "type": "instant",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._string",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._string.value",
                    "text": "string",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "uri"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._uri",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._uri.value",
                    "text": "uri",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._date",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._date.value",
                    "text": "date",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "datetime"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._dateTime",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._dateTime.value",
                    "text": "dateTime",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "time"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._time",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._time.value",
                    "text": "time",
                    "type": "time",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "code"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._code",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._code.value",
                    "text": "max value[x]",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._oid",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._oid.value",
                    "text": "oid",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._id",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._id.value",
                    "text": "id",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._unsignedInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._unsignedInt.value",
                    "text": "unsignedInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "integer"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._positiveInt",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._positiveInt.value",
                    "text": "positiveInt",
                    "type": "integer",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "string"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._markdown",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._markdown.value",
                    "text": "markdown",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Annotation"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Annotation",
                "text": "Annotation"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Attachment"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Attachment",
                "text": "Attachment"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Identifier"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Identifier",
                "text": "Identifier",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Identifier.label",
                    "text": "label:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Identifier.system",
                    "text": "system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Identifier.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "CodeableConcept"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._CodeableConcept",
                "text": "CodeableConcept",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._CodeableConcept.coding",
                    "text": "code:",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._CodeableConcept.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Coding"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Coding",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Coding.value",
                    "text": "Coding",
                    "type": "open-choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Quantity"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Quantity",
                "text": "Quantity",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Quantity.comparator",
                    "text": "comp:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Quantity.value",
                    "text": "value:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Quantity.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Quantity.code",
                    "text": "coded units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Quantity.system",
                    "text": "units system:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Range"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Range",
                "text": "Range",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Range.low",
                    "text": "low:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Range.high",
                    "text": "high:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Range.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Period"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Period",
                "text": "Period",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Period.low",
                    "text": "start:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Period.end",
                    "text": "end:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Ratio"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Ratio",
                "text": "Ratio",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Ratio.numerator",
                    "text": "numerator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Ratio.denominator",
                    "text": "denominator:",
                    "type": "decimal",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Ratio.units",
                    "text": "units:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "SampledData"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._SampledData",
                "text": "SampledData"
              },
              {
                "linkId": "ElementDefinition.maxValue[x]._Signature",
                "text": "Signature"
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Name"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._HumanName",
                "text": "HumanName",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._HumanName.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._HumanName.family",
                    "text": "family:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._HumanName.given",
                    "text": "given:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Address"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Address",
                "text": "Address",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Address.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Address.line",
                    "text": "line:",
                    "type": "string",
                    "required": false,
                    "repeats": true
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Address.city",
                    "text": "city:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Address.state",
                    "text": "state:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Address.postalCode",
                    "text": "post code:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Address.country",
                    "text": "country:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Address.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "ContactPoint"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._ContactPoint",
                "text": "ContactPoint",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._ContactPoint.system",
                    "text": "type:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._ContactPoint.value",
                    "text": "value:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._ContactPoint.use",
                    "text": "use:",
                    "type": "choice",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Schedule"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Timing",
                "text": "Timing",
                "question": [
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Timing.text",
                    "text": "text:",
                    "type": "string",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "linkId": "ElementDefinition.maxValue[x]._Timing.date",
                    "text": "date:",
                    "type": "dateTime",
                    "required": false,
                    "repeats": false
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Patient?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/Practitioner?"
                      },
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/RelatedPerson?"
                      }
                    ],
                    "linkId": "ElementDefinition.maxValue[x]._Timing.author",
                    "text": "author:",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "extension": [
                  {
                    "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                    "valueString": "Reference"
                  }
                ],
                "linkId": "ElementDefinition.maxValue[x]._Reference",
                "question": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                        "valueString": "/_search?subject=$subj&patient=$subj&encounter=$encounter"
                      }
                    ],
                    "linkId": "ElementDefinition.maxValue[x]._Reference.value",
                    "text": "Reference",
                    "type": "reference",
                    "required": false,
                    "repeats": false
                  }
                ]
              },
              {
                "linkId": "ElementDefinition.maxValue[x]._Meta",
                "text": "Meta"
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Indicates the maximum length in characters that is permitted to be present in conformant instances and which is expected to be supported by conformant consumers that support the element. Receivers are not required to reject instances that exceed the maximum length.  The full length could be stored.  In some cases, data might be truncated, though truncation should be undertaken with care and an understanding of the consequences of doing so. If not specified, there is no conformance expectation for length support."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "integer"
          }
        ],
        "linkId": "ElementDefinition.maxLength",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.maxLength.value",
            "text": "Max length for strings",
            "type": "integer",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "A reference to an invariant that may make additional statements about the cardinality or value in the instance."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "string"
          }
        ],
        "linkId": "ElementDefinition.condition",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.condition.value",
            "text": "Reference to invariant about presence",
            "type": "string",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Formal constraints such as co-occurrence and other constraints that can be computationally evaluated within the context of the instance."
          }
        ],
        "linkId": "ElementDefinition.constraint",
        "title": "Condition that must evaluate to true",
        "text": "Constraints should be declared on the \"context\" element - the lowest element in the hierarchy that is common to all nodes referenced by the constraint.",
        "required": false,
        "repeats": true,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.constraint.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.constraint.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "ElementDefinition.constraint.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Allows identification of which elements have their cardinalities impacted by the constraint.  Will not be referenced for constraints that do not affect cardinality."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.constraint.key",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.constraint.key.value",
                "text": "Target of 'condition' reference above",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Description of why this constraint is necessary or appropriate. To be used if the reason for the constraint may not be intuitive to all implementers."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.constraint.requirements",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.constraint.requirements.value",
                "text": "Why this constraint necessary or appropriate",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Identifies the impact constraint violation has on the conformance of the instance. This allows constraints to be asserted as \"shall\" (error) and \"should\" (warning)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "ElementDefinition.constraint.severity",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.constraint.severity.value",
                "text": "severity",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Text that can be used to describe the constraint in messages identifying that the constraint has been violated. Should be expressed in business terms as much as possible."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.constraint.human",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.constraint.human.value",
                "text": "Human description of constraint",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "An XPath expression of constraint that can be executed to see if this constraint is met. Elements SHALL use \"f\" as the namespace prefix for the FHIR namespace, and \"x\" for the xhtml namespace, and SHALL NOT use any other prefixes."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.constraint.xpath",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.constraint.xpath.value",
                "text": "XPath expression of constraint",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "If true, implementations that produce or consume resources SHALL provide \"support\" for the element in some meaningful way.  If false, the element may be ignored and not supported. \"Something useful\" is context dependent and impossible to describe in the base FHIR specification. For this reason, tue mustSupport flag is never set to true by the FHIR specification itself - it is only set to true in profiles. \n\nThis is done in [Resource Profiles](profiling.html#mustsupport), where the profile labels an element as mustSupport=true. When a profile does this, it SHALL also make clear exactly what kind of \"support\" is required, as this can mean many things.\n\nNote that an element that has the property IsModifier is not necessarily a \"key\" element (e.g. one of the important elements to make use of the resource), nor is it automatically mustSupport - however both of these things are more likely to be true for IsModifier elements than for other elements."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "boolean"
          }
        ],
        "linkId": "ElementDefinition.mustSupport",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.mustSupport.value",
            "text": "If the element must supported",
            "type": "boolean",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "If true, the value of this element affects the interpretation of the element or resource that contains it, and the value of the element cannot be ignored. Typically, this is used for status, negation and qualification codes. The effect of this is that the element cannot be ignored by systems: they SHALL either recognize the element and process it, and/or a pre-determination has been made that it is not relevant to their particular system. Only the definition of an element can set IsModifier true - either the specification itself or where an extension is originally defined. Once set, it cannot be changed in derived profiles. An element/extension that has isModifier=true SHOULD also have a minimum cardinality of 1, so that there is no lack of clarity about what to do if it is missing. If it can be missing, the definition SHALL make the meaning of a missing element clear."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "boolean"
          }
        ],
        "linkId": "ElementDefinition.isModifier",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.isModifier.value",
            "text": "If this modifies the meaning of other elements",
            "type": "boolean",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Whether the element should be included if a client requests a search with the parameter _summary=true. Some resources include a set of simple metadata, and some very large data. This element is used to reduce the quantity of data returned in searches. Note that servers may pre-cache summarized resources for optimal performance, so servers may not support per-profile use of the isSummary flag."
          },
          {
            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
            "valueString": "boolean"
          }
        ],
        "linkId": "ElementDefinition.isSummary",
        "required": false,
        "repeats": true,
        "question": [
          {
            "linkId": "ElementDefinition.isSummary.value",
            "text": "Include when _summary = true?",
            "type": "boolean",
            "required": false,
            "repeats": false
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Binds to a value set if this element is coded (code, Coding, CodeableConcept)."
          }
        ],
        "linkId": "ElementDefinition.binding",
        "title": "ValueSet details if this is coded",
        "required": false,
        "repeats": false,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.binding.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.binding.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "ElementDefinition.binding.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Indicates the degree of conformance expectations associated with this binding - that is, the degree to which the provided value set must be adhered to in the instances. For further discussion, see [[[Using Terminologies]]]."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "ElementDefinition.binding.strength",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.binding.strength.value",
                "text": "strength",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Describes the intended use of this particular set of codes."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.binding.description",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.binding.description.value",
                "text": "Human explanation of the value set",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Points to the value set or external definition (e.g. implicit value set) that identifies the set of codes to be used. For value sets with a referenceResource, the display can contain the value set description.  The reference may be version-specific or not."
              }
            ],
            "linkId": "ElementDefinition.binding.valueSet[x]",
            "text": "Source of value set",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.binding.valueSet[x]._type",
                "text": "type",
                "type": "choice",
                "required": false,
                "repeats": false,
                "options": {
                  "reference": "#vs8"
                },
                "group": [
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "uri"
                      }
                    ],
                    "linkId": "ElementDefinition.binding.valueSet[x]._uri",
                    "question": [
                      {
                        "linkId": "ElementDefinition.binding.valueSet[x]._uri.value",
                        "text": "uri",
                        "type": "string",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  },
                  {
                    "extension": [
                      {
                        "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                        "valueString": "Reference"
                      }
                    ],
                    "linkId": "ElementDefinition.binding.valueSet[x]._ValueSet",
                    "question": [
                      {
                        "extension": [
                          {
                            "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#reference",
                            "valueString": "/ValueSet?subject=$subj&patient=$subj&encounter=$encounter"
                          }
                        ],
                        "linkId": "ElementDefinition.binding.valueSet[x]._ValueSet.value",
                        "text": "ValueSet",
                        "type": "reference",
                        "required": false,
                        "repeats": false
                      }
                    ]
                  }
                ]
              }
            ]
          }
        ]
      },
      {
        "extension": [
          {
            "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
            "valueString": "Identifies a concept from an external specification that roughly corresponds to this element."
          }
        ],
        "linkId": "ElementDefinition.mapping",
        "title": "Map element to another set of definitions",
        "text": "Mappings are not necessarily specific enough for safe translation.",
        "required": false,
        "repeats": true,
        "group": [
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "unique id for the element within a resource (for internal references)."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.mapping.id",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.mapping.id.value",
                "text": "xml:id (or equivalent in JSON)",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone."
              }
            ],
            "linkId": "ElementDefinition.mapping.extension",
            "text": "Additional Content defined by implementations",
            "required": false,
            "repeats": true
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "An internal reference to the definition of a mapping."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.mapping.identity",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.mapping.identity.value",
                "text": "Reference to mapping declaration",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Identifies the computable language in which mapping.map is expressed. If omitted, then there can be no expectation of computational interpretation of the mapping."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "code"
              }
            ],
            "linkId": "ElementDefinition.mapping.language",
            "required": false,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.mapping.language.value",
                "text": "language",
                "type": "choice",
                "required": false,
                "repeats": false
              }
            ]
          },
          {
            "extension": [
              {
                "url": "http://hl7.org/fhir/Profile/questionnaire-extensions#flyover",
                "valueString": "Expresses what part of the target specification corresponds to this element. For most mappings, the syntax is undefined.  Syntax will be provided for mappings to the RIM.  Multiple mappings may be possible and may include constraints on other resource elements that identify when a particular mapping applies."
              },
              {
                "url": "http://www.healthintersections.com.au/fhir/Profile/metadata#type",
                "valueString": "string"
              }
            ],
            "linkId": "ElementDefinition.mapping.map",
            "required": true,
            "repeats": true,
            "question": [
              {
                "linkId": "ElementDefinition.mapping.map.value",
                "text": "Details of the mapping",
                "type": "string",
                "required": false,
                "repeats": false
              }
            ]
          }
        ]
      }
    ]
  }
}

Usage note: every effort has been made to ensure that the examples are correct and useful, but they are not a normative part of the specification.