Skip to content

Commit

Permalink
Remove assumption of millisecond precision
Browse files Browse the repository at this point in the history
  • Loading branch information
smailliwcs committed Mar 14, 2024
1 parent 256ff48 commit ef2b0e8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,6 @@ private MeasureReport generateMeasureReport() {
MeasureReport measureReport;
String patientDataBundleId = ReportIdHelper.getPatientDataBundleId(reportContext.getMasterIdentifierValue(), patientId);
String measureId = this.measureContext.getMeasure().getIdElement().getIdPart();
String start = this.criteria.getPeriodStart().substring(0, this.criteria.getPeriodStart().indexOf("."));
String end = this.criteria.getPeriodEnd().substring(0, this.criteria.getPeriodEnd().indexOf("."));

Bundle patientBundle;
try (Stopwatch stopwatch = this.stopwatchManager.start(Constants.TASK_RETRIEVE_PATIENT_DATA, Constants.CATEGORY_REPORT)) {
Expand All @@ -60,7 +58,7 @@ private MeasureReport generateMeasureReport() {
Helper.dumpToFile(patientBundle, config.getDebugPath(), fileName);
}

logger.info("Executing $evaluate-measure for measure: {}, start: {}, end: {}, patient: {}, resources: {}", measureId, start, end, patientId, patientBundle.getEntry().size());
logger.info("Executing $evaluate-measure for measure: {}, start: {}, end: {}, patient: {}, resources: {}", measureId, criteria.getPeriodStart(), criteria.getPeriodEnd(), patientId, patientBundle.getEntry().size());

//noinspection unused
try (Stopwatch stopwatch = this.stopwatchManager.start(Constants.TASK_MEASURE, Constants.CATEGORY_EVALUATE)) {
Expand Down

0 comments on commit ef2b0e8

Please sign in to comment.