Affects Version/s: HTML Form Entry 1.7.2
Fix Version/s: HTML Form Entry 1.7.3
Editing a patient while creating a new encounter displays validation error "Identifier XXXXXX already in use by another patient".
After refactoring behaviour changed and an exception "This form is not going to create an Patient" is thrown.
To reproduce this:
- create a new HTMLFormEntry - see file attached
- open patient dashboard e.g. http://localhost:8080/openmrs/patientDashboard.form?patientId=1679&phrase=kib
- open form entry tab
- click the link with the assigned form name (box Enter Form)
- click submit button