I'm getting "Parm1 : Test must be a function call or variable name". Isn't this how I refer to a variable from the source structure?
-Geates
"I hope I can feel and see the change - stop the bleed inside a feel again. Cut the chain of lies you've been feeding my veins; I've got nothing to say to you!"
-Infected Mushroom
"I do not offer answers, only considerations."
- Geates's Disclaimer
Code:
(case ([red]~input%SDC_ADT.MSH.MSH-9-message_type.MSH-9-2_trigger_event[/red])
(("A01" "A04" "A05" "A08" "A13")
(not-verify ~input%SDC_ADT.PV1.PV1-3-assigned_patient_location.PL.point_of_care/nu "MH")
)
(("A02")
(not-verify ~input%SDC_ADT.PV1.PV1-3-assigned_patient_location.PL "OR\|L1\|NS")
)
)
-Geates
"I hope I can feel and see the change - stop the bleed inside a feel again. Cut the chain of lies you've been feeding my veins; I've got nothing to say to you!"
-Infected Mushroom
"I do not offer answers, only considerations."
- Geates's Disclaimer