{
  "resourceType": "Questionnaire",
  "id": "qgen-MedicationDispense1",
  "url": "http://hl7.org/fhir/Questionnaire/qgen-MedicationDispense1",
  "identifier": [
    {
      "system": "urn:ietf:rfc:3986"
    }
  ],
  "version": "5.0.0",
  "status": "draft",
  "experimental": false,
  "date": "2023-03-26T15:21:02+11:00",
  "publisher": "Health Level Seven International (Pharmacy)",
  "item": [
    {
      "linkId": "MedicationDispense",
      "text": "Dispensing a medication to a named patient",
      "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"
                  }
                ]
              }
            }
          ],
          "linkId": "MedicationDispense-flyover",
          "text": "Indicates that a medication product is to be or has been dispensed for a named person/patient.  This includes a description of the medication product (supply) provided and the instructions for administering the medication.  The medication dispense is the result of a pharmacy system responding to a medication order.",
          "type": "display"
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.id-flyover",
              "text": "The logical id of the resource, as used in the URL for the resource. Once assigned, this value never changes. Within the context of the FHIR RESTful interactions, the resource has an id except for cases like the create and conditional update. Otherwise, the use of the resouce id depends on the given use case.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.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": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.meta-flyover",
              "text": "The metadata about the resource. This is content that is maintained by the infrastructure. Changes to the content might 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": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.implicitRules-flyover",
              "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. Often, this is a reference to an implementation guide that defines the special rules along with other profiles etc. 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. Often, when used, the URL is a reference to an implementation guide that defines these special rules as part of its narrative along with other profiles, value sets, etc.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.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": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.language-flyover",
              "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": "MedicationDispense.language.value",
              "text": "language",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOrType"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.text-flyover",
              "text": "A human-readable narrative that contains a summary of the resource and can 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 a narrative. Resources that are not contained SHOULD have a narrative. In some cases, a resource may only have text with little or no additional discrete data (as long as all minOccurs\u003d1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.contained-flyover",
              "text": "These resources do not have an independent existence apart from the resource that contains them - they cannot be identified independently, nor can they have their own independent transaction scope. This is allowed to be a Parameters resource if and only if it is referenced by a resource that provides context/meaning. 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. Contained resources may have profiles and tags in their meta elements, but SHALL NOT have security labels.",
              "type": "display"
            }
          ]
        },
        {
          "linkId": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.extension-flyover",
              "text": "May be used to represent additional information that is not part of the basic definition of the resource. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.modifierExtension-flyover",
              "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 and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Identifier"
            }
          ],
          "linkId": "MedicationDispense.identifier",
          "text": "External identifier",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.identifier-flyover",
              "text": "Identifiers associated with this Medication Dispense 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. They are business identifiers assigned to this resource by the performer or other systems and remain constant as the resource is updated and propagates from server to server. This is a business identifier, not a resource identifier.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.identifier.label",
              "text": "label:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.identifier.system",
              "text": "system:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.identifier.value",
              "text": "value:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.basedOn",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.basedOn-flyover",
              "text": "A plan that is fulfilled in whole or in part by this MedicationDispense.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "CarePlan"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.basedOn.value",
              "text": "Plan that is fulfilled by this dispense",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.partOf",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                  "valueCodeableConcept": {
                    "coding": [
                      {
                        "system": "http://hl7.org/fhir/questionnaire-item-control",
                        "code": "flyover",
                        "display": "Fly-over"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.partOf-flyover",
              "text": "The procedure or medication administration that triggered the dispense. While both a procedure and a medication administration may have triggered the dispense, but it is not expected that multiple procedures and/or multiple medication administrations would be triggers.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Procedure, MedicationAdministration"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.partOf.value",
              "text": "Event that dispense is part of",
              "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": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.status-flyover",
              "text": "A code specifying the state of the set of dispense events. This element is labeled as a modifier because the status contains codes that mark the resource as not currently valid.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.status.value",
              "text": "status",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOrType"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "MedicationDispense.notPerformedReason",
          "text": "Why a dispense was not performed",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.notPerformedReason-flyover",
              "text": "Indicates the reason why a dispense was not performed.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "datetime"
            }
          ],
          "linkId": "MedicationDispense.statusChanged",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.statusChanged-flyover",
              "text": "The date (and maybe time) when the status of the dispense record changed.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.statusChanged.value",
              "text": "When the status changed",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "MedicationDispense.category",
          "text": "Type of medication dispense",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.category-flyover",
              "text": "Indicates the type of medication dispense (for example, drug classification like ATC, where meds would be administered, legal category of the medication.). The category can be used to include where the medication is expected to be consumed or other types of dispenses.  Invariants can be used to bind to different value sets when profiling to bind.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.category.coding",
              "text": "code:",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly"
            },
            {
              "linkId": "MedicationDispense.category.text",
              "text": "text:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "MedicationDispense.medication",
          "text": "What medication was supplied",
          "type": "group",
          "required": true,
          "repeats": false,
          "item": [
            {
              "linkId": "MedicationDispense.medication-display",
              "text": "If only a code is specified, then it needs to be a code for a specific product. If more information is required, then the use of the medication resource is recommended.  For example, if you require form or lot number, then you must reference the Medication resource.",
              "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.medication-flyover",
              "text": "Identifies the medication supplied. This is either a link to a resource representing the details of the medication or a simple attribute carrying a code that identifies the medication from a known list of medications.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.subject",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.subject-flyover",
              "text": "A link to a resource representing the person or the group to whom the medication will be given. SubstanceAdministration-\u003esubject-\u003ePatient.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Patient, Group"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.subject.value",
              "text": "Who the dispense is for",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.encounter",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.encounter-flyover",
              "text": "The encounter that establishes the context for this event.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Encounter"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.encounter.value",
              "text": "Encounter associated with event",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.supportingInformation",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.supportingInformation-flyover",
              "text": "Additional information that supports the medication being dispensed.  For example, there may be requirements that a specific lab test has been completed prior to dispensing or the patient\u0027s weight at the time of dispensing is documented.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Resource"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.supportingInformation.value",
              "text": "Information that supports the dispensing of the medication",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "linkId": "MedicationDispense.performer",
          "text": "Who performed event",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.performer-flyover",
              "text": "Indicates who or what performed the event.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "MedicationDispense.performer.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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.performer.id-flyover",
                  "text": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "MedicationDispense.performer.id.value",
                  "text": "Unique id for inter-element referencing",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "MedicationDispense.performer.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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.performer.extension-flyover",
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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": "MedicationDispense.performer.modifierExtension",
              "text": "Extensions that cannot be ignored even if unrecognized",
              "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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.performer.modifierExtension-flyover",
                  "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 in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). 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": "MedicationDispense.performer.function",
              "text": "Who performed the dispense and what they did",
              "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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.performer.function-flyover",
                  "text": "Distinguishes the type of performer in the dispense.  For example, date enterer, packager, final checker.",
                  "type": "display"
                },
                {
                  "linkId": "MedicationDispense.performer.function.coding",
                  "text": "code:",
                  "type": "coding",
                  "required": false,
                  "repeats": false,
                  "answerConstraint": "optionsOnly"
                },
                {
                  "linkId": "MedicationDispense.performer.function.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": "Reference"
                }
              ],
              "linkId": "MedicationDispense.performer.actor",
              "type": "group",
              "required": true,
              "repeats": true,
              "item": [
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-itemControl",
                      "valueCodeableConcept": {
                        "coding": [
                          {
                            "system": "http://hl7.org/fhir/questionnaire-item-control",
                            "code": "flyover",
                            "display": "Fly-over"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.performer.actor-flyover",
                  "text": "The device, practitioner, etc. who performed the action.  It should be assumed that the actor is the dispenser of the medication.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                      "valueCode": "Practitioner, PractitionerRole, Organization, Patient, Device, RelatedPerson, CareTeam"
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                      "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                    }
                  ],
                  "linkId": "MedicationDispense.performer.actor.value",
                  "text": "Individual who was performing",
                  "type": "reference",
                  "required": false,
                  "repeats": false
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.location-flyover",
              "text": "The principal physical location where the dispense was performed.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Location"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.location.value",
              "text": "Where the dispense occurred",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.authorizingPrescription",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.authorizingPrescription-flyover",
              "text": "Indicates the medication order that is being dispensed against. Maps to basedOn in Event logical model.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "MedicationRequest"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.authorizingPrescription.value",
              "text": "Medication order that authorizes the dispense",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "CodeableConcept"
            }
          ],
          "linkId": "MedicationDispense.type",
          "text": "Trial fill, partial fill, emergency fill, etc",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.type-flyover",
              "text": "Indicates the type of dispensing event that is performed. For example, Trial Fill, Completion of Trial, Partial Fill, Emergency Fill, Samples, etc.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.type.coding",
              "text": "code:",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly"
            },
            {
              "linkId": "MedicationDispense.type.text",
              "text": "text:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Quantity"
            }
          ],
          "linkId": "MedicationDispense.quantity",
          "text": "Amount dispensed",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.quantity-flyover",
              "text": "The amount of medication that has been dispensed. Includes unit of measure.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.quantity.comparator",
              "text": "comp:",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly"
            },
            {
              "linkId": "MedicationDispense.quantity.value",
              "text": "value:",
              "type": "decimal",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.quantity.units",
              "text": "units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.quantity.code",
              "text": "coded units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.quantity.system",
              "text": "units system:",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Quantity"
            }
          ],
          "linkId": "MedicationDispense.daysSupply",
          "text": "Amount of medication expressed as a timing amount",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.daysSupply-flyover",
              "text": "The amount of medication expressed as a timing amount.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.daysSupply.comparator",
              "text": "comp:",
              "type": "coding",
              "required": false,
              "repeats": false,
              "answerConstraint": "optionsOnly"
            },
            {
              "linkId": "MedicationDispense.daysSupply.value",
              "text": "value:",
              "type": "decimal",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.daysSupply.units",
              "text": "units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.daysSupply.code",
              "text": "coded units:",
              "type": "string",
              "required": false,
              "repeats": false
            },
            {
              "linkId": "MedicationDispense.daysSupply.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": "datetime"
            }
          ],
          "linkId": "MedicationDispense.recorded",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.recorded-flyover",
              "text": "The date (and maybe time) when the dispense activity started if whenPrepared or whenHandedOver is not populated.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.recorded.value",
              "text": "When the recording of the dispense started",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "datetime"
            }
          ],
          "linkId": "MedicationDispense.whenPrepared",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.whenPrepared-flyover",
              "text": "The time when the dispensed product was packaged and reviewed.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.whenPrepared.value",
              "text": "When product was packaged and reviewed",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "datetime"
            }
          ],
          "linkId": "MedicationDispense.whenHandedOver",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.whenHandedOver-flyover",
              "text": "The time the dispensed product was provided to the patient or their representative.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.whenHandedOver.value",
              "text": "When product was given out",
              "type": "dateTime",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.destination",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.destination-flyover",
              "text": "Identification of the facility/location where the medication was/will be shipped to, as part of the dispense event.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Location"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.destination.value",
              "text": "Where the medication was/will be sent",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.receiver",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.receiver-flyover",
              "text": "Identifies the person who picked up the medication or the location of where the medication was delivered.  This will usually be a patient or their caregiver, but some cases exist where it can be a healthcare professional or a location.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Patient, Practitioner, RelatedPerson, Location, PractitionerRole"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.receiver.value",
              "text": "Who collected the medication or where the medication was delivered",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Annotation"
            }
          ],
          "linkId": "MedicationDispense.note",
          "text": "Information about the dispense",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.note-flyover",
              "text": "Extra information about the dispense that could not be conveyed in the other attributes.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            },
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "string"
            }
          ],
          "linkId": "MedicationDispense.renderedDosageInstruction",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.renderedDosageInstruction-flyover",
              "text": "The full representation of the dose of the medication included in all dosage instructions.  To be used when multiple dosage instructions are included to represent complex dosing such as increasing or tapering doses. The content of the renderedDosageInstructions must not be different than the dose represented in the dosageInstruction content.",
              "type": "display"
            },
            {
              "linkId": "MedicationDispense.renderedDosageInstruction.value",
              "text": "Full representation of the dosage instructions",
              "type": "string",
              "required": false,
              "repeats": false
            }
          ]
        },
        {
          "linkId": "MedicationDispense.dosageInstruction",
          "text": "How the medication is to be used by the patient or administered by the caregiver",
          "type": "group",
          "required": false,
          "repeats": true,
          "item": [
            {
              "linkId": "MedicationDispense.dosageInstruction-display",
              "text": "When the dose or rate is intended to change over the entire administration period (e.g. Tapering dose prescriptions), multiple instances of dosage instructions will need to be supplied to convey the different doses/rates.\rThe pharmacist reviews the medication order prior to dispense and updates the dosageInstruction based on the actual product being dispensed.",
              "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.dosageInstruction-flyover",
              "text": "Indicates how the medication is to be used by the patient.",
              "type": "display"
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
              "valueInteger": 1
            }
          ],
          "linkId": "MedicationDispense.substitution",
          "text": "Whether a substitution was performed on the dispense",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.substitution-flyover",
              "text": "Indicates whether or not substitution was made as part of the dispense.  In some cases, substitution will be expected but does not happen, in other cases substitution is not expected but does happen.  This block explains what substitution did or did not happen and why.  If nothing is specified, substitution was not done.",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "string"
                }
              ],
              "linkId": "MedicationDispense.substitution.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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.id-flyover",
                  "text": "Unique id for the element within a resource (for internal references). This may be any string value that does not contain spaces.",
                  "type": "display"
                },
                {
                  "linkId": "MedicationDispense.substitution.id.value",
                  "text": "Unique id for inter-element referencing",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "linkId": "MedicationDispense.substitution.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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.extension-flyover",
                  "text": "May be used to represent additional information that is not part of the basic definition of the element. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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": "MedicationDispense.substitution.modifierExtension",
              "text": "Extensions that cannot be ignored even if unrecognized",
              "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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.modifierExtension-flyover",
                  "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 in which it is contained and/or the understanding of the containing element\u0027s descendants. Usually modifier elements provide negation or qualification. To make the use of extensions safe and managable, there is a strict set of governance applied to the definition and use of extensions. Though any implementer can 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.\n\nModifier extensions SHALL NOT change the meaning of any elements on Resource or DomainResource (including cannot change the meaning of modifierExtension itself). There can be no stigma associated with the use of extensions by any application, project, or standard - regardless of the institution or jurisdiction that uses or defines the extensions.  The use of extensions is what allows the FHIR specification to retain a core level of simplicity for everyone.",
                  "type": "display"
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-minOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "boolean"
                }
              ],
              "linkId": "MedicationDispense.substitution.wasSubstituted",
              "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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.wasSubstituted-flyover",
                  "text": "True if the dispenser dispensed a different drug or product from what was prescribed.",
                  "type": "display"
                },
                {
                  "linkId": "MedicationDispense.substitution.wasSubstituted.value",
                  "text": "Whether a substitution was or was not performed on the dispense",
                  "type": "boolean",
                  "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": "MedicationDispense.substitution.type",
              "text": "Code signifying whether a different drug was dispensed from what was prescribed",
              "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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.type-flyover",
                  "text": "A code signifying whether a different drug was dispensed from what was prescribed.",
                  "type": "display"
                },
                {
                  "linkId": "MedicationDispense.substitution.type.coding",
                  "text": "code:",
                  "type": "coding",
                  "required": false,
                  "repeats": false,
                  "answerConstraint": "optionsOnly"
                },
                {
                  "linkId": "MedicationDispense.substitution.type.text",
                  "text": "text:",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "CodeableConcept"
                }
              ],
              "linkId": "MedicationDispense.substitution.reason",
              "text": "Why was substitution made",
              "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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.reason-flyover",
                  "text": "Indicates the reason for the substitution (or lack of substitution) from what was prescribed.",
                  "type": "display"
                },
                {
                  "linkId": "MedicationDispense.substitution.reason.coding",
                  "text": "code:",
                  "type": "coding",
                  "required": false,
                  "repeats": false,
                  "answerConstraint": "optionsOnly"
                },
                {
                  "linkId": "MedicationDispense.substitution.reason.text",
                  "text": "text:",
                  "type": "string",
                  "required": false,
                  "repeats": false
                }
              ]
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
                  "valueInteger": 1
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
                  "valueString": "Reference"
                }
              ],
              "linkId": "MedicationDispense.substitution.responsibleParty",
              "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"
                          }
                        ]
                      }
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.responsibleParty-flyover",
                  "text": "The person or organization that has primary responsibility for the substitution.",
                  "type": "display"
                },
                {
                  "extension": [
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                      "valueCode": "Practitioner, PractitionerRole, Organization"
                    },
                    {
                      "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                      "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                    }
                  ],
                  "linkId": "MedicationDispense.substitution.responsibleParty.value",
                  "text": "Who is responsible for the substitution",
                  "type": "reference",
                  "required": false,
                  "repeats": false
                }
              ]
            }
          ]
        },
        {
          "extension": [
            {
              "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
              "valueString": "Reference"
            }
          ],
          "linkId": "MedicationDispense.eventHistory",
          "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"
                      }
                    ]
                  }
                }
              ],
              "linkId": "MedicationDispense.eventHistory-flyover",
              "text": "A summary of the events of interest that have occurred, such as when the dispense was verified. This might not include provenances for all versions of the request – only those deemed “relevant” or important. This SHALL NOT include the Provenance associated with this current version of the resource. (If that provenance is deemed to be a “relevant” change, it will need to be added as part of a later update. Until then, it can be queried directly as the Provenance that points to this version using _revinclude All Provenances should have some historical version of this Request as their subject.).",
              "type": "display"
            },
            {
              "extension": [
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
                  "valueCode": "Provenance"
                },
                {
                  "url": "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
                  "valueString": "subject\u003d$subj\u0026patient\u003d$subj\u0026encounter\u003d$encounter"
                }
              ],
              "linkId": "MedicationDispense.eventHistory.value",
              "text": "A list of relevant lifecycle events",
              "type": "reference",
              "required": false,
              "repeats": false
            }
          ]
        }
      ]
    }
  ]
}