Hi,
I'm in the process of updating our patient banner to show the patients preferred method of contact. So, if their preferred method was "Cell", then it would show their cell number. Does the "Contact by:" field in registration match up to the MEL code PATIENT.CONTACTBY?
Thanks
Yes it does. Just tested that.
I hope this helps:
Preferred Method of Contact: {if ((obsany("METHCONTACT")=="secmsg" OR obsany("METHCONTACT")=="secure message") AND PATIENT.EMAIL<>"") AND (match(PATIENT.EMAIL,"@")<>0 OR match(PATIENT.EMAIL,".")<>0) THEN "Messaging" ELSE if ((obsany("METHCONTACT")=="phone" OR obsany("METHCONTACT")=="home phone")) THEN PATIENT.ALTPHONE ELSE if (obsany("METHCONTACT")=="work") THEN PATIENT.WORKPHONE ELSE if ((obsany("METHCONTACT")=="cell" OR obsany("METHCONTACT")=="cell phone")) THEN PATIENT.CELLPHONE ELSE if (obsany("METHCONTACT")=="mail") THEN "Mail" ELSE if (obsany("METHCONTACT")=="" AND PATIENT.EMAIL<>"") AND (match(PATIENT.EMAIL,"@")<>0 OR match(PATIENT.EMAIL,".")<>0) AND OBSANY("PATPORTALPIN")<>"" THEN "Pending" ELSE "No Portal Access" ENDIF ENDIF ENDIF ENDIF ENDIF ENDIF}