I have a physician for whom I am trying to change the text translation of his notes. He has numerous statements that he wants to say he/she based on the patient's gender. For example, he has a radio button for "Able to care for feet - Yes or No". He would like the translation for this radio button to say He/She is unable to care for feet. What is the best way to do this?
Thank you for your assistance
Amanda Koenig
Oregon Orthopedic
{fn fnbygender(male,female,none){
if (PATIENT.SEX == "M") then
return male
else if (PATIENT.SEX == "F") then
return female
else
return none
endif endif
}}
In the note -
fnbygender("He ","She ","The patient ") + "is unable to care for feet."
Thank you for your assistance. When trying the function above, I get this:
"Patient presents for todays appointment
with spouse. There has not been a history of trauma.
The problem came on suddenly. Prior to coming here, they have consulted with an ER/Urgent care center seeking help and a diagnosis.
{"fnbygender("He ","She ","The patient ") + "is unable to care for feet."" <-COMPILER ERROR NEARBY: Expect IDENTIFIER NAME. Instead had STRING after DOT"
Any ideas?
Dont put quotes around the call -
{fnbygender("He ","She ","The patient ") + "is unable to care for feet."}
Thanks that worked; however, now I am getting the verbiage below no matter if I select "Yes patient can care for feet" or "No, patient unable to care for feet". Can this be modified to change answers depeninf on the radio button selected?