Family case history tab save func. converted to ORM

Signed-off-by: plamen911 <plamen@lynxlake.org>