medsrv: Use plugin features with dependency on database implementation