select
 "Person_Deputy",
 "Person_Fio",
 "Diag_FullName",
 "MedPersonal_Fio"
 from rpt.HospInfoConsent_pg(cast($1 as bigint),cast($2 as bigint))
 limit 1
