Skip to content

Commit

Permalink
Merge pull request #169 from MeasureAuthoringTool/develop
Browse files Browse the repository at this point in the history
0.6.7 Final
  • Loading branch information
gregory-akins authored Oct 3, 2023
2 parents 9cb6487 + 07d49ba commit 9d4a4af
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<groupId>gov.cms.madie</groupId>
<artifactId>madie-java-models</artifactId>
<version>0.6.6</version>
<version>0.6.7</version>
<name>madie-java-models</name>
<description>Java based models for MADiE microservices</description>
<properties>
Expand Down
19 changes: 14 additions & 5 deletions src/main/java/gov/cms/madie/models/common/ModelType.java
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@

@Getter
public enum ModelType {
QI_CORE("QI-Core v4.1.1"),
QDM_5_6("QDM v5.6");
QI_CORE("QI-Core v4.1.1", "qicore"),
QDM_5_6("QDM v5.6", "qdm");

private String value;
private String shortValue;
private static final Map<String, ModelType> MODEL_TYPE_BY_VALUE = new HashMap<>();

static {
Expand All @@ -19,9 +20,17 @@ public enum ModelType {
}
}

ModelType(String value) {
this.value = value;
}
/**
* Value is the string that appears in the UI to identify the model being used
* ShortValue is the string that will be appended to classes to dynamically reference classes
*
* @param value
* @param shortValue
*/
ModelType(String value, String shortValue) {
this.value = value;
this.shortValue = shortValue;
}

@Override
public String toString() {
Expand Down

0 comments on commit 9d4a4af

Please sign in to comment.