final cleanup

This commit is contained in:
Ken Stevens 2020-01-23 19:20:51 -05:00
parent 01bc941f5f
commit b465a7b781
3 changed files with 1 additions and 7 deletions

View File

@ -19,7 +19,7 @@ public class QueryRootEntry {
myResourceTableRoot = theResourceTableQuery.from(ResourceTable.class); myResourceTableRoot = theResourceTableQuery.from(ResourceTable.class);
} }
public Root<ResourceTable> getRoot() { public Root<ResourceTable> getRoot() {
return myResourceTableRoot; return myResourceTableRoot;
} }

View File

@ -1821,10 +1821,8 @@ public class FhirResourceDaoR4SearchNoHashesTest extends BaseJpaR4Test {
ourLog.info("P1[{}] P2[{}] O1[{}] O2[{}] D1[{}]", patientId01, patientId02, obsId01, obsId02, drId01); ourLog.info("P1[{}] P2[{}] O1[{}] O2[{}] D1[{}]", patientId01, patientId02, obsId01, obsId02, drId01);
myCaptureQueriesListener.clear();
List<Observation> result = toList(myObservationDao List<Observation> result = toList(myObservationDao
.search(new SearchParameterMap().setLoadSynchronous(true).add(Observation.SP_SUBJECT, new ReferenceParam(Patient.SP_IDENTIFIER, "urn:system|testSearchResourceLinkWithChain01")))); .search(new SearchParameterMap().setLoadSynchronous(true).add(Observation.SP_SUBJECT, new ReferenceParam(Patient.SP_IDENTIFIER, "urn:system|testSearchResourceLinkWithChain01"))));
myCaptureQueriesListener.logAllQueriesForCurrentThread();
assertEquals(1, result.size()); assertEquals(1, result.size());
assertEquals(obsId01.getIdPart(), result.get(0).getIdElement().getIdPart()); assertEquals(obsId01.getIdPart(), result.get(0).getIdElement().getIdPart());

View File

@ -121,10 +121,6 @@ public class SearchParamExtractorService {
} }
} }
// private ISearchParamExtractor.SearchParamSet<ResourceIndexedSearchParamCoords> extractSearchParamCoords(IBaseResource theResource) {
// return mySearchParamExtractor.extractSearchParamCoords(theResource);
// }
private ISearchParamExtractor.SearchParamSet<ResourceIndexedSearchParamDate> extractSearchParamDates(IBaseResource theResource) { private ISearchParamExtractor.SearchParamSet<ResourceIndexedSearchParamDate> extractSearchParamDates(IBaseResource theResource) {
return mySearchParamExtractor.extractSearchParamDates(theResource); return mySearchParamExtractor.extractSearchParamDates(theResource);
} }