Notifications
Clear all
Topic starter
Does anyone have a function that will format PATIENT.PCP as first name last name credentials?
Posted : October 14, 2015 7:01 am
This is what I use:
{fn PCPName(name)
{
if name == "" then return "" endif
if match(name,",")>0 then
local temp = getfield(name,",","")
return temp[2] + " " + temp[1]
else return name
endif
}}
Posted : October 14, 2015 8:02 am