Hi,
I am needing to update an additional observation term, instead of just one, when a button is selected in the PE-CCC form.
In the PE-CCC form, under Abd-GU tab, Genitalia section, there are two buttons under the section. The button that says, 'Click to Insert Normal Pelvic Exam-With PAP', when selected, inserts text in the Genitalia edit field and also updates the observation term, 'GU EXAM GEN'.
I need it to also update another obs term with just the date, 'LAST PAP DAT'.
Is it possible to add the observation term to the function in the TFE files?
I have researched the location of the TFE files for this PE-CCC form. There are two:
CCCQE-User-Edit-PE-SS-Adult.txt
CCCQE-User-Edit-PE-SS-Adult-TFE.txt
And the function within the file that is referred to the button pressed:
CCCQE-User-Edit-PE-SS-Adult.txt
fn ccc_Adult_PELVIC_EXAM_PAP_PE_Norm()
{
"Pelvic Exam:\r\n" +
" External: normal female genitalia without lesions or masses\r\n" +
" Vagina: normal without lesions or masses\r\n" +
" Cervix: normal without lesions or masses\r\n" +
" Adnexa: normal bimanual exam without masses or fullness\r\n" +
" Uterus: normal by palpation\r\n" +
" Pap smear: performed"
}
CCCQE-User-Edit-PE-SS-Adult-TFE.txt
fn ccc_Adult_Pelvic_EXAM_PAP_PE_Norm() {"Pelvic Exam:\r\n External: normal female genitalia without lesions or masses\r\n Vagina: normal without lesions or masses\r\n Cervix: normal without lesions or masses\r\n Adnexa: normal bimanual exam without masses or fullness\r\n Uterus: normal by palpation\r\n Pap smear: performed"}
Thank you,
Joe
Try this - in the PE-CCC.XLT file, add your line to set the obs term in this function after the endif:
fn fn631481638_4512752()
{
IF DOCUMENT.TEMP_359659588_417_4512711 = "" THEN DOCUMENT.TEMP_359659588_417_4512711 = (str(_ccc_PE_norm_29)) ENDIF
}
That function is in PE-CCC.EF3 in the line:
ButtonFieldTemplate 12 508 290 524 [{fn631481638_4512752() }][][{! PATIENT.SEX == "F" and _CCC_COD_PE=="A"}][][Click to Insert Normal Pelvic Exam-WITH PAP][0][4102][Arial:8:B][8323072][]
If it works, remember that you will have to make that same type of change in the content of any CCC update.