Connectathon 11 Snapshot

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

Argonaut\argonaut-careplan-questionnaire.json

Raw JSON (canonical form)

Generated Questionnaire for argonaut-careplan

{
  "resourceType": "Questionnaire",
  "id": "qs1",
  "contained": [
    {
      "resourceType": "ValueSet",
      "id": "vs2",
      "name": "Type options for CarePlan.subject",
      "status": "active",
      "description": "Type options for CarePlan.subject",
      "expansion": {
        "identifier": "urn:uuid:bc847ea5-5864-48ac-b674-6aa87de3c573",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Group",
            "display": "Group"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs3",
      "name": "Type options for CarePlan.context",
      "status": "active",
      "description": "Type options for CarePlan.context",
      "expansion": {
        "identifier": "urn:uuid:d751d669-9eb6-46f8-93cc-4eff2b8829e9",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Encounter",
            "display": "Encounter"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "EpisodeOfCare",
            "display": "EpisodeOfCare"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs4",
      "name": "Type options for CarePlan.author",
      "status": "active",
      "description": "Type options for CarePlan.author",
      "expansion": {
        "identifier": "urn:uuid:4f0a264c-fd83-4264-aa46-aee2d99d1c2b",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Practitioner",
            "display": "Practitioner"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "RelatedPerson",
            "display": "RelatedPerson"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Organization",
            "display": "Organization"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs5",
      "name": "Type options for CarePlan.participant.member",
      "status": "active",
      "description": "Type options for CarePlan.participant.member",
      "expansion": {
        "identifier": "urn:uuid:4bad2418-f542-4e6e-a560-7c8c1df14b32",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Practitioner",
            "display": "Practitioner"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "RelatedPerson",
            "display": "RelatedPerson"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Organization",
            "display": "Organization"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs6",
      "name": "Type options for CarePlan.activity.reference",
      "status": "active",
      "description": "Type options for CarePlan.activity.reference",
      "expansion": {
        "identifier": "urn:uuid:351fb340-61a6-453d-8084-ddb3bbcef5d5",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Appointment",
            "display": "Appointment"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "CommunicationRequest",
            "display": "CommunicationRequest"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "DeviceUseRequest",
            "display": "DeviceUseRequest"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "DiagnosticOrder",
            "display": "DiagnosticOrder"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "MedicationOrder",
            "display": "MedicationOrder"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "NutritionOrder",
            "display": "NutritionOrder"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Order",
            "display": "Order"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "ProcedureRequest",
            "display": "ProcedureRequest"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "ProcessRequest",
            "display": "ProcessRequest"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "ReferralRequest",
            "display": "ReferralRequest"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "SupplyRequest",
            "display": "SupplyRequest"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "VisionPrescription",
            "display": "VisionPrescription"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs7",
      "name": "Type options for CarePlan.activity.detail.scheduled[x]",
      "status": "active",
      "description": "Type options for CarePlan.activity.detail.scheduled[x]",
      "expansion": {
        "identifier": "urn:uuid:038fe05f-a04b-4b38-848f-48eb18dd9299",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Timing",
            "display": "Timing"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "Period",
            "display": "Period"
          },
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "string",
            "display": "string"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs8",
      "name": "Type options for CarePlan.activity.detail.performer",
      "status": "active",
      "description": "Type options for CarePlan.activity.detail.performer",
      "expansion": {
        "identifier": "urn:uuid:87f24922-4489-4680-a6b5-1eccb6807442",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Practitioner",
            "display": "Practitioner"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Organization",
            "display": "Organization"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "RelatedPerson",
            "display": "RelatedPerson"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Patient",
            "display": "Patient"
          }
        ]
      }
    },
    {
      "resourceType": "ValueSet",
      "id": "vs9",
      "name": "Type options for CarePlan.activity.detail.product[x]",
      "status": "active",
      "description": "Type options for CarePlan.activity.detail.product[x]",
      "expansion": {
        "identifier": "urn:uuid:8c86594f-e783-48f0-b034-46d8ef431abd",
        "timestamp": "2015-12-11T17:44:36+11:00",
        "contains": [
          {
            "system": "http://hl7.org/fhir/data-types",
            "code": "CodeableConcept",
            "display": "CodeableConcept"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Medication",
            "display": "Medication"
          },
          {
            "system": "http://hl7.org/fhir/resource-types",
            "code": "Substance",
            "display": "Substance"
          }
        ]
      }
    }
  ],
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "status": "draft",
  "date": "2014-01-31T00:00:00+11:00",
  "publisher": "Argonaut Project",
  "item": [
    {
      "linkId": "CarePlan",
      "text": "Healthcare plan for patient or group",
      "type": "group",
      "required": false,
      "repeats": true,
      "item": [
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
              "valueCodeableConcept": {
                "coding": [
                  {
                    "system": "http://hl7.org/fhir/questionnaire-item-control",
                    "code": "flyover",
                    "display": "Fly-over"
                  }
                ]
              }
            }
          ],
          "text": "Describes the intention of how one or more practitioners intend to deliver care for a particular patient, group or community for a period of time, possibly limited to care for a specific condition or set of conditions.",
          "type": "display"
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "CarePlan.id",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. The only time that a resource does not have an id is when it is being submitted to the server using a create operation. Bundles always have an id, though it is usually a generated UUID.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.id.value",
              "text": "Logical id of this artifact",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "CarePlan.meta",
          "text": "Metadata about the resource",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content may not always be associated with version changes to the resource.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "uri"
            }
          ],
          "linkId": "CarePlan.implicitRules",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "A reference to a set of rules that were followed when the resource was constructed, and which must be understood when processing the content. Asserting this rule set restricts the content to be only understood by a limited set of trading partners. This inherently limits the usefulness of the data in the long term. However, the existing health eco-system is highly fractured, and not yet ready to define, collect, and exchange data in a generally computable sense. Wherever possible, implementers and/or specification writers should avoid using this element as much as possible.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.implicitRules.value",
              "text": "A set of rules under which this content was created",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "code"
            }
          ],
          "linkId": "CarePlan.language",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "The base language in which the resource is written. Language is provided to support indexing and accessibility (typically, services such as text to speech use the language tag). The html language tag in the narrative applies  to the narrative. The language tag on the resource may be used to specify the language of other presentations generated from the data in the resource  Not all the content has to be in the base language. The Resource.language should not be assumed to apply to the narrative automatically. If a language is specified, it should it also be specified on the div element in the html (see rules in HTML5 for information about the relationship between xml:lang and the html lang attribute).",
              "type": "display"
            },
            {
              "linkId": "CarePlan.language.value",
              "text": "language",
              "type": "choice",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "CarePlan.text",
          "text": "Text summary of the resource, for human interpretation",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "A human-readable narrative that contains a summary of the resource, and may be used to represent the content of the resource to a human. The narrative need not encode all the structured data, but is required to contain sufficient detail to make it \"clinically safe\" for a human to just read the narrative. Resource definitions may define what content should be represented in the narrative to ensure clinical safety. Contained resources do not have narrative. Resources that are not contained SHOULD have a narrative.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "CarePlan.contained",
          "text": "Contained, inline Resources",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, and nor can they have their own independent transaction scope. This should never be done when the content can be identified properly, as once identification is lost, it is extremely difficult (and context dependent) to restore it again.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "CarePlan.extension",
          "text": "Additional Content defined by implementations",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "May be used to represent additional information that is not part of the basic definition of the resource. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "CarePlan.modifierExtension",
          "text": "Extensions that cannot be ignored",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "May be used to represent additional information that is not part of the basic definition of the resource, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Identifier"
            }
          ],
          "linkId": "CarePlan.identifier",
          "text": "External Ids for this plan",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "This records identifiers associated with this care plan that are defined by business processes and/or used to refer to it when a direct URL reference to the resource itself is not appropriate (e.g. in CDA documents, or in written / printed documentation).",
              "type": "display"
            },
            {
              "linkId": "CarePlan.identifier.label",
              "text": "label:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "CarePlan.identifier.system",
              "text": "system:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "CarePlan.identifier.value",
              "text": "value:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "CarePlan.subject",
          "text": "Who care plan is for",
          "type": "group",
          "required": true,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies the patient or group whose intended care is described by the plan.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.subject._type",
              "text": "type",
              "type": "choice",
              "required": false,
              "repeats": false,
              "options": {
                "reference": "#vs2"
              },
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.subject._Patient",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Patient"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.subject._Patient.value",
                      "text": "Patient",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.subject._Group",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Group"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.subject._Group.value",
                      "text": "Group",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "code"
            }
          ],
          "linkId": "CarePlan.status",
          "type": "group",
          "required": true,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Indicates whether the plan is currently being acted upon, represents future intentions or is now a historical record.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.status.value",
              "text": "status",
              "type": "choice",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            }
          ],
          "linkId": "CarePlan.context",
          "text": "Created in context of",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies the context in which this particular CarePlan is defined. Activities conducted as a result of the care plan may well occur as part of other encounters/episodes.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.context._type",
              "text": "type",
              "type": "choice",
              "required": false,
              "repeats": false,
              "options": {
                "reference": "#vs3"
              },
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.context._Encounter",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Encounter"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.context._Encounter.value",
                      "text": "Encounter",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.context._EpisodeOfCare",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "EpisodeOfCare"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.context._EpisodeOfCare.value",
                      "text": "EpisodeOfCare",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Period"
            }
          ],
          "linkId": "CarePlan.period",
          "text": "Time period plan covers",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Indicates when the plan did (or is intended to) come into effect and end. Any activities scheduled as part of the plan should be constrained to the specified period.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.period.low",
              "text": "start:",
              "type": "dateTime",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "CarePlan.period.end",
              "text": "end:",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            }
          ],
          "linkId": "CarePlan.author",
          "text": "Who is responsible for contents of the plan",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies the individual(s) or ogranization who is responsible for the content of the care plan. Collaborative care plans may have multiple authors.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.author._type",
              "text": "type",
              "type": "choice",
              "required": false,
              "repeats": false,
              "options": {
                "reference": "#vs4"
              },
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.author._Patient",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Patient"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.author._Patient.value",
                      "text": "Patient",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.author._Practitioner",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Practitioner"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.author._Practitioner.value",
                      "text": "Practitioner",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.author._RelatedPerson",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "RelatedPerson"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.author._RelatedPerson.value",
                      "text": "RelatedPerson",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.author._Organization",
                  "type": "group",
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Organization"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.author._Organization.value",
                      "text": "Organization",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "datetime"
            }
          ],
          "linkId": "CarePlan.modified",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies the most recent date on which the plan has been revised.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.modified.value",
              "text": "When last updated",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "CarePlan.category",
          "text": "Type of plan",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies what \"kind\" of plan this is to support differentiation between multiple co-existing plans; e.g. \"Home health\", \"psychiatric\", \"asthma\", \"disease management\", \"wellness plan\", etc. There may be multiple axis of categorization and one plan may serve multiple purposes.  In some cases, this may be redundant with references to CarePlan.concern.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.category.coding",
              "text": "code:",
              "type": "open-choice",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "CarePlan.category.text",
              "text": "text:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "CarePlan.description",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "A description of the scope and nature of the plan.",
              "type": "display"
            },
            {
              "linkId": "CarePlan.description.value",
              "text": "Summary of nature of plan",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "CarePlan.addresses",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies the conditions/problems/concerns/diagnoses/etc. whose management and/or mitigation are handled by this plan.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Condition"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "CarePlan.addresses.value",
              "text": "Health issues this plan addresses",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "CarePlan.support",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies portions of the patient's record that specifically influenced the formation of the plan.  These might include co-morbidities, recent procedures, limitations, recent assessments, etc. Use \"concern\" to identify specific conditions addressed by the care plan.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Resource"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "CarePlan.support.value",
              "text": "Information considered as part of plan",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            }
          ],
          "linkId": "CarePlan.relatedPlan",
          "text": "Plans related to this one",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "text": "Relationships are uni-directional with the \"newer\" plan pointing to the older one.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies CarePlans with some sort of formal relationship to the current plan.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "CarePlan.relatedPlan.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "CarePlan.relatedPlan.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "CarePlan.relatedPlan.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "CarePlan.relatedPlan.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "code"
                }
              ],
              "linkId": "CarePlan.relatedPlan.code",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Identifies the type of relationship this plan has to the target plan. Read the relationship as \"this plan\" [relatedPlan.code] \"relatedPlan.plan\"; e.g. This plan includes Plan B.\n\nAdditional relationship types can be proposed for future releases or handled as extensions.",
                  "type": "display"
                },
                {
                  "linkId": "CarePlan.relatedPlan.code.value",
                  "text": "code",
                  "type": "choice",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Reference"
                }
              ],
              "linkId": "CarePlan.relatedPlan.plan",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "A reference to the plan to which a relationship is asserted.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                      "valueCode": "CarePlan"
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                      "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                    }
                  ],
                  "linkId": "CarePlan.relatedPlan.plan.value",
                  "text": "Plan relationship exists with",
                  "type": "reference",
                  "required": false,
                  "repeats": false
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            }
          ],
          "linkId": "CarePlan.participant",
          "text": "Who's involved in plan?",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies all people and organizations who are expected to be involved in the care envisioned by this plan.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "CarePlan.participant.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "CarePlan.participant.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "CarePlan.participant.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "CarePlan.participant.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "CarePlan.participant.role",
              "text": "Type of involvement",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Indicates specific responsibility of an individual within the care plan; e.g. \"Primary physician\", \"Team coordinator\", \"Caregiver\", etc. Roles may sometimes be inferred by type of Practitioner.  These are relationships that hold only within the context of the care plan.  General relationships should be handled as properties of the Patient resource directly.",
                  "type": "display"
                },
                {
                  "linkId": "CarePlan.participant.role.coding",
                  "text": "code:",
                  "type": "open-choice",
                  "required": false,
                  "repeats": false
                },
                {
                  "linkId": "CarePlan.participant.role.text",
                  "text": "text:",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "CarePlan.participant.member",
              "text": "Who is involved",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "The specific person or organization who is participating/expected to participate in the care plan. Patient only needs to be listed if they have a role other than \"subject of care\".\n\nMember is optional because some participants may be known only by their role, particularly in draft plans.",
                  "type": "display"
                },
                {
                  "linkId": "CarePlan.participant.member._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs5"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.participant.member._Practitioner",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Practitioner"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.participant.member._Practitioner.value",
                          "text": "Practitioner",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.participant.member._RelatedPerson",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "RelatedPerson"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.participant.member._RelatedPerson.value",
                          "text": "RelatedPerson",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.participant.member._Patient",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Patient"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.participant.member._Patient.value",
                          "text": "Patient",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.participant.member._Organization",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Organization"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.participant.member._Organization.value",
                          "text": "Organization",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "CarePlan.goal",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Describes the intended objective(s) of carrying out the care plan. Goal can be achieving a particular change or merely maintaining a current state or even slowing a decline.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                  "valueCode": "Goal"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                }
              ],
              "linkId": "CarePlan.goal.value",
              "text": "Desired outcome of plan",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            }
          ],
          "linkId": "CarePlan.activity",
          "text": "Action to occur as part of plan",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "Identifies a planned action to occur as part of the plan.  For example, a medication to be used, lab tests to perform, self-monitoring, education, etc.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "CarePlan.activity.id",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "unique id for the element within a resource (for internal references).",
                  "type": "display"
                },
                {
                  "linkId": "CarePlan.activity.id.value",
                  "text": "xml:id (or equivalent in JSON)",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "CarePlan.activity.extension",
              "text": "Additional Content defined by implementations",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "linkId": "CarePlan.activity.modifierExtension",
              "text": "Extensions that cannot be ignored",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Reference"
                }
              ],
              "linkId": "CarePlan.activity.actionResulting",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Resources that describe follow-on actions resulting from the plan, such as drug prescriptions, encounter records, appointments, etc.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                      "valueCode": "Resource"
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                      "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                    }
                  ],
                  "linkId": "CarePlan.activity.actionResulting.value",
                  "text": "Appointments, orders, etc.",
                  "type": "reference",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Annotation"
                }
              ],
              "linkId": "CarePlan.activity.progress",
              "text": "Comments about the activity status/progress",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "Notes about the adherence/status/progress of the activity. This element should NOT be used to describe the activity to be performed - that occurs either within the resource pointed to by activity.detail.reference or in activity.detail.description.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "CarePlan.activity.reference",
              "text": "Activity details defined in specific resource",
              "type": "group",
              "required": false,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "The details of the proposed activity represented in a specific resource.",
                  "type": "display"
                },
                {
                  "linkId": "CarePlan.activity.reference._type",
                  "text": "type",
                  "type": "choice",
                  "required": false,
                  "repeats": false,
                  "options": {
                    "reference": "#vs6"
                  },
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._Appointment",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Appointment"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._Appointment.value",
                          "text": "Appointment",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._CommunicationRequest",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "CommunicationRequest"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._CommunicationRequest.value",
                          "text": "CommunicationRequest",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._DeviceUseRequest",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "DeviceUseRequest"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._DeviceUseRequest.value",
                          "text": "DeviceUseRequest",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._DiagnosticOrder",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "DiagnosticOrder"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._DiagnosticOrder.value",
                          "text": "DiagnosticOrder",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._MedicationOrder",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "MedicationOrder"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._MedicationOrder.value",
                          "text": "MedicationOrder",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._NutritionOrder",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "NutritionOrder"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._NutritionOrder.value",
                          "text": "NutritionOrder",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._Order",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "Order"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._Order.value",
                          "text": "Order",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._ProcedureRequest",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "ProcedureRequest"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._ProcedureRequest.value",
                          "text": "ProcedureRequest",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._ProcessRequest",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "ProcessRequest"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._ProcessRequest.value",
                          "text": "ProcessRequest",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._ReferralRequest",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "ReferralRequest"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._ReferralRequest.value",
                          "text": "ReferralRequest",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._SupplyRequest",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "SupplyRequest"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._SupplyRequest.value",
                          "text": "SupplyRequest",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                          "valueString": "Reference"
                        }
                      ],
                      "linkId": "CarePlan.activity.reference._VisionPrescription",
                      "type": "group",
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                              "valueCode": "VisionPrescription"
                            },
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                              "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                            }
                          ],
                          "linkId": "CarePlan.activity.reference._VisionPrescription.value",
                          "text": "VisionPrescription",
                          "type": "reference",
                          "required": false,
                          "repeats": false
                        }
                      ]
                    }
                  ]
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                }
              ],
              "linkId": "CarePlan.activity.detail",
              "text": "In-line definition of activity",
              "type": "group",
              "required": false,
              "repeats": false,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "text": "A simple summary of a planned activity suitable for a general care plan system (e.g. form driven) that doesn't know about specific resources such as procedure etc.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "string"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.id",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "unique id for the element within a resource (for internal references).",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.id.value",
                      "text": "xml:id (or equivalent in JSON)",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "linkId": "CarePlan.activity.detail.extension",
                  "text": "Additional Content defined by implementations",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "May be used to represent additional information that is not part of the basic definition of the element. In order to make the use of extensions safe and manageable, there is a strict set of governance  applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                      "type": "display"
                    }
                  ]
                },
                {
                  "linkId": "CarePlan.activity.detail.modifierExtension",
                  "text": "Extensions that cannot be ignored",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "May be used to represent additional information that is not part of the basic definition of the element, and that modifies the understanding of the element that contains it. Usually modifier elements provide negation or qualification. In order to make the use of extensions safe and manageable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer is allowed to define an extension, there is a set of requirements that SHALL be met as part of the definition of the extension. Applications processing a resource are required to check for modifier extensions. There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                      "type": "display"
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "CodeableConcept"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.category",
                  "text": "diet | drug | encounter | observation | procedure | supply | other",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "High-level categorization of the type of activity in a care plan.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.category.coding",
                      "text": "code:",
                      "type": "open-choice",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.category.text",
                      "text": "text:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "CodeableConcept"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.code",
                  "text": "Detail type of activity",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Detailed description of the type of planned activity; e.g. What lab test, what procedure, what kind of encounter. Tends to be less relevant for activities involving particular products.  Codes should not convey negation - use \"prohibited\" instead.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.code.coding",
                      "text": "code:",
                      "type": "open-choice",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.code.text",
                      "text": "text:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "CodeableConcept"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.reasonCode",
                  "text": "Why activity should be done",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Provides the rationale that drove the inclusion of this particular activity as part of the plan. This could be a diagnosis code.  If a full condition record exists or additional detail is needed, use reasonCondition instead.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.reasonCode.coding",
                      "text": "code:",
                      "type": "open-choice",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.reasonCode.text",
                      "text": "text:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.reasonReference",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Provides the health condition(s) that drove the inclusion of this particular activity as part of the plan. Conditions can be identified at the activity level that are not identified as reasons for the overall plan.",
                      "type": "display"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Condition"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.activity.detail.reasonReference.value",
                      "text": "Condition triggering need for activity",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.goal",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Internal reference that identifies the goals that this activity is intended to contribute towards meeting.",
                      "type": "display"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Goal"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.activity.detail.goal.value",
                      "text": "Goals this activity relates to",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "code"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.status",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Identifies what progress is being made for the specific activity. Some aspects of status can be inferred based on the resources linked in actionTaken.  Note that \"status\" is only as current as the plan was most recently updated.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.status.value",
                      "text": "status",
                      "type": "choice",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "CodeableConcept"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.statusReason",
                  "text": "Reason for current status",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Provides reason why the activity isn't yet started, is on hold, was cancelled, etc. Will generally not be present if status is \"complete\".  Be sure to prompt to update this (or at least remove the existing value) if the status is changed.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.statusReason.coding",
                      "text": "code:",
                      "type": "open-choice",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.statusReason.text",
                      "text": "text:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "boolean"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.prohibited",
                  "type": "group",
                  "required": true,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "If true, indicates that the described activity is one that must NOT be engaged in when following the plan.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.prohibited.value",
                      "text": "Do NOT do",
                      "type": "boolean",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.scheduled[x]",
                  "text": "When activity is to occur",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "The period, timing or frequency upon which the described activity is to occur.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.scheduled[x]._type",
                      "text": "type",
                      "type": "choice",
                      "required": false,
                      "repeats": false,
                      "options": {
                        "reference": "#vs7"
                      },
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Schedule"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.scheduled[x]._Timing",
                          "text": "Timing",
                          "type": "group",
                          "item": [
                            {
                              "linkId": "CarePlan.activity.detail.scheduled[x]._Timing.text",
                              "text": "text:",
                              "type": "string",
                              "required": false,
                              "repeats": false
                            },
                            {
                              "linkId": "CarePlan.activity.detail.scheduled[x]._Timing.date",
                              "text": "date:",
                              "type": "dateTime",
                              "required": false,
                              "repeats": false
                            },
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Patient"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Practitioner"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "RelatedPerson"
                                }
                              ],
                              "linkId": "CarePlan.activity.detail.scheduled[x]._Timing.author",
                              "text": "author:",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Period"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.scheduled[x]._Period",
                          "text": "Period",
                          "type": "group",
                          "item": [
                            {
                              "linkId": "CarePlan.activity.detail.scheduled[x]._Period.low",
                              "text": "start:",
                              "type": "dateTime",
                              "required": false,
                              "repeats": false
                            },
                            {
                              "linkId": "CarePlan.activity.detail.scheduled[x]._Period.end",
                              "text": "end:",
                              "type": "dateTime",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "string"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.scheduled[x]._string",
                          "type": "group",
                          "item": [
                            {
                              "linkId": "CarePlan.activity.detail.scheduled[x]._string.value",
                              "text": "string",
                              "type": "string",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Reference"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.location",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Identifies the facility where the activity will occur; e.g. home, hospital, specific clinic, etc. May reference a specific clinical location or may identify a type of location.",
                      "type": "display"
                    },
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                          "valueCode": "Location"
                        },
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                          "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                        }
                      ],
                      "linkId": "CarePlan.activity.detail.location.value",
                      "text": "Where it should happen",
                      "type": "reference",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "linkId": "CarePlan.activity.detail.performer",
                  "text": "Who will be responsible?",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Identifies who's expected to be involved in the activity. A performer MAY also be a participant in the care plan.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.performer._type",
                      "text": "type",
                      "type": "choice",
                      "required": false,
                      "repeats": false,
                      "options": {
                        "reference": "#vs8"
                      },
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.performer._Practitioner",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Practitioner"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "CarePlan.activity.detail.performer._Practitioner.value",
                              "text": "Practitioner",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.performer._Organization",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Organization"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "CarePlan.activity.detail.performer._Organization.value",
                              "text": "Organization",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.performer._RelatedPerson",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "RelatedPerson"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "CarePlan.activity.detail.performer._RelatedPerson.value",
                              "text": "RelatedPerson",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.performer._Patient",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Patient"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "CarePlan.activity.detail.performer._Patient.value",
                              "text": "Patient",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.product[x]",
                  "text": "What is to be administered/supplied",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Identifies the food, drug or other product to be consumed or supplied in the activity.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.product[x]._type",
                      "text": "type",
                      "type": "choice",
                      "required": false,
                      "repeats": false,
                      "options": {
                        "reference": "#vs9"
                      },
                      "item": [
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "CodeableConcept"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.product[x]._CodeableConcept",
                          "text": "CodeableConcept",
                          "type": "group",
                          "item": [
                            {
                              "linkId": "CarePlan.activity.detail.product[x]._CodeableConcept.coding",
                              "text": "code:",
                              "type": "open-choice",
                              "required": false,
                              "repeats": false
                            },
                            {
                              "linkId": "CarePlan.activity.detail.product[x]._CodeableConcept.text",
                              "text": "text:",
                              "type": "string",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.product[x]._Medication",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Medication"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "CarePlan.activity.detail.product[x]._Medication.value",
                              "text": "Medication",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        },
                        {
                          "extension": [
                            {
                              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                              "valueString": "Reference"
                            }
                          ],
                          "linkId": "CarePlan.activity.detail.product[x]._Substance",
                          "type": "group",
                          "item": [
                            {
                              "extension": [
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-allowedResource",
                                  "valueCode": "Substance"
                                },
                                {
                                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                                  "valueString": "subject=$subj&patient=$subj&encounter=$encounter"
                                }
                              ],
                              "linkId": "CarePlan.activity.detail.product[x]._Substance.value",
                              "text": "Substance",
                              "type": "reference",
                              "required": false,
                              "repeats": false
                            }
                          ]
                        }
                      ]
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Quantity"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.dailyAmount",
                  "text": "How to consume/day?",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Identifies the quantity expected to be consumed in a given day.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.dailyAmount.comparator",
                      "text": "comp:",
                      "type": "choice",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.dailyAmount.value",
                      "text": "value:",
                      "type": "decimal",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.dailyAmount.units",
                      "text": "units:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.dailyAmount.code",
                      "text": "coded units:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.dailyAmount.system",
                      "text": "units system:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "Quantity"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.quantity",
                  "text": "How much to administer/supply/consume",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "Identifies the quantity expected to be supplied, administered or consumed by the subject.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.quantity.comparator",
                      "text": "comp:",
                      "type": "choice",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.quantity.value",
                      "text": "value:",
                      "type": "decimal",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.quantity.units",
                      "text": "units:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.quantity.code",
                      "text": "coded units:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    },
                    {
                      "linkId": "CarePlan.activity.detail.quantity.system",
                      "text": "units system:",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                      "valueInteger": 1
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                      "valueString": "string"
                    }
                  ],
                  "linkId": "CarePlan.activity.detail.description",
                  "type": "group",
                  "required": false,
                  "repeats": true,
                  "item": [
                    {
                      "extension": [
                        {
                          "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                          "valueCodeableConcept": {
                            "coding": [
                              {
                                "system": "http://hl7.org/fhir/questionnaire-item-control",
                                "code": "flyover",
                                "display": "Fly-over"
                              }
                            ]
                          }
                        }
                      ],
                      "text": "This provides a textual description of constraints on the intended activity occurrence, including relation to other activities.  It may also include objectives, pre-conditions and end-conditions.  Finally, it may convey specifics about the activity such as body site, method, route, etc.",
                      "type": "display"
                    },
                    {
                      "linkId": "CarePlan.activity.detail.description.value",
                      "text": "Extra info describing activity to perform",
                      "type": "string",
                      "required": false,
                      "repeats": false
                    }
                  ]
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 0
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Annotation"
            }
          ],
          "linkId": "CarePlan.note",
          "text": "Comments about the plan",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "text": "General notes about the care plan not covered elsewhere.",
              "type": "display"
            }
          ]
        }
      ]
    }
  ]
}

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.