Trying to evaluate observations continuously with text component: But just returns no value. Any suggestions would be helpful.
{'{(IF OBSNOW("SENSA EXAM")=="feet intact bilaterally to light touch/monofilament testing" AND
match(PROB_AFTER("list"),"250.") > 0 AND
match(ORDERS_NEW("list"),"MU Tracking - Monofiliment Test [SCT-134388005]")=0
THEN MEL_ADD_ORDER("S", "MU SNOMED Codes", "MU Tracking - Monofiliment Test", "", "", "", "", "", "", "", "")
IF (OBSNOW("DIAB FOOT CK")=="yes" or OBSNOW("SKIN SQ INSP")=="feet intact without ulceration or erythema") AND
match(ORDERS_NEW("list"),"MU Tracking - Diabetic Foot Exam [SCT-401191002]")=0
THEN MEL_ADD_ORDER("S", "MU SNOMED Codes", "MU Tracking - Diabetic Foot Exam", "", "", "", "", "", "", "", "")
ELSE ""
ENDIF
ELSE ""
ENDIF)
IF OBSNOW("WGTMGMTCOUNS") "" AND
match(ORDERS_NEW("list"),"MU Tracking - BMI Plan [SCT-443288003]")=0
THEN MEL_ADD_ORDER("S", "MU SNOMED Codes", "MU Tracking - BMI Plan", "", "", "", "", "", "", "", "")
ELSE ""
ENDIF}'}
Displays in the text translation.
Try this
{'{
(IF OBSNOW("SENSA EXAM")=="feet intact bilaterally to light touch/monofilament testing" AND
match(PROB_AFTER("list"),"250.") > 0 AND match(ORDERS_NEW("list"),"MU Tracking – Monofiliment Test [SCT-134388005]")=0 THEN MEL_ADD_ORDER("S", "MU SNOMED Codes", "MU Tracking – Monofiliment Test", "", "", "", "", "", "", "", "")
ELSE ""
ENDIF
IF (OBSNOW("DIAB FOOT CK")=="yes" or OBSNOW("SKIN SQ INSP")=="feet intact without ulceration or erythema") AND match(ORDERS_NEW("list"),"MU Tracking – Diabetic Foot Exam [SCT-401191002]")=0 THEN MEL_ADD_ORDER("S", "MU SNOMED Codes", "MU Tracking – Diabetic Foot Exam", "", "", "", "", "", "", "", "")
ELSE ""
ENDIF)
IF OBSNOW("WGTMGMTCOUNS") "" AND
match(ORDERS_NEW("list"),"MU Tracking – BMI Plan [SCT-443288003]")=0 THEN MEL_ADD_ORDER("S", "MU SNOMED Codes", "MU Tracking – BMI Plan", "", "", "", "", "", "", "", "")
ELSE ""
ENDIF}'}
Thank you David, that did the trick. I really appreciate your help.
Dawn