Skip to content

Commit 4fcaf0f

Browse files
authored
Merge pull request #1044 from CMSgov/feature/QPPSF-7463_Revert-Supplemental-Validation
QPPSF-7463: Revert Supplemental Validation
2 parents 8d9f9d1 + 6408acd commit 4fcaf0f

File tree

4 files changed

+0
-22
lines changed

4 files changed

+0
-22
lines changed

ERROR_MESSAGES.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,5 @@ Any text in the following format `(Example)` are considered variables to be fill
8484
* 96 : CT - The APM to TIN/NPI Combination file is missing.
8585
* 97 : CT - CPC+ QRDA-III Submissions require a valid Cehrt ID (Valid Format: XX15EXXXXXXXXXX)
8686
* 98 : CT - The performance rate cannot have a value of 0 and must be of value Null Attribute (NA).
87-
* 99 : CT - The measure id `(Measure Id)` has a duplicate & invalid supplemental data of type `(Supplemental Type)`
8887
* 100 : CT - More than one Cehrt ID was found. Please submit with only one Cehrt id.
8988
* 101 : CT - Denominator count must be equal to Initial Population count for CPC Plus measure population `(measure population id)`.

commons/src/main/java/gov/cms/qpp/conversion/model/error/ProblemCode.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,6 @@ public enum ProblemCode implements LocalizedProblem {
185185
MISSING_API_TIN_NPI_FILE(96, "The APM to TIN/NPI Combination file is missing."),
186186
CPC_MISSING_CEHRT_ID(97, "CPC+ QRDA-III Submissions require a valid Cehrt ID (Valid Format: XX15EXXXXXXXXXX)"),
187187
CPC_PLUS_ZERO_PERFORMANCE_RATE(98, "The performance rate cannot have a value of 0 and must be of value Null Attribute (NA)."),
188-
CPC_PLUS_EXTRA_SUPPLEMENTAL_DATA(99, "The measure id `(Measure Id)` has a duplicate & invalid supplemental data of type `(Supplemental Type)`", true),
189188
CPC_PLUS_DUPLICATE_CEHRT(100, "More than one Cehrt ID was found. Please submit with only one Cehrt id."),
190189
CPC_PLUS_DENOMINATOR_COUNT_INVALID(101, "Denominator count must be equal to Initial Population count for CPC Plus measure population `(measure population id)`.", true);
191190

converter/src/main/java/gov/cms/qpp/conversion/validate/CpcMeasureDataValidator.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ private void validateAllSupplementalNodesOfSpecifiedType(
6767
MeasureConfig measureConfig = MeasureConfigHelper.getMeasureConfig(node.getParent());
6868
if (measureConfig != null) {
6969
String electronicMeasureId = measureConfig.getElectronicMeasureId();
70-
if (supplementalDataNodes.size() > codes.size()) {
71-
LocalizedProblem error =
72-
ProblemCode.CPC_PLUS_EXTRA_SUPPLEMENTAL_DATA.format(electronicMeasureId, supplementalDataType);
73-
addError(Detail.forProblemAndNode(error, node));
74-
}
7570
for (SupplementalData supplementalData : codes) {
7671
Node validatedSupplementalNode = filterCorrectNode(supplementalDataNodes, supplementalData);
7772

converter/src/test/java/gov/cms/qpp/conversion/validate/CpcMeasureDataValidatorTest.java

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -66,21 +66,6 @@ void validateFailureSupplementalDataMissingCountTest() throws Exception {
6666
.contains(expectedError);
6767
}
6868

69-
@Test
70-
void validateFailureExtraSupplementalDataTest() throws Exception {
71-
String failurePayerFile = TestHelper.getFixture("failureExtraSupplementalDataFile.xml");
72-
Node placeholder = new QrdaDecoderEngine(new Context()).decode(XmlUtils.stringToDom(failurePayerFile));
73-
CpcMeasureDataValidator validator = new CpcMeasureDataValidator();
74-
Node underTest = placeholder.findFirstNode(TemplateId.MEASURE_DATA_CMS_V4);
75-
List<Detail> errors = validator.validateSingleNode(underTest).getErrors();
76-
77-
LocalizedProblem expectedError = ProblemCode.CPC_PLUS_EXTRA_SUPPLEMENTAL_DATA.format(MEASURE_ID,
78-
SupplementalData.SupplementalType.SEX);
79-
80-
assertThat(errors).comparingElementsUsing(DetailsErrorEquals.INSTANCE)
81-
.contains(expectedError);
82-
}
83-
8469
@DisplayName("Should fail on absent supplemental race data")
8570
@ParameterizedTest(name = "{index} => Supplemental data=''{0}''")
8671
@EnumSource(value = SupplementalData.class, mode = EnumSource.Mode.INCLUDE,

0 commit comments

Comments
 (0)