cardea.fhir.QuestionnaireResponse

class cardea.fhir.QuestionnaireResponse(dict_values=None)

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.

Parameters
  • resourceType – This is a QuestionnaireResponse resource

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

  • basedOn – The order, proposal or plan that is fulfilled in whole or in part by this QuestionnaireResponse. For example, a ProcedureRequest seeking an intake assessment or a decision support recommendation to assess for post-partum depression.

  • parent – 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 – 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.

  • context – The encounter or episode of care with primary association to the questionnaire response.

  • authored – The date and/or time that this set of answers were last changed.

  • author – Person who received the answers to the questions in the QuestionnaireResponse and recorded them in the system.

  • source – The person who answered the questions about the subject.

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

__init__(dict_values=None)

Initialize self. See help(type(self)) for accurate signature.

Methods

__init__([dict_values])

Initialize self.

assert_type()

Checks class values follow set possible enumerations.

get_dataframe()

Returns dataframe from class attribute values.

get_eligible_relationships()

Returns class relationships for attributes that are used.

get_id()

Returns fhir class identifier.

get_relationships()

Returns class relationships.

set_attributes(dict_values)

Sets values to class attributes.