Would appreciate some guidance on this. I am creating a transform to replace values using a functionset. But for some reason the values arent getting replaced. What I want to do is to replace if the observation value [For Eg: if Migraine should replace with M1]
My function set class is as below:
set ret = ""
set ^TEST("observation") = observationValue
if observationValue = "Migraine"
set ret = "M1"
Shouldnt this replace the value? Would appreciate some guidance on what I am doing wrong.