A new AJAX call has been added to the <oemr>/interface/new/new_comprehensive.php code. It will check for data duplication based on simple demographic information: first, middle, last, DOB, sex, and SSN. If a duplicate is found when the user presses the CREATE button, they are warned and offered a change to stop the creation.
This is an easy feature to disable. But, I think it provides some value to the new-patient process acting as a guardian against accidental duplication.
It’s been a few weeks since I committed the changes but I believe you only need these files from the CVS tree:
<oemr>/interface/new/new_comprehensive.php
<oemr>/library/ajax/find_patients.php
Thanks for the reply. I just tried what you suggested and attempting to add a patient also asked for the new_comprehensive_save.php. I added that file also to interface/new. I have renamed new_comprehensive.php to new.php so that it can be accessed from the left panel radio-buttons.
Now an add attempt produces:
[Internal error: Attempt to change patient data with pid = ‘’ when current pid is ‘47’ for id ‘’]
(squarebrackets added by me). I was trying to add a patient with the same name as before.
Any ideas as to how I should proceed from here?
I am familiar with Linux and permissions but not with PHP and MySQL
Thanks again and what a wonderful project this is.