For some reason I changed patients’ DOB from date type to datetime type. But I still want to hide the time on the patient summary page (the place that navigated from the left bar “Patients”). For instance, if a patient’s DOB is 2010-01-01 12:00:00, then I just want to show the date of “2010-01-01”. I have been struggling with finding the right file to edit for more than two hours. Appreciate in advance if someone could tell me the right file to modify and solve this problem!
That page is layout-based so you want to look at library/options.inc.php for the logic that formats date fields. It’s called from many places so be careful how you do this.
Thank you for the answer! I’ve actually looked into dynamic_finder.php for couple times but still don’t have a clue about where to do changes. I also traced down to other relavent files but then I lost track (Sufferred as a PHP beginner). Could you please suggest a more specific file I can start with?
I’m actually wondering something similar. I’m trying to change the layout so that instead of “Home Phone”, and “SSN”, we show gender and housing location. Where am I looking in that file to make those kinds of changes?
I get the impression that you would like to change the columns in the Patient Search module which by default are Full Name, Home Phone, SSN, Date of Birth, PID.
OpenEMR does provide for doing that without any special coding, as long as the data comes from the patient_data table. Basically all you do is edit the list “Patient List Columns”; details are the attached pdf.