Allow patients to be selected for measure calculation view
Added tests for measure calculation view