I would like to have certain communicable diseases to trigger a flag in the chart to notify the employee of the situation. MRSA, Hepatitis, etc. Doesn't necessarily state, "CAUTION HIV!" More like "use blood born pathogens precautions", if they need any more information then they can check the medical history to see what is up. Thoughts?
You'll need to add MEL_SEND_FLAG (Type, To, Priority, Due date, Subject, Message, Chart_tab, Expiration date)
and set the Type to "Popup Alert" and leave the To parameter blank so that it just sits in the chart until removed. Here would be an example of what you could put in the code section of your forms:
{
if match(PROB_AFTER("list"), "ICD-042") > 0 AND OBSANY("HIV STATUS") == "" then
MEL_SEND_FLAG ("Popup Alert", "", "I", str(._TODAYSDATE), "HIV Alert", "use blood born pathogens precautions", "Summary", "")
OBSNOW("HIV STATUS", "Positive")
else "" endif
}
This would only put a flag on HIV patients, and it would check the obs term HIV STATUS to make sure it hasn't put something in already.