Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Could
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:
-
Development:
Description
The PatientFormController throws an error "Too many reasons for exit" in the referenceData method even if the patient has never been exited from care. The PatientFormController should check for an empty set as well as for null when looking to see if the patient has any Obs with Concept.valueCoded = GlobalProperty.get('concept.reasonExitedCare')
PatientFormController line 601
That is because the Service will never return null on this method:
ObsServiceImpl line 562