Import patient data - bank entry bug

mmfsystems wrote on Wednesday, January 04, 2012:

Title: Blank patient data is inserted when no value is provided in the Import page and click on Import patient button

Provided by: http://www.mmfemr.com:

MMF - Internal Issue Management System Bug ID: bug#213

Description: Blank patient data is inserted when no value is provided in the Import page and click on Import patient button.

Steps to Reproduce:
1. Log into the application.
2. Select a patient.
3. Select Import from the Popups drop down.
4. Don’t enter any value in the “import Patient Demographics” page and click on
“Import Patient” button.
5. Verify Invalid import data message is displayed.
6. Verify patient search result to check the blank data inserted.

Reason: Alert message was added and importing data was done using if else condition to display proper messages.

SourceForge Tracker Link:
https://sourceforge.net/tracker/func=detail&aid=3454273&group_id=60081&Atid=493001

Code Contribution Location/ GitHub Branch Link :
https://github.com/sphule/openemr/tree/mmfsystems-blank-patient-data-import

Suggestions and reviews are welcome from the community.

Regards,
Sudarshan Phule
MMF Systems Inc.