Is there a way to pull the pharmacy address and phone from registration? I use
{REGPHARMACY()} to get the name, but I would also like the address and phone.
Search the CHUG for pharmacy address and check all words in the search. There are a couple of previous topics on this.
David Shower
OU Tulsa School of Community Medicine
David,
Thanks, I found what I was looking for. I tried to search before I posted and must have done something wrong because I didn't get the same results.
I have used the following in QuickText, and I think it provides the fields you would need:
Please send to patient's pharmacy:
{find("Pharmacies","Name","Name",regpharmacy())}
{find("Pharmacies","Address1","Name",regpharmacy())}
{find("Pharmacies","City","Name",regpharmacy())}, {find("Pharmacies","State","Name",regpharmacy())} {find("Pharmacies","Zip","Name",regpharmacy())}
Phone: {find("Pharmacies","primPhone","Name",regpharmacy())}
Fax: {find("Pharmacies","faxPhone","Name",regpharmacy())}
This works to pull the first pharmacy in the contact list.
Does anyone know how to show the 2nd or 3rd pharmacy information from a patient's contact list?
Often a patient has a local pharmacy and a mail order pharmacy these days and I'd like to be able to show both.
Thanks
Rob