Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nathandoef committed Feb 8, 2025
1 parent 3ca4a48 commit cac7c86
Showing 1 changed file with 0 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@ private ResourceIndexedSearchParams extractSearchParams(Observation theObservati
ResourceIndexedSearchParams retval = ResourceIndexedSearchParams.withSets();
retval.myDateParams.add(extractEffectiveDateParam(theObservation));
retval.myTokenParams.add(extractCodeTokenParam(theObservation));
retval.myTokenParams.add(extractSecurityTokenParam(theObservation));
return retval;
}

Expand All @@ -469,11 +468,6 @@ protected ResourceIndexedSearchParamToken extractCodeTokenParam(Observation theO
return new ResourceIndexedSearchParamToken(new PartitionSettings(), "Observation", "code", coding.getSystem(), coding.getCode());
}

protected ResourceIndexedSearchParamToken extractSecurityTokenParam(Observation theObservation) {
Coding security = theObservation.getMeta().getSecurityFirstRep();
return new ResourceIndexedSearchParamToken(new PartitionSettings(), "Observation", "_security", security.getSystem(), security.getCode());
}

protected ResourceIndexedSearchParamUri extractSourceUriParam(Observation theObservation) {
String source = theObservation.getMeta().getSource();
return new ResourceIndexedSearchParamUri(new PartitionSettings(), "Observation", "_source", source);
Expand Down

0 comments on commit cac7c86

Please sign in to comment.