Copy of Snippet "Hmo checker"

{note}{formtext: name=BCBS prefix; default=}{digit=upper(split({=`BCBS prefix`}, ""))}

{hmo=["ZGN","ZGI","ZGZ","T2G","VEX","VEU","VEN"]}

{if: `bcbs prefix`=""}
Please enter the BCBS prefix you would like to test for HMO. Just enter the first three letters and type in uppercase <3
{repeat: for item in hmo}
{if: `bcbs prefix`=item} 
This plan is an HMO plan. Please add this patient onto the auth list now. Call for the referral ASAP. Thank you! 

{endif}
{endrepeat}
{else: trim=yes}
This plan is not an HMO.
{endif}

{endnote: trim=yes}