I wrote an if/then statement with many conditions. it is telling me I have a parse error at the last character of the code but it does not turn black. I have tried to remove the enter and then I get a squiggly line under "endif" shwoing that is an error. I put the return back in and it gives me the parse error again. I am not sure what I could be doing wrong, but I feel it is something simple. Would someone take a look and see if you can identify the cause?

Here is the code...
If [Measure Code] = "CAUTI_RATE_ICU_P" or if [Measure Code] = "CLABSI_RATE_ICU_P" or if [Measure Code] = "MRSA_RATE" or if [Measure Code] = "ADE_ANTICOAG" or if [Measure Code] = "PU_STAGE3" then ([Performance Numerator]/[Performance Denominator]) * 1000 else if [Measure Code] = "CDIFF_RATE" then ([Performance Numerator]/[Performance Denominator]) *10000 else if [Measure Code] = "SSI_COLO_RATE" or if [Measure Code] = "SSI_HYST_RATE" or if [Measure Code] = "SSI_KPRO_RATE" or if [Measure Code] = "COVID_VAC_COMP" or if [Measure Code] = "COVID_ED_NON_VENT" or if [Measure Code] = "COVID_ED_VENT" or if [Measure Code] = "COVID_HOSP_ONSET" or if [Measure Code] = "ADE_HYPOGLYCEMIA" or if [measure code] = "ADE_OPIOID_RATE" or if [Measure Code] = "READM_30D_HW" or if [Measure Code] = "SEPSIS_MORT" or if [Measure Code] = "SEPSIS_SHOCK" then ([Performance Numerator]/[Performance Denominator]) * 100 else ([Performance Numerator]/[Performance Denominator]) endif