From 996cca79dd0f5fbbac6bc307351cd0e18974a23c Mon Sep 17 00:00:00 2001 From: Cecilia Liu Date: Wed, 11 Sep 2024 15:51:54 -0500 Subject: [PATCH] MAT-7611 shift dates for LaboratoryTestPerformed Result --- pom.xml | 2 +- .../madie/models/cqm/datacriteria/LaboratoryTestPerformed.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 2c4a9ae..2a21670 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ gov.cms.madie madie-java-models - 0.6.62-SNAPSHOT + 0.6.63-SNAPSHOT madie-java-models Java based models for MADiE microservices diff --git a/src/main/java/gov/cms/madie/models/cqm/datacriteria/LaboratoryTestPerformed.java b/src/main/java/gov/cms/madie/models/cqm/datacriteria/LaboratoryTestPerformed.java index 9225717..55e7d85 100644 --- a/src/main/java/gov/cms/madie/models/cqm/datacriteria/LaboratoryTestPerformed.java +++ b/src/main/java/gov/cms/madie/models/cqm/datacriteria/LaboratoryTestPerformed.java @@ -74,6 +74,7 @@ public void shiftDates(int shifted) { this.resultDatetime = shiftDateByYear(this.resultDatetime, shifted); this.relevantPeriod = shiftIntervalByYear(this.relevantPeriod, shifted); this.referenceRange = shiftIntervalByYear(this.referenceRange, shifted); + this.result = shiftDateByYearForObject(this.result, shifted); if (!CollectionUtils.isEmpty(this.components)) { this.components.stream() .forEach(