use of org.pmiops.workbench.model.SearchParameter in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsICD9MeasurementChild.
@Test
public void countSubjectsICD9MeasurementChild() throws Exception {
SearchParameter icd9 = createSearchParameter(icd9MeasurementChild, "003.1");
SearchRequest searchRequest = createSearchRequests(icd9MeasurementChild.getType(), Arrays.asList(icd9));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchParameter in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsCPTMeasurement.
@Test
public void countSubjectsCPTMeasurement() throws Exception {
SearchParameter cpt = createSearchParameter(cptMeasurement, "0001Q");
SearchRequest searchRequest = createSearchRequests(cptMeasurement.getType(), Arrays.asList(cpt));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchParameter in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsICD9ProcedureOccurrenceParent.
@Test
public void countSubjectsICD9ProcedureOccurrenceParent() throws Exception {
SearchParameter icd9 = createSearchParameter(icd9ProcedureParent, "002");
SearchRequest searchRequest = createSearchRequests(icd9ProcedureParent.getType(), Arrays.asList(icd9));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchParameter in project workbench by all-of-us.
the class CohortBuilderControllerTest method countSubjectsICD10ConditionOccurrenceParent.
@Test
public void countSubjectsICD10ConditionOccurrenceParent() throws Exception {
SearchParameter icd10 = createSearchParameter(icd10ConditionParent, "A");
SearchRequest searchRequest = createSearchRequests(icd10ConditionParent.getType(), Arrays.asList(icd10));
assertParticipants(controller.countParticipants(cdrVersion.getCdrVersionId(), searchRequest), 1);
}
use of org.pmiops.workbench.model.SearchParameter 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);
}
Aggregations