Skip to content

Commit

Permalink
fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
smirnovaae committed Jul 1, 2024
1 parent 0b77eb9 commit 277fc46
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ public interface BFDClient {

IBaseBundle requestEOBFromServer(FhirVersion version, long patientID, String contractNum);
IBaseBundle requestEOBFromServer(FhirVersion version, long patientID, OffsetDateTime sinceTime, String contractNum);
// IBaseBundle requestEOBFromServer(FhirVersion version, long patientID, OffsetDateTime sinceTime, OffsetDateTime untilTime, String contractNum);
IBaseBundle requestNextBundleFromServer(FhirVersion version, IBaseBundle bundle, String contractNum);

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,13 +104,11 @@ public IBaseBundle requestEOBFromServer(FhirVersion version, long patientID, Str
backoff = @Backoff(delayExpression = "${bfd.retry.backoffDelay:250}", multiplier = 2),
exclude = { ResourceNotFoundException.class }
)
// public IBaseBundle requestEOBFromServer(FhirVersion version, long patientID, OffsetDateTime sinceTime, OffsetDateTime untilTime, String contractNum) {
public IBaseBundle requestEOBFromServer(FhirVersion version, long patientID, OffsetDateTime sinceTime, String contractNum) {
final Segment bfdSegment = NewRelic.getAgent().getTransaction().startSegment("BFD Call for patient with patient ID " + patientID +
" using since " + sinceTime);// + " and until " + untilTime);
" using since " + sinceTime);
bfdSegment.setMetricName("RequestEOB");

// IBaseBundle result = bfdSearch.searchEOB(patientID, sinceTime, untilTime, pageSize, getJobId(), version, contractNum);
IBaseBundle result = bfdSearch.searchEOB(patientID, sinceTime, pageSize, getJobId(), version, contractNum);

bfdSegment.end();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,5 @@
import java.time.OffsetDateTime;

public interface BFDSearch {
// IBaseBundle searchEOB(long patientId, OffsetDateTime since, OffsetDateTime until, int pageSize, String bulkJobId, FhirVersion version, String contractNum) throws IOException;
IBaseBundle searchEOB(long patientId, OffsetDateTime since, int pageSize, String bulkJobId, FhirVersion version, String contractNum) throws IOException;
}
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public BFDSearchImpl(HttpClient httpClient, Environment environment, BfdClientVe
*/
@Trace
@Override
// public IBaseBundle searchEOB(long patientId, OffsetDateTime since, OffsetDateTime until, int pageSize, String bulkJobId, FhirVersion version, String contractNum) throws IOException {
public IBaseBundle searchEOB(long patientId, OffsetDateTime since, int pageSize, String bulkJobId, FhirVersion version, String contractNum) throws IOException {
String urlLocation = bfdClientVersions.getUrl(version);
StringBuilder url = new StringBuilder(urlLocation + "ExplanationOfBenefit?patient=" + patientId + "&excludeSAMHSA=true");
Expand All @@ -65,10 +64,6 @@ public IBaseBundle searchEOB(long patientId, OffsetDateTime since, int pageSize,
}
}

// if (until != null) {
// url.append("&_lastUpdated=le").append(until);
// }

if (pageSize > 0) {
url.append("&_count=").append(pageSize);
}
Expand Down

0 comments on commit 277fc46

Please sign in to comment.