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