Release 5

This page is part of the FHIR Specification (v5.0.0: R5 - STU). This is the current published version. For a full list of available versions, see the Directory of published versions . Page versions: R5 R4B R4 R3 R2

Example Questionnaire/qgen-EpisodeOfCare1 (JSON)

Patient Administration Work GroupMaturity Level: N/AStandards Status: InformativeCompartments: Patient, Practitioner

Raw JSON (canonical form + also see JSON Format Specification)

Generated Questionnaire for EpisodeOfCare

{
  "resourceType" : "Questionnaire",
  "id" : "qgen-EpisodeOfCare1",
  "url" : "http://hl7.org/fhir/Questionnaire/qgen-EpisodeOfCare1",
  "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 (Patient Administration)",
  "item" : [{
    "linkId" : "EpisodeOfCare",
    "text" : "An association of a Patient with an Organization and  Healthcare Provider(s) for a period of time that the Organization assumes some level of responsibility",
    "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" : "EpisodeOfCare-flyover",
      "text" : "An association between a patient and an organization / healthcare provider(s) during which time encounters may occur. The managing organization assumes a level of responsibility for the patient during this time.",
      "type" : "display"
    },
    {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
        "valueInteger" : 1
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
        "valueString" : "string"
      }],
      "linkId" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.language.value",
        "text" : "language",
        "type" : "coding",
        "required" : false,
        "repeats" : false,
        "answerConstraint" : "optionsOrType"
      }]
    },
    {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
        "valueInteger" : 1
      }],
      "linkId" : "EpisodeOfCare.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" : "EpisodeOfCare.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=1 elements are satisfied).  This may be necessary for data from legacy systems where information is captured as a \"text blob\" or where text is additionally entered raw or narrated and encoded information is added later.",
        "type" : "display"
      }]
    },
    {
      "linkId" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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" : "EpisodeOfCare.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's 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" : "EpisodeOfCare.identifier",
      "text" : "Business Identifier(s) relevant for this EpisodeOfCare",
      "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" : "EpisodeOfCare.identifier-flyover",
        "text" : "The EpisodeOfCare may be known by different identifiers for different contexts of use, such as when an external agency is tracking the Episode for funding purposes.",
        "type" : "display"
      },
      {
        "linkId" : "EpisodeOfCare.identifier.label",
        "text" : "label:",
        "type" : "string",
        "required" : false,
        "repeats" : false
      },
      {
        "linkId" : "EpisodeOfCare.identifier.system",
        "text" : "system:",
        "type" : "string",
        "required" : false,
        "repeats" : false
      },
      {
        "linkId" : "EpisodeOfCare.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
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
        "valueString" : "code"
      }],
      "linkId" : "EpisodeOfCare.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" : "EpisodeOfCare.status-flyover",
        "text" : "planned | waitlist | active | onhold | finished | cancelled. This element is labeled as a modifier because the status contains codes that mark the episode as not currently valid.",
        "type" : "display"
      },
      {
        "linkId" : "EpisodeOfCare.status.value",
        "text" : "status",
        "type" : "coding",
        "required" : false,
        "repeats" : false,
        "answerConstraint" : "optionsOrType"
      }]
    },
    {
      "linkId" : "EpisodeOfCare.statusHistory",
      "text" : "Past list of status codes (the current status may be included to cover the start date of the 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"
            }]
          }
        }],
        "linkId" : "EpisodeOfCare.statusHistory-flyover",
        "text" : "The history of statuses that the EpisodeOfCare has been through (without requiring processing the history of the resource).",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
          "valueInteger" : 1
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
          "valueString" : "string"
        }],
        "linkId" : "EpisodeOfCare.statusHistory.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" : "EpisodeOfCare.statusHistory.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" : "EpisodeOfCare.statusHistory.id.value",
          "text" : "Unique id for inter-element referencing",
          "type" : "string",
          "required" : false,
          "repeats" : false
        }]
      },
      {
        "linkId" : "EpisodeOfCare.statusHistory.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" : "EpisodeOfCare.statusHistory.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" : "EpisodeOfCare.statusHistory.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" : "EpisodeOfCare.statusHistory.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's 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" : "code"
        }],
        "linkId" : "EpisodeOfCare.statusHistory.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" : "EpisodeOfCare.statusHistory.status-flyover",
          "text" : "planned | waitlist | active | onhold | finished | cancelled.",
          "type" : "display"
        },
        {
          "linkId" : "EpisodeOfCare.statusHistory.status.value",
          "text" : "status",
          "type" : "coding",
          "required" : false,
          "repeats" : false,
          "answerConstraint" : "optionsOrType"
        }]
      },
      {
        "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" : "Period"
        }],
        "linkId" : "EpisodeOfCare.statusHistory.period",
        "text" : "Duration the EpisodeOfCare was in the specified 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" : "EpisodeOfCare.statusHistory.period-flyover",
          "text" : "The period during this EpisodeOfCare that the specific status applied.",
          "type" : "display"
        },
        {
          "linkId" : "EpisodeOfCare.statusHistory.period.low",
          "text" : "start:",
          "type" : "dateTime",
          "required" : false,
          "repeats" : false
        },
        {
          "linkId" : "EpisodeOfCare.statusHistory.period.end",
          "text" : "end:",
          "type" : "dateTime",
          "required" : false,
          "repeats" : false
        }]
      }]
    },
    {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
        "valueString" : "CodeableConcept"
      }],
      "linkId" : "EpisodeOfCare.type",
      "text" : "Type/class  - e.g. specialist referral, disease management",
      "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" : "EpisodeOfCare.type-flyover",
        "text" : "A classification of the type of episode of care; e.g. specialist referral, disease management, type of funded care. The type can be very important in processing as this could be used in determining if the EpisodeOfCare is relevant to specific government reporting, or other types of classifications.",
        "type" : "display"
      },
      {
        "linkId" : "EpisodeOfCare.type.coding",
        "text" : "code:",
        "type" : "coding",
        "required" : false,
        "repeats" : false,
        "answerConstraint" : "optionsOnly"
      },
      {
        "linkId" : "EpisodeOfCare.type.text",
        "text" : "text:",
        "type" : "string",
        "required" : false,
        "repeats" : false
      }]
    },
    {
      "linkId" : "EpisodeOfCare.reason",
      "text" : "The list of medical reasons that are expected to be addressed during the episode of care",
      "type" : "group",
      "required" : false,
      "repeats" : true,
      "item" : [{
        "linkId" : "EpisodeOfCare.reason-display",
        "text" : "The reason communicates what medical problem the patient has that should be addressed during the episode of care.  This reason could be patient reported complaint, a clinical indication that was determined in a previous encounter or episode of care, or some planned care such as an immunization recommendation.  In the case where you have a primary reason, but are expecting to also address other problems, you can list the primary reason with a use code of 'Chief Complaint', while the other problems being addressed would have a use code of 'Reason for Visit'.\r\rExamples:\r * pregnancy would use HealthcareService or a coding as the reason\r * patient home monitoring could use Condition as the reason",
        "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" : "EpisodeOfCare.reason-flyover",
        "text" : "The list of medical reasons that are expected to be addressed during the episode of care.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
          "valueInteger" : 1
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
          "valueString" : "string"
        }],
        "linkId" : "EpisodeOfCare.reason.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" : "EpisodeOfCare.reason.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" : "EpisodeOfCare.reason.id.value",
          "text" : "Unique id for inter-element referencing",
          "type" : "string",
          "required" : false,
          "repeats" : false
        }]
      },
      {
        "linkId" : "EpisodeOfCare.reason.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" : "EpisodeOfCare.reason.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" : "EpisodeOfCare.reason.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" : "EpisodeOfCare.reason.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's 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" : "EpisodeOfCare.reason.use",
        "text" : "What the reason value should be used for/as",
        "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" : "EpisodeOfCare.reason.use-flyover",
          "text" : "What the reason value should be used as e.g. Chief Complaint, Health Concern, Health Maintenance (including screening).",
          "type" : "display"
        },
        {
          "linkId" : "EpisodeOfCare.reason.use.coding",
          "text" : "code:",
          "type" : "coding",
          "required" : false,
          "repeats" : false,
          "answerConstraint" : "optionsOnly"
        },
        {
          "linkId" : "EpisodeOfCare.reason.use.text",
          "text" : "text:",
          "type" : "string",
          "required" : false,
          "repeats" : false
        }]
      },
      {
        "linkId" : "EpisodeOfCare.reason.value",
        "text" : "Medical reason to be addressed",
        "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" : "EpisodeOfCare.reason.value-flyover",
          "text" : "The medical reason that is expected to be addressed during the episode of care, expressed as a text, code or a reference to another resource.",
          "type" : "display"
        }]
      }]
    },
    {
      "linkId" : "EpisodeOfCare.diagnosis",
      "text" : "The list of medical conditions that were addressed during the episode of care",
      "type" : "group",
      "required" : false,
      "repeats" : true,
      "item" : [{
        "linkId" : "EpisodeOfCare.diagnosis-display",
        "text" : "The diagnosis communicates what medical conditions were actually addressed during the episode of care.  If a diagnosis was provided as a reason, and was treated during the episode of care, it may be listed in both EpisodeOfCare.reason and EpisodeOfCare.diagnosis.\r\rDiagnoses related to billing can be documented on the Account resources which supports ranking for the purpose of reimbursement.",
        "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" : "EpisodeOfCare.diagnosis-flyover",
        "text" : "The list of medical conditions that were addressed during the episode of care.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
          "valueInteger" : 1
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
          "valueString" : "string"
        }],
        "linkId" : "EpisodeOfCare.diagnosis.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" : "EpisodeOfCare.diagnosis.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" : "EpisodeOfCare.diagnosis.id.value",
          "text" : "Unique id for inter-element referencing",
          "type" : "string",
          "required" : false,
          "repeats" : false
        }]
      },
      {
        "linkId" : "EpisodeOfCare.diagnosis.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" : "EpisodeOfCare.diagnosis.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" : "EpisodeOfCare.diagnosis.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" : "EpisodeOfCare.diagnosis.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's 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"
        }]
      },
      {
        "linkId" : "EpisodeOfCare.diagnosis.condition",
        "text" : "The medical condition that was addressed during the episode of care",
        "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" : "EpisodeOfCare.diagnosis.condition-flyover",
          "text" : "The medical condition that was addressed during the episode of care, expressed as a text, code or a reference to another resource.",
          "type" : "display"
        }]
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
          "valueInteger" : 1
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
          "valueString" : "CodeableConcept"
        }],
        "linkId" : "EpisodeOfCare.diagnosis.use",
        "text" : "Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …)",
        "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" : "EpisodeOfCare.diagnosis.use-flyover",
          "text" : "Role that this diagnosis has within the episode of care (e.g. admission, billing, discharge …).",
          "type" : "display"
        },
        {
          "linkId" : "EpisodeOfCare.diagnosis.use.coding",
          "text" : "code:",
          "type" : "coding",
          "required" : false,
          "repeats" : false,
          "answerConstraint" : "optionsOnly"
        },
        {
          "linkId" : "EpisodeOfCare.diagnosis.use.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" : "EpisodeOfCare.patient",
      "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" : "EpisodeOfCare.patient-flyover",
        "text" : "The patient who is the focus of this episode of care.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
          "valueCode" : "Patient"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
          "valueString" : "subject=$subj&patient=$subj&encounter=$encounter"
        }],
        "linkId" : "EpisodeOfCare.patient.value",
        "text" : "The patient who is the focus of this episode of care",
        "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" : "EpisodeOfCare.managingOrganization",
      "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" : "EpisodeOfCare.managingOrganization-flyover",
        "text" : "The organization that has assumed the specific responsibilities for care coordination, care delivery, or other services for the specified duration. If multiple organizations are involved in care delivery, the care teams from those organizations would be represented in EpisodeOfCare.team, while the primary organization managing the care would be listed in EpisodeOfCare.managingOrganization.   Other organizations may have their own EpisodeOfCare for tracking their activities.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
          "valueCode" : "Organization"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
          "valueString" : "subject=$subj&patient=$subj&encounter=$encounter"
        }],
        "linkId" : "EpisodeOfCare.managingOrganization.value",
        "text" : "Organization that assumes responsibility for care coordination",
        "type" : "reference",
        "required" : false,
        "repeats" : false
      }]
    },
    {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-maxOccurs",
        "valueInteger" : 1
      },
      {
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
        "valueString" : "Period"
      }],
      "linkId" : "EpisodeOfCare.period",
      "text" : "Interval during responsibility is assumed",
      "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" : "EpisodeOfCare.period-flyover",
        "text" : "The interval during which the managing organization assumes the defined responsibility.",
        "type" : "display"
      },
      {
        "linkId" : "EpisodeOfCare.period.low",
        "text" : "start:",
        "type" : "dateTime",
        "required" : false,
        "repeats" : false
      },
      {
        "linkId" : "EpisodeOfCare.period.end",
        "text" : "end:",
        "type" : "dateTime",
        "required" : false,
        "repeats" : false
      }]
    },
    {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
        "valueString" : "Reference"
      }],
      "linkId" : "EpisodeOfCare.referralRequest",
      "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" : "EpisodeOfCare.referralRequest-flyover",
        "text" : "Referral Request(s) that are fulfilled by this EpisodeOfCare, incoming referrals.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
          "valueCode" : "ServiceRequest"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
          "valueString" : "subject=$subj&patient=$subj&encounter=$encounter"
        }],
        "linkId" : "EpisodeOfCare.referralRequest.value",
        "text" : "Originating Referral Request(s)",
        "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" : "EpisodeOfCare.careManager",
      "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" : "EpisodeOfCare.careManager-flyover",
        "text" : "The practitioner that is the care manager/care coordinator for this patient.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
          "valueCode" : "Practitioner, PractitionerRole"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
          "valueString" : "subject=$subj&patient=$subj&encounter=$encounter"
        }],
        "linkId" : "EpisodeOfCare.careManager.value",
        "text" : "Care manager/care coordinator for the patient",
        "type" : "reference",
        "required" : false,
        "repeats" : false
      }]
    },
    {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
        "valueString" : "Reference"
      }],
      "linkId" : "EpisodeOfCare.careTeam",
      "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" : "EpisodeOfCare.careTeam-flyover",
        "text" : "The list of practitioners that may be facilitating this episode of care for specific purposes.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
          "valueCode" : "CareTeam"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
          "valueString" : "subject=$subj&patient=$subj&encounter=$encounter"
        }],
        "linkId" : "EpisodeOfCare.careTeam.value",
        "text" : "Other practitioners facilitating this episode of care",
        "type" : "reference",
        "required" : false,
        "repeats" : false
      }]
    },
    {
      "extension" : [{
        "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-fhirType",
        "valueString" : "Reference"
      }],
      "linkId" : "EpisodeOfCare.account",
      "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" : "EpisodeOfCare.account-flyover",
        "text" : "The set of accounts that may be used for billing for this EpisodeOfCare. The billing system may choose to allocate billable items associated with the EpisodeOfCare to different referenced Accounts based on internal business rules.",
        "type" : "display"
      },
      {
        "extension" : [{
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceResource",
          "valueCode" : "Account"
        },
        {
          "url" : "http://hl7.org/fhir/StructureDefinition/questionnaire-referenceFilter",
          "valueString" : "subject=$subj&patient=$subj&encounter=$encounter"
        }],
        "linkId" : "EpisodeOfCare.account.value",
        "text" : "The set of accounts that may be used for billing for this EpisodeOfCare",
        "type" : "reference",
        "required" : false,
        "repeats" : false
      }]
    }]
  }]
}

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