Date format on prescription help


(roland w) #1

I hope to inspire you some more to make OpenEMR more “international”.

  • If I make a prescription, it shows the DOB in the wrong format MM/DD/YYYY; the patient summary screen correctly does DD/MM/YYYY (set in globals).
    The code in Precscription.class.php says:

line 735 $this->patient->date_of_birth

how do I change that so it will show the correct DOB 07/12/2014 instead of 12/07/2014 on the Rx

Roland :paw_prints:

(roland w) #2

I can also do this in the development demo 5.02 : the patient’s date of birth on file and the one on the prescription are not the same (when globals set to DD/MM/YYYY). Could someone help me with this to at least get this right? seems to be in C_Prescription.class.php.