Hennepin-County / MAXIS-scripts

6 stars 1 forks source link

#892 NOTES - INTERVIEW, Add emergency questions #2054

Closed MDR22 closed 3 weeks ago

MDR22 commented 1 month ago

Added emergency questions to script:

MDR22 commented 1 month ago

Works well! - since the EMER error handling is only applicable if the EMER box being checked at the beginning of the script, wondering if we only want the EMER Q tab to only show up when the EMER box is checked, or do we always want it available?

My understanding is that we want the questions to be required if the EMER box is checked, but otherwise they are optional so that they still appear if the resident reports an emergency during the interview.

MDR22 commented 1 month ago

Combobox for emergency_type should have "Select or type..." When typing in my own answer to that field, it loses it when going to different dialog, and then get the must complete questions error. Perhaps remove that from required fields, so that if the "emer" doesn't fit within program policy we can explain it in the discussion box.

Switched combobox to have 'Select or type' option. Resolved issue of script resetting custom combobox entry when navigating away from EMER Q dialog.