Sorry for the seamingly easy question, however, I'm struggling to get this rule created. I have a string array variable which contains types of insurances. In one of my rules,
I need to check if the patient has Medicare Part D or Medicare Part B insurance.
Can someone explain to me how to best do this?
Here is what I've done so far (the text in bold does not compiling but hopefully
you can get what I'm trying to do):
if app.patient.insurance.isContained("MedicarePartD") and app.products.hasOnlyNonInjectables
app.response.denyReason = "MedicareDDeny".