We have a form named Family HX by Disease and we would like to change the function of one of the checkboxes on the form that includes the Family HX of the Pt in the note once checked. Well now we want to do the opposite where upon opening the form it will automatically populate Family HX but when you check this box it will remove it from the note.
Any suggestions?
I'll assume that the check box reads "Include in note" or something similar. Change the check box value text to 'Do not include in note' and:
If the code in the translation block of the field reads something like:
if <Variable Name> == "Include in note" then
cfmt(.....)
else ""
endif
Change it to:
if <Variable Name> <> "Do not include in note" then
cfmt(.....)
else ""
endif
Checkbox = DOCUMENT.FH
Checkbox translation= {IF DOCUMENT.FH <> "" THEN "" ELSE OBSANY("FAMILY HX") ENDIF}
In the white box to the right of the form enter {!DOCUMENT.FH = ""}
Thank you
Thank you that was just what we needed.