use of org.pmiops.workbench.model.SearchRequest in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsICD10MeasurementChild.
@Test
public void countSubjectsICD10MeasurementChild() throws Exception {
SearchParameter icd10 = createSearchParameter(icd10MeasurementChild, "R92.2");
SearchRequest searchRequest = createSearchRequests(icd10MeasurementChild.getType(), Arrays.asList(icd10));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchRequest in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsCPTProcedureOccurrence.
@Test
public void countSubjectsCPTProcedureOccurrence() throws Exception {
SearchParameter cpt = createSearchParameter(cptProcedure, "0001T");
SearchRequest searchRequest = createSearchRequests(cptProcedure.getType(), Arrays.asList(cpt));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchRequest in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsICD10ProcedureOccurrenceChild.
@Test
public void countSubjectsICD10ProcedureOccurrenceChild() throws Exception {
SearchParameter icd10 = createSearchParameter(icd10ProcedureChild, "16070");
SearchRequest searchRequest = createSearchRequests(icd10ProcedureChild.getType(), Arrays.asList(icd10));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchRequest in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsCPTDrugExposure.
@Test
public void countSubjectsCPTDrugExposure() throws Exception {
SearchParameter cpt = createSearchParameter(cptDrug, "90703");
SearchRequest searchRequest = createSearchRequests(cptDrug.getType(), Arrays.asList(cpt));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchRequest in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsICD9ProcedureOccurrenceChild.
@Test
public void countSubjectsICD9ProcedureOccurrenceChild() throws Exception {
SearchParameter icd9 = createSearchParameter(icd9ProcedureChild, "002.1");
SearchRequest searchRequest = createSearchRequests(icd9ProcedureChild.getType(), Arrays.asList(icd9));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
Aggregations