Added function and query for 'get_claims_for_risk'