Skip to content

Commit

Permalink
MAT-7279 updated the measure type options
Browse files Browse the repository at this point in the history
  • Loading branch information
sb-prateekkeerthi committed Jul 1, 2024
1 parent f9036ca commit 0f76070
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
<dependency>
<groupId>gov.cms.madie</groupId>
<artifactId>madie-java-models</artifactId>
<version>0.6.39-SNAPSHOT</version>
<version>0.6.42-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>gov.cms.madie.packaging</groupId>
Expand Down
19 changes: 9 additions & 10 deletions src/main/java/gov/cms/madie/util/MadieConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}
9 changes: 4 additions & 5 deletions src/main/java/gov/cms/madie/util/MappingUtil.java
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 0f76070

Please sign in to comment.