Additional HIPAA Releases + point-of-use questionnaire selection #67
Loading…
Reference in a new issue
No description provided.
Delete branch "additional-hipaa-releases"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Adds an "Additional HIPAA Releases" capability and reworks how questionnaires are chosen for a client.
New
contact-listquestion kindA reusable questionnaire question kind that aggregates one or more selected contacts into a single variable (each contact's chosen property joined with
"; "). Backs the HIPAA template's Additional HIPAA Releases list.ContactBindinggains an optionalcontact_idslist (serde-default, so existing client.lilyfiles stay compatible).resolve_contact_variablesaggregates the selected contacts into the target variable and setsHas {role}, so an empty list self-prunes the document line.ContactListPicker: an ordered "+ Add" list of contact selectors (like the Client Contacts section); already-chosen contacts are excluded from the other rows.QuestionnaireEditorgains add/edit support for the kind.Point-of-use questionnaire selection
Replaces the global "active questionnaire" with a per-client choice, the way templates already work.
.lilyat creation.active_questionnaire_idsetting, theset_active_questionnairecommand, and the related store actions.TemplateEditor's variable-context dropdown defaults to the first questionnaire.make typecheck,make lint, andmake test(95 tests) all pass.