[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Health-dev] [bug #46009] Make specialty field required and cascade in h
[Health-dev] [bug #46009] Make specialty field required and cascade in hp_specialty
Sun, 20 Sep 2015 16:32:30 +0000
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36
Summary: Make specialty field required and cascade in
Project: GNU Health
Submitted by: marcdm
Submitted on: Sun 20 Sep 2015 16:32:29 GMT
Category: Programming / Tracebacks
Severity: 3 - Normal
Item Group: None
Assigned to: None
Discussion Lock: Any
The specialty field is optional on HealthProfessionalSpecialty. This can lead
to accidental records with this value as null. This causes an error in the
display and makes all other specialties of this HealthProf show blank.
It also causes the "Specialties by health professional" report to generate an
error and come up blank.
To reproduce the error, click the icon to add a specialty for a Health
Professional. Then just click Ok without selecting a specialty. Then save the
health professional. The same will happen if you select one, then click "New"
The patch attached makes both the name and specialty fields required and
It also introduces a constraint that makes name + specialty unique. This is
done so the same specialty cannot be selected twice.
Date: Sun 20 Sep 2015 16:32:29 GMT Name: hp_specialty-001.patch Size: 1kB
Reply to this item at:
Message sent via/by Savannah
|[Prev in Thread]
||[Next in Thread]|
- [Health-dev] [bug #46009] Make specialty field required and cascade in hp_specialty,
Marc DM <=