Hey Beverly,
I adjusted some of the coding and it seems to be working perfectly. See below:
case MDRD4 =="" ""
sRet=""
case MDRD4>=90
sRet="Normal Kidney Function"
case MDRD4=60
sRet="2 +"
case MDRD4=45
sRet="3A"
case MDRD4=30
sRet="3B"
case MDRD4=15
sRet="4"
case MDRD4<15
sRet="5"
So it was the == that was making the case statements not match ? Using = in the comparison was the solution ? So you did not need to TRUNCATE the MDRD4 ?
Hey - its a win. Mark as solved 🙂
Happy new Year ! - B
For some reason the code isn’t translating well here. I added “and” to the case. So I stated that MDRD4 is less than 90 and MRDRD 4 is greater than or equal to 60. Anyway, the project is complete. Happy New Year! I hope someday I can return the favor, I'm looking forward to my MEL training in January.