create function "pears"."psHealthBranch"(
in "ShiftID" char(20),in "ShiftPlanID" char(20),in "persid" char(20),in "RecipientOrCarer" char(1) )
returns char(100) -- not sure where branch will come from
begin
-- hard code translation table here
return '1'
-- this is "Branch ICS"
end