JonathanNYC
IS-IT--Management
I am searching for the word "left" in a procedure modifier field. Procedure modifier is used to denote laterality in surgical procedures.
I suspect that I need an "is like" expression to search for the word "left" because often there is more than just the word "left" or "LEFT" or "left" in the procedure modifier field. E.g., the modifer may indicate "Left Removal Pins" or some other description with the word left in it.
Requesting any ideas for modifying the if expression to search for anything that is like "left" or is like "Left" or is like "LEFT".
My existing statement is:
if {pcmProcedure.descriptMod} = "Left" then "LT" else
if {pcmProcedure.descriptMod} = "LEFT" then "LT" else
if {pcmProcedure.descriptMod} = "left" then "LT" else
"Not applicable"
I am using Crystal reports 10.0
I suspect that I need an "is like" expression to search for the word "left" because often there is more than just the word "left" or "LEFT" or "left" in the procedure modifier field. E.g., the modifer may indicate "Left Removal Pins" or some other description with the word left in it.
Requesting any ideas for modifying the if expression to search for anything that is like "left" or is like "Left" or is like "LEFT".
My existing statement is:
if {pcmProcedure.descriptMod} = "Left" then "LT" else
if {pcmProcedure.descriptMod} = "LEFT" then "LT" else
if {pcmProcedure.descriptMod} = "left" then "LT" else
"Not applicable"
I am using Crystal reports 10.0