See issue on highlighted line:
|
.childMaximum(ProblemCode.CLINICAL_DOCUMENT_CONTAINS_DUPLICATE_IA_SECTIONS, 1, |
I'm not sure what the correct error would be, and I think this may actually be an incorrect validation rule (only allowing one instance of TemplateId.MEASURE_SECTION_V5) based on guidance from CMS that we should report multiple measures in a single QRDA III.
After further review, it seems the rule is correct as all measure data should be a child of this section.
I think the correct error would be ProblemCode.CLINICAL_DOCUMENT_CONTAINS_DUPLICATE_ECQM_SECTIONS.
See issue on highlighted line:
qpp-conversion-tool/converter/src/main/java/gov/cms/qpp/conversion/validate/ClinicalDocumentValidator.java
Line 46 in a7ba64d
I'm not sure what the correct error would be, and I think this may actually be an incorrect validation rule (only allowing one instance ofTemplateId.MEASURE_SECTION_V5) based on guidance from CMS that we should report multiple measures in a single QRDA III.After further review, it seems the rule is correct as all measure data should be a child of this section.
I think the correct error would be
ProblemCode.CLINICAL_DOCUMENT_CONTAINS_DUPLICATE_ECQM_SECTIONS.