From 0f760708b2348c72e41656f890a7895b58225d0e Mon Sep 17 00:00:00 2001 From: Prateek Keerthi Date: Mon, 1 Jul 2024 14:58:27 -0400 Subject: [PATCH] MAT-7279 updated the measure type options --- pom.xml | 2 +- .../gov/cms/madie/util/MadieConstants.java | 19 +++++++++---------- .../java/gov/cms/madie/util/MappingUtil.java | 9 ++++----- 3 files changed, 14 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 171159c..ebfae33 100644 --- a/pom.xml +++ b/pom.xml @@ -67,7 +67,7 @@ gov.cms.madie madie-java-models - 0.6.39-SNAPSHOT + 0.6.42-SNAPSHOT gov.cms.madie.packaging diff --git a/src/main/java/gov/cms/madie/util/MadieConstants.java b/src/main/java/gov/cms/madie/util/MadieConstants.java index c11a9f4..0a8eb30 100644 --- a/src/main/java/gov/cms/madie/util/MadieConstants.java +++ b/src/main/java/gov/cms/madie/util/MadieConstants.java @@ -13,15 +13,14 @@ interface Scoring { } interface MeasureType { - String APPROPRIATE_USE_PROCESS = "APPROPRIATE"; - String COST_OR_RESOURCE_USE = "RESOURCE"; - String EFFICIENCY = "EFFICIENCY"; - String INTERMEDIATE_CLINICAL_OUTCOME = "INTERM-OM"; - String OUTCOME = "OUTCOME"; - String PATIENT_ENGAGEMENT_OR_EXPERIENCE = "EXPERIENCE"; - String PATIENT_REPORTED_OUTCOME = "PRO-PM"; - String PERFORMANCE = "PERFORMANCE"; - String PROCESS = "PROCESS"; - String STRUCTURE = "STRUCTURE"; + String APPROPRIATE_USE_PROCESS = "Appropriate Use Process"; + String RESOURCE_USE = "Resource Use"; + String EFFICIENCY = "Efficiency"; + String INTERMEDIATE_CLINICAL_OUTCOME = "Intermediate Clinical Outcome"; + String OUTCOME = "Outcome"; + String EXPERIENCE = "Experience"; + String PATIENT_REPORTED_OUTCOME_PERFORMANCE = "Patient Reported Outcome Performance"; + String PROCESS = "Process"; + String STRUCTURE = "Structure"; } } diff --git a/src/main/java/gov/cms/madie/util/MappingUtil.java b/src/main/java/gov/cms/madie/util/MappingUtil.java index e36f3b1..23fbd31 100644 --- a/src/main/java/gov/cms/madie/util/MappingUtil.java +++ b/src/main/java/gov/cms/madie/util/MappingUtil.java @@ -26,16 +26,15 @@ public static String getScoringAbbr(String scoring) { public static String getMeasureTypeId(BaseConfigurationTypes baseConfigurationType) { return switch (baseConfigurationType) { case APPROPRIATE_USE_PROCESS -> MadieConstants.MeasureType.APPROPRIATE_USE_PROCESS; - case COST_OR_RESOURCE_USE -> MadieConstants.MeasureType.COST_OR_RESOURCE_USE; + case RESOURCE_USE -> MadieConstants.MeasureType.RESOURCE_USE; case EFFICIENCY -> MadieConstants.MeasureType.EFFICIENCY; case INTERMEDIATE_CLINICAL_OUTCOME -> MadieConstants.MeasureType .INTERMEDIATE_CLINICAL_OUTCOME; case OUTCOME -> MadieConstants.MeasureType.OUTCOME; - case PATIENT_ENGAGEMENT_OR_EXPERIENCE -> MadieConstants.MeasureType - .PATIENT_ENGAGEMENT_OR_EXPERIENCE; + case EXPERIENCE -> MadieConstants.MeasureType + .EXPERIENCE; case PATIENT_REPORTED_OUTCOME_PERFORMANCE -> MadieConstants.MeasureType - .PATIENT_REPORTED_OUTCOME; - case PERFORMANCE -> MadieConstants.MeasureType.PERFORMANCE; + .PATIENT_REPORTED_OUTCOME_PERFORMANCE; case PROCESS -> MadieConstants.MeasureType.PROCESS; case STRUCTURE -> MadieConstants.MeasureType.STRUCTURE; default -> throw new PackagingException(