I guess this will change with validator sets anyway (?), but you can avoid multiple calls to the database by passing in a list of disease group IDs to the DAO rather than a single disease group ID. If this code definitely will change with validator sets then happy to leave it till then.