Where is everyone going to select no Known Allergies? I have only found a check box on the chart summary page and on the MU core check list. It seems like there should be a more convenient place to select NKA. Am I missing something?
Those are the only places you can check NKA, unless you incorporate a checkbox into a form.
Those locations connect (map) to the obsterm 'NKA' and accept a value of 'T' or 'F' only. You can add a check box to a form using 'NKA' as the label and 'T' as the value statement. You would adjust the check box so that the 'T' was hidden from view. With that, the user will check the box if the patient has no known allergies. From there, the EMR will manage the rest, i.e. if NKA is 'T'rue, and allergies are added, the EMR will automatically set 'NKA' to 'F'alse for the user. Note: Leaving the check box unchecked does not automatically set 'NKA' to 'F', rather it is an indication of the absolute fact that if the check box is unchecked and no allergies are listed, the patients allergy status has not been properly documented.
{IF ALL_AFTER("LIST")=="" AND OBSANY("NKA")"T" AND OBSANY("NKA")"F"
THEN "ALLERGIES HAVE NOT BEEN DOCUMENTED FOR THIS PATIENT"
ELSE IF ALL_AFTER("LIST")=="" AND OBSANY("NKA")==""
THEN "ALLERGIES HAVE NOT BEEN DOCUMENTED FOR THIS PATIENT"
ELSE IF OBSANY("NKA") == "T" AND ALL_AFTER("LIST")==""
THEN "No known allergies"
ELSE IF ALL_AFTER("LIST")""
THEN ALL_AFTER ("LIST") + ""
ELSE IF obsany("NKA")=="F" and ALL_AFTER("LIST")==""
THEN ""
else ""
ENDIF ENDIF ENDIF ENDIF ENDIF}
program it anywhere
its a bit late, so sue me, lol
Cleaner approach:
{
cond
case obsnow("NKA") == "" and ALL_AFTER("list") == "" "Allergy Status not documented"
case obsnow("NKA") == "F" and ALL_AFTER("list") == "" "Allergy Status not documented"
case obsnow("NKA") == "T" and ALL_AFTER("list") == "" "NKA"
case obsnow("NKA") == "F" and ALL_AFTER("list") <> "" ALL_AFTER("list")
case obsnow("NKA") == "" and ALL_AFTER("list") <> "" ALL_AFTER("list")
else "Allergy Status not documented"
endcond
}
First Case: Both data points are empty
Second Case: NKA was selected then deselected (the EMR autopopulates NKA with "F" instead of clearing the 'obsnow' value)
Third Case: NKA is set
Fourth Case: Allergy added to list
Last Case: No changes to list
All other cases: Defined criteria not met equating to not being properly documented
For optimal patient safety, I would recommend additional code to notify users of the last review & update date and a documentation policy created to define how often it should be done.
{ LASTOBSDATE("ALLERGY REV")}