Class QuestionnaireResponse

All Implemented Interfaces:
ca.uhn.fhir.model.api.IElement, Serializable, org.hl7.fhir.instance.model.api.IAnyResource, org.hl7.fhir.instance.model.api.IBase, org.hl7.fhir.instance.model.api.IBaseHasExtensions, org.hl7.fhir.instance.model.api.IBaseHasModifierExtensions, org.hl7.fhir.instance.model.api.IBaseResource, org.hl7.fhir.instance.model.api.IDomainResource

A structured set of questions and their answers. The questions are ordered and grouped into coherent subsets, corresponding to the structure of the grouping of the questionnaire being responded to.
See Also:
  • Field Details

    • identifier

      A business identifier assigned to a particular completed (or partially completed) questionnaire.
    • basedOn

      protected List<Reference> basedOn
      The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ServiceRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.
    • partOf

      protected List<Reference> partOf
      A procedure or observation that this questionnaire was performed as part of the execution of. For example, the surgery a checklist was executed as part of.
    • questionnaire

      The Questionnaire that defines and organizes the questions for which answers are being provided.
    • status

      The position of the questionnaire response within its overall lifecycle.
    • subject

      protected Reference subject
      The subject of the questionnaire response. This could be a patient, organization, practitioner, device, etc. This is who/what the answers apply to, but is not necessarily the source of information.
    • encounter

      protected Reference encounter
      The Encounter during which this questionnaire response was created or to which the creation of this record is tightly associated.
    • authored

      The date and/or time that this questionnaire response was last modified by the user - e.g. changing answers or revising status.
    • author

      protected Reference author
      The individual or device that received the answers to the questions in the QuestionnaireResponse and recorded them in the system.
    • source

      protected Reference source
      The individual or device that answered the questions about the subject.
    • item

      A group or question item from the original questionnaire for which answers are provided.
    • SP_AUTHOR

      public static final String SP_AUTHOR
      Search parameter: author

      Description: The author of the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.author

      See Also:
    • AUTHOR

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam AUTHOR
      Fluent Client search parameter constant for author

      Description: The author of the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.author

    • INCLUDE_AUTHOR

      public static final ca.uhn.fhir.model.api.Include INCLUDE_AUTHOR
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:author".
    • SP_AUTHORED

      public static final String SP_AUTHORED
      Search parameter: authored

      Description: When the questionnaire response was last changed
      Type: date
      Path: QuestionnaireResponse.authored

      See Also:
    • AUTHORED

      public static final ca.uhn.fhir.rest.gclient.DateClientParam AUTHORED
      Fluent Client search parameter constant for authored

      Description: When the questionnaire response was last changed
      Type: date
      Path: QuestionnaireResponse.authored

    • SP_BASED_ON

      public static final String SP_BASED_ON
      Search parameter: based-on

      Description: Plan/proposal/order fulfilled by this questionnaire response
      Type: reference
      Path: QuestionnaireResponse.basedOn

      See Also:
    • BASED_ON

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam BASED_ON
      Fluent Client search parameter constant for based-on

      Description: Plan/proposal/order fulfilled by this questionnaire response
      Type: reference
      Path: QuestionnaireResponse.basedOn

    • INCLUDE_BASED_ON

      public static final ca.uhn.fhir.model.api.Include INCLUDE_BASED_ON
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:based-on".
    • SP_ENCOUNTER

      public static final String SP_ENCOUNTER
      Search parameter: encounter

      Description: Encounter associated with the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.encounter

      See Also:
    • ENCOUNTER

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ENCOUNTER
      Fluent Client search parameter constant for encounter

      Description: Encounter associated with the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.encounter

    • INCLUDE_ENCOUNTER

      public static final ca.uhn.fhir.model.api.Include INCLUDE_ENCOUNTER
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:encounter".
    • SP_IDENTIFIER

      public static final String SP_IDENTIFIER
      Search parameter: identifier

      Description: The unique identifier for the questionnaire response
      Type: token
      Path: QuestionnaireResponse.identifier

      See Also:
    • IDENTIFIER

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam IDENTIFIER
      Fluent Client search parameter constant for identifier

      Description: The unique identifier for the questionnaire response
      Type: token
      Path: QuestionnaireResponse.identifier

    • SP_ITEM_SUBJECT

      public static final String SP_ITEM_SUBJECT
      Search parameter: item-subject

      Description: Allows searching for QuestionnaireResponses by item value where the item has isSubject=true
      Type: reference
      Path: QuestionnaireResponse.item.where(extension('http://hl7.org/fhir/StructureDefinition/questionnaireresponse-isSubject').exists()).answer.value.ofType(Reference)

      See Also:
    • ITEM_SUBJECT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam ITEM_SUBJECT
      Fluent Client search parameter constant for item-subject

      Description: Allows searching for QuestionnaireResponses by item value where the item has isSubject=true
      Type: reference
      Path: QuestionnaireResponse.item.where(extension('http://hl7.org/fhir/StructureDefinition/questionnaireresponse-isSubject').exists()).answer.value.ofType(Reference)

    • INCLUDE_ITEM_SUBJECT

      public static final ca.uhn.fhir.model.api.Include INCLUDE_ITEM_SUBJECT
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:item-subject".
    • SP_PART_OF

      public static final String SP_PART_OF
      Search parameter: part-of

      Description: Procedure or observation this questionnaire response was performed as a part of
      Type: reference
      Path: QuestionnaireResponse.partOf

      See Also:
    • PART_OF

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PART_OF
      Fluent Client search parameter constant for part-of

      Description: Procedure or observation this questionnaire response was performed as a part of
      Type: reference
      Path: QuestionnaireResponse.partOf

    • INCLUDE_PART_OF

      public static final ca.uhn.fhir.model.api.Include INCLUDE_PART_OF
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:part-of".
    • SP_PATIENT

      public static final String SP_PATIENT
      Search parameter: patient

      Description: The patient that is the subject of the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.subject.where(resolve() is Patient)

      See Also:
    • PATIENT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam PATIENT
      Fluent Client search parameter constant for patient

      Description: The patient that is the subject of the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.subject.where(resolve() is Patient)

    • INCLUDE_PATIENT

      public static final ca.uhn.fhir.model.api.Include INCLUDE_PATIENT
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:patient".
    • SP_QUESTIONNAIRE

      public static final String SP_QUESTIONNAIRE
      Search parameter: questionnaire

      Description: The questionnaire the answers are provided for
      Type: reference
      Path: QuestionnaireResponse.questionnaire

      See Also:
    • QUESTIONNAIRE

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam QUESTIONNAIRE
      Fluent Client search parameter constant for questionnaire

      Description: The questionnaire the answers are provided for
      Type: reference
      Path: QuestionnaireResponse.questionnaire

    • INCLUDE_QUESTIONNAIRE

      public static final ca.uhn.fhir.model.api.Include INCLUDE_QUESTIONNAIRE
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:questionnaire".
    • SP_SOURCE

      public static final String SP_SOURCE
      Search parameter: source

      Description: The individual providing the information reflected in the questionnaire respose
      Type: reference
      Path: QuestionnaireResponse.source

      See Also:
    • SOURCE

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SOURCE
      Fluent Client search parameter constant for source

      Description: The individual providing the information reflected in the questionnaire respose
      Type: reference
      Path: QuestionnaireResponse.source

    • INCLUDE_SOURCE

      public static final ca.uhn.fhir.model.api.Include INCLUDE_SOURCE
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:source".
    • SP_STATUS

      public static final String SP_STATUS
      Search parameter: status

      Description: The status of the questionnaire response
      Type: token
      Path: QuestionnaireResponse.status

      See Also:
    • STATUS

      public static final ca.uhn.fhir.rest.gclient.TokenClientParam STATUS
      Fluent Client search parameter constant for status

      Description: The status of the questionnaire response
      Type: token
      Path: QuestionnaireResponse.status

    • SP_SUBJECT

      public static final String SP_SUBJECT
      Search parameter: subject

      Description: The subject of the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.subject

      See Also:
    • SUBJECT

      public static final ca.uhn.fhir.rest.gclient.ReferenceClientParam SUBJECT
      Fluent Client search parameter constant for subject

      Description: The subject of the questionnaire response
      Type: reference
      Path: QuestionnaireResponse.subject

    • INCLUDE_SUBJECT

      public static final ca.uhn.fhir.model.api.Include INCLUDE_SUBJECT
      Constant for fluent queries to be used to add include statements. Specifies the path value of "QuestionnaireResponse:subject".
  • Constructor Details

  • Method Details