add solution test restriction when entering patient selection