====== pears.psHealthCanSendPerson ====== Generated schema reference. Regenerate this page from the SQL unload; keep hand-maintained business notes in the narrative namespace. ===== Original SQL ===== create function "pears"."psHealthCanSendPerson"( in "persid" char(20),in "RecipientOrCarer" char(1) ) returns smallint begin -- check divisions, status etc -- 1 to send, anything else won't -- RecipientOrCarer R - Recip, C - Carer, U - User ( if needed ) return 1 end