text: import {allCps} from './test/all-cps.mock';
  import {collections} from './test/collections.mock';
  import {fullListings} from './test/full-listings.mock';
  import {listingActivity, listingActivityMetadata} from './test/listing-activity.mock';
  import {measures, measureTypes, listingMeasures} from './test/measures.mock';
  import {pendingListings} from './test/pending-listings.mock';
  import {searchOptions} from './test/search-options.mock';
  import {sed} from './test/sed.mock';
  import {svaps, availableCriteria} from './test/svap.mock';
  
  /* eslint-disable quotes, key-spacing */
  (function () {
      'use strict';
  
      angular.module('chpl.mock', [])
          .factory('ActivityMock', activityMock)
          .factory('Mock', mock);
  
      function activityMock () {
          var mock = {};
  
          mock.sed = [
              { // UCD Process changes
                  originalData:{testTasks:[],ucdProcesses:[{id:1,name:'A process',details:'some details',criteria:[{number:'170.315 (a)(1)'}]},{id:2,name:'A second',details:null,criteria:[{number:'170.315 (a)(1)'}]},{id:4,name:'Fourth',details:null,criteria:[{number:'170.315 (a)(1)'}]}]},
                  newData:{testTasks:[],ucdProcesses:[{id:1,name:'A process',details:'Changed details',criteria:[{number:'170.315 (a)(1)'}]},{id:3,name:'A third',details:null,criteria:[{number:'170.315 (a)(3)'}]},{id:4,name:'Fourth',details:null,criteria:[{number:'170.315 (a)(2)'}]}]},
              },
              { // Task changes
                  originalData:{ucdProcesses:[],testTasks:[{id:1,description:'A description that changes',criteria:[],testParticipants:[]},{id:2,description:'A removed task',criteria:[],testParticipants:[]},{id:3,description:'Added participant',criteria:[],testParticipants:[]},{id:4,description:'Removed participant',criteria:[],testParticipants:[{id:1}]},{id:10,description:'Adding criteria',criteria:[],testParticipants:[]},{id:11,description:'Removing criteria',criteria:[{id:1,number:'number'}],testParticipants:[]}]},
                  newData:{ucdProcesses:[],testTasks:[{id:1,description:'A description that changed',criteria:[],testParticipants:[]},{id:5,description:'An added task',criteria:[],testParticipants:[]},{id:3,description:'Added participant',criteria:[],testParticipants:[{id:43}]},{id:4,description:'Removed participant',criteria:[],testParticipants:[]},{id:10,description:'Adding criteria',criteria:[{id:1,number:'number'}],testParticipants:[]},{id:11,description:'Removing criteria',criteria:[],testParticipants:[]}]},
              },
              { // Participant changes
                  originalData:{ucdProcesses:[],testTasks:[{id:1,description:'Change participant age range',criteria:[],testParticipants:[{id:1,ageRange:'1-9',gender:'Female'}]},{id:2,description:'Change participant gender',criteria:[],testParticipants:[{id:2,gender:'Male',ageRange:'1-9'}]},{id:3,description:'Removed participant',criteria:[],testParticipants:[{id:3,ageRange:'1-9',gender:'Female'}]},{id:4,description:'Added participant',criteria:[],testParticipants:[]},{id:5,description:'Deduping participants',criteria:[],testParticipants:[{id:3,ageRange:'1-9',gender:'Female'}]}]},
                  newData:{ucdProcesses:[],testTasks:[{id:1,description:'Change participant age range',criteria:[],testParticipants:[{id:1,ageRange:'100+',gender:'Female'}]},{id:2,description:'Change participant gender',criteria:[],testParticipants:[{id:2,gender:'Female',ageRange:'1-9'}]},{id:3,description:'Removed participant',criteria:[],testParticipants:[]},{id:4,description:'Added participant',criteria:[],testParticipants:[{id:3,ageRange:'1-9',gender:'Female'}]},{id:5,description:'Deduping participants',criteria:[],testParticipants:[{id:3,ageRange:'1-9',gender:'Female'}]}]},
              },
          ];
  
          return mock;
      }
  
      function mock () {
          var mock = {};
  
          mock.acbs = [{id: 1, name: 'Drummond'}];
          mock.allCps = angular.copy(allCps);
          mock.allNonconformities = [{"id":5715,"chplProductNumber":"CHP-024520","edition":"2014","acb":"ICSA Labs","developer":"athenahealth, Inc.","product":"athenaClinicals","version":"14.11","surveillanceCount":1,"openNonconformityCount":0,"closedNonconformityCount":1},{"id":6142,"chplProductNumber":"CHP-021118","edition":"2014","acb":"ICSA Labs","developer":"Epic Systems Corporation","product":"Beacon Oncology 2014 Certified Module","version":"Epic 2014","surveillanceCount":1,"openNonconformityCount":0,"closedNonconformityCount":1},{"id":6535,"chplProductNumber":"CHP-024464","edition":"2014","acb":"ICSA Labs","developer":"ABEL Medical Software, Inc.","product":"ABELMed EHR-EMR/PM","version":"12","surveillanceCount":3,"openNonconformityCount":3,"closedNonconformityCount":0},{"id":6544,"chplProductNumber":"CHP-022100","edition":"2014","acb":"ICSA Labs","developer":"4Medica","product":"4medica iEHR Cloud Ambulatory Suite","version":"15.10","surveillanceCount":1,"openNonconformityCount":1,"closedNonconformityCount":0},{"id":7085,"chplProductNumber":"CHP-028100","edition":"2014","acb":"ICSA Labs","developer":"4Medica","product":"4medica iEHR Cloud Ambulatory Suite","version":"15.10","surveillanceCount":3,"openNonconformityCount":4,"closedNonconformityCount":1},{"id":7720,"chplProductNumber":"15.07.07.1407.EIC7.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"EON Systems, Inc","product":"EON-EpicCare Inpatient - Merged","version":"A1CriteriaNotSpecified","surveillanceCount":1,"openNonconformityCount":1,"closedNonconformityCount":0},{"id":7769,"chplProductNumber":"15.07.07.1407.EIC04.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"EON Systems, Inc","product":"EON-EpicCare Inpatient - Merged","version":"testversion1","surveillanceCount":2,"openNonconformityCount":2,"closedNonconformityCount":0},{"id":7777,"chplProductNumber":"15.07.07.1407.EIC08.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"EON Systems, Inc","product":"EON-EpicCare Inpatient - Merged","version":"test-01","surveillanceCount":2,"openNonconformityCount":0,"closedNonconformityCount":6},{"id":7779,"chplProductNumber":"15.07.07.1448.EIC09.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"Epic Systems Corporation","product":"EpicCare Inpatient - Core EMR","version":"test-01","surveillanceCount":1,"openNonconformityCount":1,"closedNonconformityCount":0},{"id":7784,"chplProductNumber":"15.07.07.1448.EIC08.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"Epic Systems Corporation","product":"EpicCare Inpatient - Core EMR","version":"testV12","surveillanceCount":2,"openNonconformityCount":0,"closedNonconformityCount":2},{"id":7795,"chplProductNumber":"15.07.07.1448.EIC3.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"Epic Systems Corporation","product":"EpicCare Inpatient - Core EMR","version":"testV12","surveillanceCount":2,"openNonconformityCount":2,"closedNonconformityCount":0},{"id":7796,"chplProductNumber":"15.07.07.1448.EIC6.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"Epic Systems Corporation","product":"EpicCare Inpatient - Core EMR","version":"testV12","surveillanceCount":1,"openNonconformityCount":1,"closedNonconformityCount":0},{"id":7797,"chplProductNumber":"15.07.07.1448.EIC5.36.1.1.160402","edition":"2015","acb":"ICSA Labs","developer":"Epic Systems Corporation","product":"EpicCare Inpatient - Core EMR","version":"testV1","surveillanceCount":4,"openNonconformityCount":3,"closedNonconformityCount":0}];
          mock.collections = angular.copy(collections);
          mock.decertifiedDevelopers = [{"developerId":222,"developerName":"Cerner Corporation","decertificationDate":1555526141650,"acbNames":["Drummond Group","ICSA Labs"]},{"developerId":1251,"developerName":"Rabbit Healthcare Systems","decertificationDate":1505728633779,"acbNames":["Drummond Group","ICSA Labs"]}];
          mock.developers = [{"developerId":5,"developerCode":"1004","name":"A-Z Professional Provider Services, LLC","website":null,"address":null,"contact":{"contactId":141,"fullName":"Testuser","friendlyName":"Lname","email":"abc@abc.com","phoneNumber":"999-999-9999","title":null},"lastModifiedDate":"1486182640776","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":1655,"developerId":5,"status":{"id":1,"status":"Active"},"statusDate":1459809040136},{"id":1663,"developerId":5,"status":{"id":2,"status":"Suspended by ONC"},"statusDate":1486182640776}],"status":{"id":2,"status":"Suspended by ONC"}},{"developerId":6,"developerCode":"1005","name":"A1 Medical Software Solutions","website":null,"address":null,"contact":{"contactId":89,"fullName":"test","friendlyName":"example","email":"thing@thing.com","phoneNumber":"thing","title":null},"lastModifiedDate":"1477078444021","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":58,"developerId":6,"status":{"id":1,"status":"Active"},"statusDate":1459809040140}],"status":{"id":1,"status":"Active"}},{"developerId":7,"developerCode":"1006","name":"A21 Healthcare IT Solutions","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040143","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":1,"developerId":7,"status":{"id":1,"status":"Active"},"statusDate":1459809040143}],"status":{"id":1,"status":"Active"}},{"developerId":11,"developerCode":"1010","name":"ABH Enterprises, LLC","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040166","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":2,"developerId":11,"status":{"id":1,"status":"Active"},"statusDate":1459809040166}],"status":{"id":1,"status":"Active"}},{"developerId":12,"developerCode":"1011","name":"ACL Laboratories","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040173","deleted":false,"transparencyAttestations":[{"acbId":6,"acbName":"ICSA Labs","attestation":"N/A"}],"statusEvents":[{"id":3,"developerId":12,"status":{"id":1,"status":"Active"},"statusDate":1459809040173}],"status":{"id":1,"status":"Active"}},{"developerId":15,"developerCode":"1014","name":"ACS State Healthcare, LLC","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040183","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":4,"developerId":15,"status":{"id":1,"status":"Active"},"statusDate":1459809040183}],"status":{"id":1,"status":"Active"}},{"developerId":16,"developerCode":"1015","name":"ADP AdvancedMD","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040187","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":5,"developerId":16,"status":{"id":1,"status":"Active"},"statusDate":1459809040187}],"status":{"id":1,"status":"Active"}},{"developerId":17,"developerCode":"1016","name":"ADP Advancedmd","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040191","deleted":false,"transparencyAttestations":[{"acbId":3,"acbName":"Drummond Group","attestation":"Affirmative"}],"statusEvents":[{"id":6,"developerId":17,"status":{"id":1,"status":"Active"},"statusDate":1459809040191}],"status":{"id":1,"status":"Active"}},{"developerId":18,"developerCode":"1017","name":"ADS Technologies, Inc.","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040194","deleted":false,"transparencyAttestations":[{"acbId":3,"acbName":"Drummond Group","attestation":"Affirmative"}],"statusEvents":[{"id":7,"developerId":18,"status":{"id":1,"status":"Active"},"statusDate":1459809040194}],"status":{"id":1,"status":"Active"}},{"developerId":19,"developerCode":"1018","name":"ADVault, Inc.","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040197","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":8,"developerId":19,"status":{"id":1,"status":"Active"},"statusDate":1459809040197}],"status":{"id":1,"status":"Active"}},{"developerId":20,"developerCode":"1019","name":"AKDHC DocTalk LLC","website":null,"address":null,"contact":null,"lastModifiedDate":"1459809040201","deleted":false,"transparencyAttestations":[],"statusEvents":[{"id":9,"developerId":20,"status":{"id":1,"status":"Active"},"statusDate":1459809040201}],"status":{"id":1,"status":"Active"}}];
          mock.fakeModal = {
              result: {
                  then: function (confirmCallback, cancelCallback) {
                      this.confirmCallBack = confirmCallback;
                      this.cancelCallback = cancelCallback;
                  }},
              close: function (item) { this.result.confirmCallBack(item); },
              dismiss: function (type) { this.result.cancelCallback(type); },
          };
          mock.fullListings = angular.copy(fullListings);
          mock.listingActivity = angular.copy(listingActivity);
          mock.listingActivityMetadata = angular.copy(listingActivityMetadata);
          mock.listingMeasures = angular.copy(listingMeasures);
          mock.measures = angular.copy(measures);
          mock.measureTypes = angular.copy(measureTypes);
          mock.modalInstance = {
              close: jasmine.createSpy('close'),
              dismiss: jasmine.createSpy('dismiss'),
          };
          mock.subscriptionReportTypes = [{"id":3,"name":"ONC Daily Surveillance Broken Rules","description":"A daily email of surveillance rules that have been broken within the last day for any listing.","requiresAcb":false},{"id":4,"name":"ONC Weekly Surveillance Broken Rules","description":"A weekly email of all surveillance rules that are currently broken for any listing.","requiresAcb":false},{"id":1,"name":"ONC-ACB Daily Surveillance Broken Rules","description":"A daily email of surveillance rules that have been broken within the last day for listings certified by a specific ONC-ACB.","requiresAcb":true},{"id":2,"name":"ONC-ACB Weekly Surveillance Broken Rules","description":"A weekly email of all surveillance rules that are currently broken for listings certified by a specific ONC-ACB.","requiresAcb":true}];
          mock.pendingListings = angular.copy(pendingListings);;
          //epic systems products
          mock.products = [{"productId":2595,"name":"Test Product 06","reportFileLocation":null,"lastModifiedDate":"1465513224639","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2597,"name":"Test Product 09","reportFileLocation":null,"lastModifiedDate":"1465513597157","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2599,"name":"Test Product 11","reportFileLocation":null,"lastModifiedDate":"1465513849645","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2604,"name":"Test Product 15","reportFileLocation":null,"lastModifiedDate":"1466641460427","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":682,"name":"EpicCare Inpatient 2014 Certified EHR Suite","reportFileLocation":null,"lastModifiedDate":"1459809047631","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2612,"name":"Test Product 23","reportFileLocation":null,"lastModifiedDate":"1467138074110","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2615,"name":"Test Product 26","reportFileLocation":null,"lastModifiedDate":"1467143863108","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":679,"name":"EpicCare Ambulatory - Core EMR","reportFileLocation":null,"lastModifiedDate":"1459809047622","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2601,"name":"Test Product 08","reportFileLocation":null,"lastModifiedDate":"1465514228503","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2598,"name":"Test Product 10","reportFileLocation":null,"lastModifiedDate":"1465513729318","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]},{"productId":2606,"name":"Test Product 17","reportFileLocation":null,"lastModifiedDate":"1466641717121","owner":{"developerId":449,"developerCode":"1448","name":"Epic Systems Corporation","website":null,"address":null,"contact":null,"lastModifiedDate":null,"deleted":null,"transparencyAttestations":[],"statusEvents":[],"status":null},"ownerHistory":[]}];
          mock.recipients = [{id: 1, email: 'sample@example.com', subscriptions: [{id: 1, name: 'ONC Daily', acb: null}]}, {id: 2, email: 'sample2@example.com', subscriptions: [{id: 2, name: 'ACB Weekly', acb: {id: 1, name: 'Drummond'}}]}];
          mock.searchOptions = angular.copy(searchOptions);
          mock.sed = angular.copy(sed);
          mock.surveillances = [{"id":4,"surveillanceIdToReplace":null,"friendlyId":"SURV01","certifiedProduct":{"id":7085,"chplProductNumber":"CHP-028100","lastModifiedDay":"1486433432610","edition":"2014"},"startDay":1472702400000,"endDay":null,"type":{"id":1,"name":"Reactive"},"randomizedSitesUsed":null,"requirements":[{"id":4,"type":{"id":1,"name":"Certified Capability"},"requirement":"170.314 (a)(1)","result":{"id":1,"name":"Non-Conformity"},"nonconformities":[{"id":4,"nonconformityType":"170.314 (a)(1)","status":{"id":1,"name":"Open"},"dateOfDeterminationDay":1472702400000,"capApprovalDay":null,"capStartDay":null,"capEndDay":null,"capMustCompleteDay":null,"summary":"Not available","findings":"N/A","sitesPassed":null,"totalSites":null,"developerExplanation":null,"resolution":null,"documents":[]}]}],"errorMessages":[]},{"id":6,"surveillanceIdToReplace":null,"friendlyId":"SURV02","certifiedProduct":{"id":7085,"chplProductNumber":"CHP-028100","lastModifiedDay":"1486433432610","edition":"2014"},"startDay":1480222800000,"endDay":1480827600000,"type":{"id":2,"name":"Randomized"},"randomizedSitesUsed":8,"requirements":[{"id":6,"type":{"id":1,"name":"Certified Capability"},"requirement":"170.314 (g)(4)","result":{"id":2,"name":"No Non-Conformity"},"nonconformities":[{"id":6,"nonconformityType":"170.314 (g)(4)","status":{"id":2,"name":"Closed"},"dateOfDeterminationDay":1480395600000,"capApprovalDay":1480482000000,"capStartDay":1480482000000,"capEndDay":1480827600000,"capMustCompleteDay":1483074000000,"summary":"test","findings":"N/A","sitesPassed":0,"totalSites":8,"developerExplanation":"test","resolution":"test","documents":[]}]}],"errorMessages":["Surveillance Requirement 170.314 (g)(4) lists nonconformities but its result is not 'Non-Conformity'."]},{"id":12,"surveillanceIdToReplace":null,"friendlyId":"SURV03","certifiedProduct":{"id":7085,"chplProductNumber":"CHP-028100","lastModifiedDay":"1486433432610","edition":"2014"},"startDay":1480222800000,"endDay":null,"type":{"id":2,"name":"Randomized"},"randomizedSitesUsed":8,"requirements":[{"id":17,"type":{"id":1,"name":"Certified Capability"},"requirement":"170.314 (f)(1)","result":{"id":1,"name":"Non-Conformity"},"nonconformities":[{"id":17,"nonconformityType":"170.314 (f)(1)","status":{"id":1,"name":"Open"},"dateOfDeterminationDay":1480309200000,"capApprovalDay":1480395600000,"capStartDay":1480482000000,"capEndDay":1480914000000,"capMustCompleteDay":1481173200000,"summary":"test","findings":"N/A","sitesPassed":5,"totalSites":8,"developerExplanation":"test","resolution":"test","documents":[]}]},{"id":15,"type":{"id":1,"name":"Certified Capability"},"requirement":"170.314 (f)(3)","result":{"id":1,"name":"Non-Conformity"},"nonconformities":[{"id":15,"nonconformityType":"170.314 (f)(3)","status":{"id":1,"name":"Open"},"dateOfDeterminationDay":1480309200000,"capApprovalDay":1480395600000,"capStartDay":1480482000000,"capEndDay":1480914000000,"capMustCompleteDay":1481173200000,"summary":"test","findings":"N/A","sitesPassed":6,"totalSites":8,"developerExplanation":"test","resolution":"test","documents":[]}]},{"id":16,"type":{"id":1,"name":"Certified Capability"},"requirement":"170.314 (f)(2)","result":{"id":1,"name":"Non-Conformity"},"nonconformities":[{"id":16,"nonconformityType":"170.314 (f)(2)","status":{"id":1,"name":"Open"},"dateOfDeterminationDay":1480309200000,"capApprovalDay":1480395600000,"capStartDay":1480482000000,"capEndDay":1480914000000,"capMustCompleteDay":1481173200000,"summary":"test","findings":"N/A","sitesPassed":2,"totalSites":8,"developerExplanation":"test","resolution":"test","documents":[]}]}],"errorMessages":[]}];
  
          mock.filterTypes = {"data":[
              {"id":3,"name":"Product Report","description":null},
              {"id":2,"name":"Listing Report","description":null},
              {"id":4,"name":"Version Report","description":null},
              {"id":1,"name":"Developer Report","description":null},
          ]};
  
          mock.developerReportsFilter = {"results": [
              {
                  "id":45,
                  "filterType":{
                      "id":1,
                      "name":"Developer Report",
                      "creationDate":1555351964531,
                      "lastModifiedDate":1555690551567,
                      "lastModifiedUser":-2
                  },
                  "name":"Jan / $Med",
                  "filter":"{\"startDate\":\"2019-01-01T05:00:00.000Z\",\"endDate\":\"2019-01-01T05:00:00.000Z\",\"dataFilter\":\"4med\",\"tableState\":{\"sort\":{\"predicate\":\"date\",\"reverse\":true},\"search\":{\"predicateObject\":{\"$\":\"4med\"}},\"pagination\":{\"start\":0,\"totalItemCount\":7}}}",
                  "creationDate":1556030897755,
                  "lastModifiedDate":1556030897755,
                  "lastModifiedUser":null
              },
              {
                  "id":46,
                  "filterType":{
                      "id":1,
                      "name":"Developer Report",
                      "creationDate":1555351964531,
                      "lastModifiedDate":1555690551567,
                      "lastModifiedUser":-2
                  },
                  "name":"Jan / T-System",
                  "filter":"{\"startDate\":\"2019-01-01T05:00:00.000Z\",\"endDate\":\"2019-01-30T05:00:00.000Z\",\"dataFilter\":\"t-system\",\"tableState\":{\"sort\":{\"predicate\":\"date\",\"reverse\":true},\"search\":{\"predicateObject\":{\"$\":\"t-system\"}},\"pagination\":{\"start\":0,\"totalItemCount\":2}}}",
                  "creationDate":1556031061146,
                  "lastModifiedDate":1556031061146,
                  "lastModifiedUser":null
              },
              {
                  "id":49,
                  "filterType":{
                      "id":1,
                      "name":"Developer Report",
                      "creationDate":1555351964531,
                      "lastModifiedDate":1555690551567,
                      "lastModifiedUser":-2
                  },
                  "name":"Jan",
                  "filter":"{\"startDate\":\"2019-01-01T05:00:00.000Z\",\"endDate\":\"2019-01-30T05:00:00.000Z\",\"dataFilter\":\"\",\"tableState\":{\"sort\":{\"predicate\":\"date\",\"reverse\":true},\"search\":{\"predicateObject\":{}},\"pagination\":{\"start\":0,\"totalItemCount\":60}}}",
                  "creationDate":1556219228427,
                  "lastModifiedDate":1556219228427,
                  "lastModifiedUser":null
              }
          ]};
  
          mock.productReportsMetadata = [
              {"id":46963,"concept":"PRODUCT","categories":["PRODUCT"],"date":1554259307382,"objectId":3073,"responsibleUser":{"userId":62,"subjectName":"aqa-acb","fullName":"AQA ACB","friendlyName":"AQA","email":"chpl@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Epic Systems Corporation","productName":"New product"},
              {"id":47745,"concept":"PRODUCT","categories":["PRODUCT"],"date":1554493764696,"objectId":3074,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Amazing Charts","productName":"Amazing Charts 2019"},
              {"id":47039,"concept":"PRODUCT","categories":["PRODUCT"],"date":1554484320032,"objectId":24,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"TMY Developer 1","productName":"4medica Ambulatory Cloud iEHR (Integrated Electronic Health Record) with 4medica's Integration Engine to connect Ambulatory EMRs"},
              {"id":47046,"concept":"PRODUCT","categories":["PRODUCT"],"date":1554484490478,"objectId":25,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"TMY Developer 2","productName":"4medica Ambulatory Cloud iEHR (Integrated Electronic Health record) with 4medica's Integration Engine to connect Ambulatory EMRs"},
              {"id":47774,"concept":"PRODUCT","categories":["PRODUCT"],"date":1554754913975,"objectId":3076,"responsibleUser":{"userId":56,"subjectName":"tyoung-acb","fullName":"Todd Young-ACB","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Accelecare Wound Centers, Inc.","productName":"Old Accelchart"},
              {"id":47741,"concept":"PRODUCT","categories":["PRODUCT"],"date":1554493168321,"objectId":29,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","productName":"4medica iEHR Cloud Ambulatory Suite (edited)"},
              {"id":47742,"concept":"PRODUCT","categories":["PRODUCT"],"date":1554493320309,"objectId":2,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"3M Health Information Systems","productName":"3M™ Audit Expert System (edited)"},
          ]
  
          mock.versionReportsMetadata = [
              {"id":46960,"description":"Product Version 2019 added for product 2884","originalData":null,"newData":{"id":7719,"creationDate":1554154872331,"deleted":false,"lastModifiedDate":1554154872331,"lastModifiedUser":9,"productId":null,"productName":null,"developerId":null,"developerName":null,"version":"2019"},"activityDate":1554169272337,"activityObjectId":7719,"concept":"VERSION","responsibleUser":{"userId":9,"subjectName":"joep@drummondgroup.com","fullName":"Joseph Prihoda","friendlyName":"Joseph","email":"joep@drummondgroup.com","phoneNumber":"409-200-5288","title":"DG Surveillance Administrator","accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null}},
              {"id":46964,"description":"Product Version testV1 added for product 3073","originalData":null,"newData":{"id":7720,"creationDate":1554244907452,
              "deleted":false,"lastModifiedDate":1554244907452,"lastModifiedUser":62,"productId":null,"productName":null,"developerId":null,"developerName":null,"version":"testV1"},"activityDate":1554259307458,"activityObjectId":7720,"concept":"VERSION","responsibleUser":{"userId":62,"subjectName":"aqa-acb","fullName":"AQA ACB","friendlyName":"AQA","email":"chpl@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null}},{"id":46971,"description":"Product Version 2014 added for product 3073","originalData":null,"newData":{"id":7721,"creationDate":1554245617649,"deleted":false,"lastModifiedDate":1554245617649,"lastModifiedUser":62,"productId":null,"productName":null,"developerId":null,"developerName":null,"version":"2014"},"activityDate":1554260017651,"activityObjectId":7721,"concept":"VERSION","responsibleUser":{"userId":62,"subjectName":"aqa-acb","fullName":"AQA ACB","friendlyName":"AQA","email":"chpl@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null}},
              {"id":47051,"description":"Product Version 10.41 updated for product null","originalData":{"id":525,"creationDate":1459484391693,"deleted":false,"lastModifiedDate":1459484391693,"lastModifiedUser":-1,"productId":22,"productName":"4medica Ambulatory Cloud iEHR (Integrated Electronic Health record) with 4medica's Integration Engine to connect Ambulatory EMRs","developerId":1664,"developerName":"4medica, Inc.","version":"10.4"},"newData":{"id":525,"creationDate":1554487617737,"deleted":false,"lastModifiedDate":1554487617737,"lastModifiedUser":54,"productId":22,"productName":"4medica Ambulatory Cloud iEHR (Integrated Electronic Health record) with 4medica's Integration Engine to connect Ambulatory EMRs","developerId":1664,"developerName":"4medica, Inc.","version":"10.41"},"activityDate":1554487617784,"activityObjectId":525,"concept":"VERSION","responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null}},
              {"id":47052,"description":"Product Version 3.1 updated for product null","originalData":{"id":3223,"creationDate":1459484402293,"deleted":false,"lastModifiedDate":1459484402293,"lastModifiedUser":-1,"productId":5,"productName":"3M™ ChartScan™ Software","developerId":1663,"developerName":"3M Health Information Systems","version":"3"},"newData":{"id":3223,"creationDate":1554487760061,"deleted":false,"lastModifiedDate":1554487760061,"lastModifiedUser":56,"productId":5,"productName":"3M™ ChartScan™ Software","developerId":1663,"developerName":"3M Health Information Systems","version":"3.1"},"activityDate":1554487760064,"activityObjectId":3223,"concept":"VERSION","responsibleUser":{"userId":56,"subjectName":"tyoung-acb","fullName":"Todd Young-ACB","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null}},
          ]
          mock.developerReportsMetadata = [
              {"id":46846,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1553736057452,"objectId":2045,"responsibleUser":{"userId":8,"subjectName":"seckgren","fullName":"Stephanie Eckgren","friendlyName":"Stephanie","email":"stephanie.eckgren@ul.com","phoneNumber":"805-783-0810","title":"Quality Manager","accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"PhysicianXpress, Inc.","developerCode":"3044"},{"id":46877,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1553822799263,"objectId":1919,"responsibleUser":{"userId":36,"subjectName":"sgalvan","fullName":"Sonia Galvan","friendlyName":"Sonia","email":"sonia@drummondgroup.com","phoneNumber":"2816609543","title":"Technical Review Manager","accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Empower Systems","developerCode":"2918"},{"id":46896,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1553899077881,"objectId":1929,"responsibleUser":{"userId":36,"subjectName":"sgalvan","fullName":"Sonia Galvan","friendlyName":"Sonia","email":"sonia@drummondgroup.com","phoneNumber":"2816609543","title":"Technical Review Manager","accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Quest Diagnostics Incorporated","developerCode":"2928"},{"id":47034,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484017210,"objectId":1664,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","developerCode":"2663"},{"id":47035,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484070928,"objectId":1664,"responsibleUser":{"userId":56,"subjectName":"tyoung-acb","fullName":"Todd Young-ACB","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","developerCode":"2663"},{"id":47036,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484111336,"objectId":1664,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","developerCode":"2663"},{"id":47037,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484247222,"objectId":1664,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","developerCode":"2663"},{"id":47038,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484317742,"objectId":2046,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"TMY Developer 1","developerCode":"3045"},{"id":47040,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484320473,"objectId":2269,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":null,"developerCode":null},{"id":47041,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484320902,"objectId":2286,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":null,"developerCode":null},{"id":47042,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484321308,"objectId":2287,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":null,"developerCode":null},{"id":47043,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484321708,"objectId":2590,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":null,"developerCode":null},{"id":47044,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484372072,"objectId":1664,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","developerCode":"2663"},{"id":47050,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554486758282,"objectId":1664,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","developerCode":"2663"},{"id":47045,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484489633,"objectId":2047,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"TMY Developer 2","developerCode":"3046"},{"id":47047,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554484490846,"objectId":2589,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":null,"developerCode":null},{"id":47048,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554485626343,"objectId":1892,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Allscripts","developerCode":"2891"},{"id":47049,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554486114216,"objectId":1664,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"4medica, Inc.","developerCode":"2663"},{"id":47765,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554745431058,"objectId":2296,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":null,"developerCode":null},{"id":47754,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554493852531,"objectId":1677,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Amazing Charts","developerCode":"2676"},{"id":47755,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554736289616,"objectId":1663,"responsibleUser":{"userId":56,"subjectName":"tyoung-acb","fullName":"Todd Young-ACB","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"3M Health Information Systems","developerCode":"2662"},{"id":47756,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554736322163,"objectId":1948,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"7 Medical Systems","developerCode":"2947"},{"id":47763,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554745429708,"objectId":2048,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Todd Dev","developerCode":"3047"},{"id":47768,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554745959879,"objectId":2051,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":"Todd Dev 3","developerCode":"3050"},{"id":47770,"concept":"DEVELOPER","categories":["DEVELOPER"],"date":1554745960870,"objectId":2338,"responsibleUser":{"userId":54,"subjectName":"tyoung","fullName":"Todd Young","friendlyName":"Todd","email":"tyoung@ainq.com","phoneNumber":"301-560-6999","title":null,"accountLocked":false,"accountEnabled":true,"credentialsExpired":false,"passwordResetRequired":false,"hash":null},"developerName":null,"developerCode":null}
          ];
  
          mock.surveillanceData = {
              surveillanceTypes: {"expandable":false,"data":[{"id":2,"name":"Randomized","description":null},{"id":1,"name":"Reactive","description":null}]},
              surveillanceRequirementTypes: {"expandable":false,"data":[{"id":1,"name":"Certified Capability","description":null},{"id":3,"name":"Other Requirement","description":null},{"id":2,"name":"Transparency or Disclosure Requirement","description":null}]},
              surveillanceResultTypes: {"expandable":false,"data":[{"id":1,"name":"Non-Conformity","description":null},{"id":2,"name":"No Non-Conformity","description":null}]},
              nonconformityStatusTypes: {"expandable":false,"data":[{"id":2,"name":"Closed","description":null},{"id":1,"name":"Open","description":null}]},
              surveillanceRequirements: {"criteriaOptions2014":[{"id":61,"name":"170.314 (a)(1)","description":null},{"id":62,"name":"170.314 (a)(2)","description":null},{"id":63,"name":"170.314 (a)(3)","description":null},{"id":64,"name":"170.314 (a)(4)","description":null},{"id":65,"name":"170.314 (a)(5)","description":null},{"id":66,"name":"170.314 (a)(6)","description":null},{"id":67,"name":"170.314 (a)(7)","description":null},{"id":68,"name":"170.314 (a)(8)","description":null},{"id":69,"name":"170.314 (a)(9)","description":null},{"id":70,"name":"170.314 (a)(10)","description":null},{"id":71,"name":"170.314 (a)(11)","description":null},{"id":72,"name":"170.314 (a)(12)","description":null},{"id":73,"name":"170.314 (a)(13)","description":null},{"id":74,"name":"170.314 (a)(14)","description":null},{"id":75,"name":"170.314 (a)(15)","description":null},{"id":76,"name":"170.314 (a)(16)","description":null},{"id":77,"name":"170.314 (a)(17)","description":null},{"id":78,"name":"170.314 (a)(18)","description":null},{"id":79,"name":"170.314 (a)(19)","description":null},{"id":80,"name":"170.314 (a)(20)","description":null},{"id":81,"name":"170.314 (b)(1)","description":null},{"id":82,"name":"170.314 (b)(2)","description":null},{"id":83,"name":"170.314 (b)(3)","description":null},{"id":84,"name":"170.314 (b)(4)","description":null},{"id":85,"name":"170.314 (b)(5)(A)","description":null},{"id":86,"name":"170.314 (b)(5)(B)","description":null},{"id":87,"name":"170.314 (b)(6)","description":null},{"id":88,"name":"170.314 (b)(7)","description":null},{"id":89,"name":"170.314 (b)(8)","description":null},{"id":90,"name":"170.314 (b)(9)","description":null},{"id":91,"name":"170.314 (c)(1)","description":null},{"id":92,"name":"170.314 (c)(2)","description":null},{"id":93,"name":"170.314 (c)(3)","description":null},{"id":94,"name":"170.314 (d)(1)","description":null},{"id":95,"name":"170.314 (d)(2)","description":null},{"id":96,"name":"170.314 (d)(3)","description":null},{"id":97,"name":"170.314 (d)(4)","description":null},{"id":98,"name":"170.314 (d)(5)","description":null},{"id":99,"name":"170.314 (d)(6)","description":null},{"id":100,"name":"170.314 (d)(7)","description":null},{"id":101,"name":"170.314 (d)(8)","description":null},{"id":102,"name":"170.314 (d)(9)","description":null},{"id":103,"name":"170.314 (e)(1)","description":null},{"id":104,"name":"170.314 (e)(2)","description":null},{"id":105,"name":"170.314 (e)(3)","description":null},{"id":106,"name":"170.314 (f)(1)","description":null},{"id":107,"name":"170.314 (f)(2)","description":null},{"id":108,"name":"170.314 (f)(3)","description":null},{"id":109,"name":"170.314 (f)(4)","description":null},{"id":110,"name":"170.314 (f)(5)","description":null},{"id":111,"name":"170.314 (f)(6)","description":null},{"id":112,"name":"170.314 (f)(7)","description":null},{"id":113,"name":"170.314 (g)(1)","description":null},{"id":114,"name":"170.314 (g)(2)","description":null},{"id":115,"name":"170.314 (g)(3)","description":null},{"id":116,"name":"170.314 (g)(4)","description":null},{"id":117,"name":"170.314 (h)(1)","description":null},{"id":118,"name":"170.314 (h)(2)","description":null},{"id":119,"name":"170.314 (h)(3)","description":null}],"criteriaOptions2015":[{"id":1,"name":"170.315 (a)(1)","description":null},{"id":2,"name":"170.315 (a)(2)","description":null},{"id":3,"name":"170.315 (a)(3)","description":null},{"id":4,"name":"170.315 (a)(4)","description":null},{"id":5,"name":"170.315 (a)(5)","description":null},{"id":6,"name":"170.315 (a)(6)","description":null},{"id":7,"name":"170.315 (a)(7)","description":null},{"id":8,"name":"170.315 (a)(8)","description":null},{"id":9,"name":"170.315 (a)(9)","description":null},{"id":10,"name":"170.315 (a)(10)","description":null},{"id":11,"name":"170.315 (a)(11)","description":null},{"id":12,"name":"170.315 (a)(12)","description":null},{"id":13,"name":"170.315 (a)(13)","description":null},{"id":14,"name":"170.315 (a)(14)","description":null},{"id":15,"name":"170.315 (a)(15)","description":null},{"id":16,"name":"170.315 (b)(1)","description":null},{"id":17,"name":"170.315 (b)(2)","description":null},{"id":18,"name":"170.315 (b)(3)","description":null},{"id":19,"name":"170.315 (b)(4)","description":null},{"id":20,"name":"170.315 (b)(5)","description":null},{"id":21,"name":"170.315 (b)(6)","description":null},{"id":22,"name":"170.315 (b)(7)","description":null},{"id":23,"name":"170.315 (b)(8)","description":null},{"id":24,"name":"170.315 (b)(9)","description":null},{"id":25,"name":"170.315 (c)(1)","description":null},{"id":26,"name":"170.315 (c)(2)","description":null},{"id":27,"name":"170.315 (c)(3)","description":null},{"id":28,"name":"170.315 (c)(4)","description":null},{"id":29,"name":"170.315 (d)(1)","description":null},{"id":30,"name":"170.315 (d)(2)","description":null},{"id":31,"name":"170.315 (d)(3)","description":null},{"id":32,"name":"170.315 (d)(4)","description":null},{"id":33,"name":"170.315 (d)(5)","description":null},{"id":34,"name":"170.315 (d)(6)","description":null},{"id":35,"name":"170.315 (d)(7)","description":null},{"id":36,"name":"170.315 (d)(8)","description":null},{"id":37,"name":"170.315 (d)(9)","description":null},{"id":38,"name":"170.315 (d)(10)","description":null},{"id":39,"name":"170.315 (d)(11)","description":null},{"id":40,"name":"170.315 (e)(1)","description":null},{"id":41,"name":"170.315 (e)(2)","description":null},{"id":42,"name":"170.315 (e)(3)","description":null},{"id":43,"name":"170.315 (f)(1)","description":null},{"id":44,"name":"170.315 (f)(2)","description":null},{"id":45,"name":"170.315 (f)(3)","description":null},{"id":46,"name":"170.315 (f)(4)","description":null},{"id":47,"name":"170.315 (f)(5)","description":null},{"id":48,"name":"170.315 (f)(6)","description":null},{"id":49,"name":"170.315 (f)(7)","description":null},{"id":50,"name":"170.315 (g)(1)","description":null},{"id":51,"name":"170.315 (g)(2)","description":null},{"id":52,"name":"170.315 (g)(3)","description":null},{"id":53,"name":"170.315 (g)(4)","description":null},{"id":54,"name":"170.315 (g)(5)","description":null},{"id":55,"name":"170.315 (g)(6)","description":null},{"id":56,"name":"170.315 (g)(7)","description":null},{"id":57,"name":"170.315 (g)(8)","description":null},{"id":58,"name":"170.315 (g)(9)","description":null},{"id":59,"name":"170.315 (h)(1)","description":null},{"id":60,"name":"170.315 (h)(2)","description":null}],"transparencyOptions":["170.523 (k)(1)","170.523 (k)(2)"]},
              nonconformityTypes: {"expandable":false,"data":[{"id":74,"name":"170.314 (a)(14)","description":null},{"id":89,"name":"170.314 (b)(8)","description":null},{"id":38,"name":"170.315 (d)(10)","description":null},{"id":118,"name":"170.314 (h)(2)","description":null},{"id":23,"name":"170.315 (b)(8)","description":null},{"id":102,"name":"170.314 (d)(9)","description":null},{"id":37,"name":"170.315 (d)(9)","description":null},{"id":106,"name":"170.314 (f)(1)","description":null},{"id":60,"name":"170.315 (h)(2)","description":null},{"id":43,"name":"170.315 (f)(1)","description":null},{"id":64,"name":"170.314 (a)(4)","description":null},{"id":4,"name":"170.315 (a)(4)","description":null},{"id":null,"name":"Other Non-Conformity","description":null},{"id":75,"name":"170.314 (a)(15)","description":null},{"id":56,"name":"170.315 (g)(7)","description":null},{"id":73,"name":"170.314 (a)(13)","description":null},{"id":88,"name":"170.314 (b)(7)","description":null},{"id":15,"name":"170.315 (a)(15)","description":null},{"id":16,"name":"170.315 (b)(1)","description":null},{"id":39,"name":"170.315 (d)(11)","description":null},{"id":85,"name":"170.314 (b)(5)(A)","description":null},{"id":119,"name":"170.314 (h)(3)","description":null},{"id":24,"name":"170.315 (b)(9)","description":null},{"id":36,"name":"170.315 (d)(8)","description":null},{"id":63,"name":"170.314 (a)(3)","description":null},{"id":5,"name":"170.315 (a)(5)","description":null},{"id":59,"name":"170.315 (h)(1)","description":null},{"id":28,"name":"170.315 (c)(4)","description":null},{"id":44,"name":"170.315 (f)(2)","description":null},{"id":94,"name":"170.314 (d)(1)","description":null},{"id":55,"name":"170.315 (g)(6)","description":null},{"id":87,"name":"170.314 (b)(6)","description":null},{"id":116,"name":"170.314 (g)(4)","description":null},{"id":21,"name":"170.315 (b)(6)","description":null},{"id":80,"name":"170.314 (a)(20)","description":null},{"id":14,"name":"170.315 (a)(14)","description":null},{"id":null,"name":"170.523 (k)(2)","description":null},{"id":96,"name":"170.314 (d)(3)","description":null},{"id":46,"name":"170.315 (f)(4)","description":null},{"id":86,"name":"170.314 (b)(5)(B)","description":null},{"id":35,"name":"170.315 (d)(7)","description":null},{"id":62,"name":"170.314 (a)(2)","description":null},{"id":2,"name":"170.315 (a)(2)","description":null},{"id":108,"name":"170.314 (f)(3)","description":null},{"id":27,"name":"170.315 (c)(3)","description":null},{"id":45,"name":"170.315 (f)(3)","description":null},{"id":95,"name":"170.314 (d)(2)","description":null},{"id":58,"name":"170.315 (g)(9)","description":null},{"id":77,"name":"170.314 (a)(17)","description":null},{"id":22,"name":"170.315 (b)(7)","description":null},{"id":13,"name":"170.315 (a)(13)","description":null},{"id":null,"name":"170.523 (k)(1)","description":null},{"id":97,"name":"170.314 (d)(4)","description":null},{"id":117,"name":"170.314 (h)(1)","description":null},{"id":47,"name":"170.315 (f)(5)","description":null},{"id":34,"name":"170.315 (d)(6)","description":null},{"id":107,"name":"170.314 (f)(2)","description":null},{"id":61,"name":"170.314 (a)(1)","description":null},{"id":3,"name":"170.315 (a)(3)","description":null},{"id":26,"name":"170.315 (c)(2)","description":null},{"id":69,"name":"170.314 (a)(9)","description":null},{"id":57,"name":"170.315 (g)(8)","description":null},{"id":76,"name":"170.314 (a)(16)","description":null},{"id":19,"name":"170.315 (b)(4)","description":null},{"id":51,"name":"170.315 (g)(2)","description":null},{"id":114,"name":"170.314 (g)(2)","description":null},{"id":40,"name":"170.315 (e)(1)","description":null},{"id":70,"name":"170.314 (a)(10)","description":null},{"id":84,"name":"170.314 (b)(4)","description":null},{"id":103,"name":"170.314 (e)(1)","description":null},{"id":12,"name":"170.315 (a)(12)","description":null},{"id":48,"name":"170.315 (f)(6)","description":null},{"id":98,"name":"170.314 (d)(5)","description":null},{"id":33,"name":"170.315 (d)(5)","description":null},{"id":111,"name":"170.314 (f)(6)","description":null},{"id":25,"name":"170.315 (c)(1)","description":null},{"id":79,"name":"170.314 (a)(19)","description":null},{"id":68,"name":"170.314 (a)(8)","description":null},{"id":8,"name":"170.315 (a)(8)","description":null},{"id":11,"name":"170.315 (a)(11)","description":null},{"id":20,"name":"170.315 (b)(5)","description":null},{"id":50,"name":"170.315 (g)(1)","description":null},{"id":115,"name":"170.314 (g)(3)","description":null},{"id":41,"name":"170.315 (e)(2)","description":null},{"id":83,"name":"170.314 (b)(3)","description":null},{"id":91,"name":"170.314 (c)(1)","description":null},{"id":49,"name":"170.315 (f)(7)","description":null},{"id":99,"name":"170.314 (d)(6)","description":null},{"id":32,"name":"170.315 (d)(4)","description":null},{"id":110,"name":"170.314 (f)(5)","description":null},{"id":1,"name":"170.315 (a)(1)","description":null},{"id":109,"name":"170.314 (f)(4)","description":null},{"id":67,"name":"170.314 (a)(7)","description":null},{"id":92,"name":"170.314 (c)(2)","description":null},{"id":9,"name":"170.315 (a)(9)","description":null},{"id":42,"name":"170.315 (e)(3)","description":null},{"id":78,"name":"170.314 (a)(18)","description":null},{"id":10,"name":"170.315 (a)(10)","description":null},{"id":53,"name":"170.315 (g)(4)","description":null},{"id":72,"name":"170.314 (a)(12)","description":null},{"id":82,"name":"170.314 (b)(2)","description":null},{"id":105,"name":"170.314 (e)(3)","description":null},{"id":17,"name":"170.315 (b)(2)","description":null},{"id":31,"name":"170.315 (d)(3)","description":null},{"id":100,"name":"170.314 (d)(7)","description":null},{"id":66,"name":"170.314 (a)(6)","description":null},{"id":6,"name":"170.315 (a)(6)","description":null},{"id":93,"name":"170.314 (c)(3)","description":null},{"id":54,"name":"170.315 (g)(5)","description":null},{"id":71,"name":"170.314 (a)(11)","description":null},{"id":52,"name":"170.315 (g)(3)","description":null},{"id":113,"name":"170.314 (g)(1)","description":null},{"id":81,"name":"170.314 (b)(1)","description":null},{"id":104,"name":"170.314 (e)(2)","description":null},{"id":null,"name":"170.523 (l)","description":null},{"id":18,"name":"170.315 (b)(3)","description":null},{"id":30,"name":"170.315 (d)(2)","description":null},{"id":101,"name":"170.314 (d)(8)","description":null},{"id":90,"name":"170.314 (b)(9)","description":null},{"id":112,"name":"170.314 (f)(7)","description":null},{"id":65,"name":"170.314 (a)(5)","description":null},{"id":29,"name":"170.315 (d)(1)","description":null},{"id":7,"name":"170.315 (a)(7)","description":null}]},
          };
  
          mock.svaps = angular.copy(svaps);
          mock.availableCriteria = angular.copy(availableCriteria);
          return mock;
      }
  })();
  