-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #141 from MeasureAuthoringTool/develop
Release version 0.5.1
- Loading branch information
Showing
51 changed files
with
942 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
src/main/java/gov/cms/madie/models/common/ImprovementNotation.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package gov.cms.madie.models.common; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public enum ImprovementNotation { | ||
|
||
@JsonProperty("Increased score indicates improvement") | ||
INCREASED_SCORE_INDICATES_IMPROVEMENT("Increased score indicates improvement"), | ||
|
||
@JsonProperty("Decreased score indicates improvement") | ||
DECREASED_SCORE_INDICATES_IMPROVEMENT("Decreased score indicates improvement"); | ||
|
||
private final String value; | ||
|
||
ImprovementNotation(String value) { | ||
this.value = value; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return this.value; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
src/main/java/gov/cms/madie/models/library/CqlLibraryDraft.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
src/main/java/gov/cms/madie/models/measure/BaseConfigurationTypes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
package gov.cms.madie.models.measure; | ||
|
||
import java.util.Arrays; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public enum BaseConfigurationTypes { | ||
@JsonProperty("Appropriate Use Process") | ||
APPROPRIATE_USE_PROCESS("Appropriate Use Process"), | ||
@JsonProperty("Cost/Resource Use") | ||
COST_OR_RESOURCE_USE("Cost/Resource Use"), | ||
@JsonProperty("Efficiency") | ||
EFFICIENCY("Efficiency"), | ||
@JsonProperty("Intermediate Clinical Outcome") | ||
INTERMEDIATE_CLINICAL_OUTCOME("Intermediate Clinical Outcome"), | ||
@JsonProperty("Outcome") | ||
OUTCOME("Outcome"), | ||
@JsonProperty("Patient Engagement/Experience") | ||
PATIENT_ENGAGEMENT_OR_EXPERIENCE("Patient Engagement/Experience"), | ||
@JsonProperty("Patient Reported Outcome") | ||
PATIENT_REPORTED_OUTCOME("Patient Reported Outcome"), | ||
@JsonProperty("Performance") | ||
PERFORMANCE("Performance"), | ||
@JsonProperty("Process") | ||
PROCESS("Process"), | ||
@JsonProperty("Structure") | ||
STRUCTURE("Structure"); | ||
|
||
private final String text; | ||
|
||
BaseConfigurationTypes(String text) { | ||
this.text = text; | ||
} | ||
|
||
@Override | ||
public String toString() { | ||
return this.text; | ||
} | ||
|
||
public static BaseConfigurationTypes valueOfText(String text) { | ||
return Arrays.stream(BaseConfigurationTypes.values()) | ||
.filter(s -> s.text.equals(text)) | ||
.findFirst() | ||
.orElseThrow( | ||
() -> | ||
new IllegalArgumentException( | ||
"No enum constant " + BaseConfigurationTypes.class.getCanonicalName() + "." + text)); | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
src/main/java/gov/cms/madie/models/measure/DefDescPair.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package gov.cms.madie.models.measure; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
|
||
@Data | ||
@Builder(toBuilder = true) | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class DefDescPair { | ||
|
||
private String definition; | ||
|
||
private String description; | ||
|
||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package gov.cms.madie.models.measure; | ||
|
||
import lombok.AllArgsConstructor; | ||
import lombok.Builder; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import org.springframework.data.annotation.Id; | ||
|
||
@Data | ||
@Builder | ||
@NoArgsConstructor | ||
@AllArgsConstructor | ||
public class Export { | ||
@Id | ||
private String id; | ||
private String measureId; | ||
private String measureBundleJson; | ||
} |
22 changes: 22 additions & 0 deletions
22
src/main/java/gov/cms/madie/models/measure/FhirMeasure.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
package gov.cms.madie.models.measure; | ||
|
||
import com.fasterxml.jackson.annotation.JsonTypeName; | ||
|
||
import gov.cms.madie.models.validators.ValidFhirGroup; | ||
import lombok.Data; | ||
import lombok.NoArgsConstructor; | ||
import lombok.ToString; | ||
import lombok.experimental.SuperBuilder; | ||
|
||
import java.util.List; | ||
|
||
@Data | ||
@SuperBuilder(toBuilder = true) | ||
@NoArgsConstructor | ||
@JsonTypeName("QI-Core v4.1.1") | ||
@ToString(callSuper=true) | ||
@ValidFhirGroup | ||
public class FhirMeasure extends Measure { | ||
|
||
private List<TestCase> testCases; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/main/java/gov/cms/madie/models/measure/MeasureMetaData.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.