Here goes answer for your questions and this is against stable Openemr 3.2 version.
Q1: Customization of the referral forms can be done in Administration -> layouts -> referrals
You can add referred Dr’s address and appointment date field by a click on “Add Field”
Q2: These changes will take effect immediately once you click on “Save New Field”.
Q3: The data type of the field 4 (refer_to) can also be changed in layouts -> referrals section. Change the data type you need and click on “Save Changes”. The data type will be changed.
Thanks for your response visolveemr, unfortunately that didn’t solve my issue. I tried all of the above and when I print the actual referral, it prints without the name of the Dr. we’re referring our patient to, amongst other things.
I wish I knew how to program code so I could help fix some of these issues, unfortunately I don’t have a clue as to where to start.
To get the referral Dr address in the referral form, Please add Dr’s name and other details including the clinic address in Miscellaneous -> Addr Book section. Then add a referral transaction, where you can select the Dr you have added in the address book. Now the address get filled up in referral form.
Regarding the appointment date, you need to add the field(Appointment) via layout section and a new field will be added to the transactions table. You need to do some code changes in the following files to get the value from the table and to print it.
openemr/interface/patient_file/transaction/print_referral.php and
openemr/custom/referral_template.html
Thanks again visolveemr, this last set of instructions got me closer to where I want to be. Now I just have to figure our what software to use to edit PHP and html files, any suggestions are greatly appreciated.