models.py

This module contains all the quality of healthcare (QOHC) questionnaire models

Class definitions:

class apps.questionnaire.qohc.models.QOHCQuestionnaire(*args, **kwargs)[source]

Bases: apps.questionnaire.models.QuestionnaireBase

Quality of health care questionnaire

Parameters:
  • id (AutoField) –
  • request_step_id (ForeignKey to RequestStep) –
  • not_fill_in (CharField) – choices=[yes, no]
  • hc_satisfaction_score (IntegerField) – choices=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
  • serious_score (CharField) – choices=[not_at_all, a_bit, largely, yes_very]
  • friendly_score (CharField) – choices=[not_at_all, a_bit, largely, yes_very]
  • information_score (CharField) – choices=[not_at_all, a_bit, largely, yes_very]
  • rc_satisfation_score (IntegerField) – choices=[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
graphic_score_display
Returns:
The graphic score display to use for the graphic
display_template
Returns:
The template path & name to be used for showing the details page for the filled in data for this questionnaire.