mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-09 06:14:45 +00:00
Validate MeasureReport groups only if Measure has groups
This commit is contained in:
parent
7254337c5b
commit
4da4ad31de
@ -244,6 +244,11 @@ public class MeasureValidator extends BaseValidator {
|
||||
}
|
||||
|
||||
private void validateMeasureReportGroups(ValidatorHostContext hostContext, MeasureContext m, List<ValidationMessage> errors, Element mr, NodeStack stack, boolean inProgress) {
|
||||
if (m.groups().size() == 0) {
|
||||
// only validate the report groups if the measure has groups.
|
||||
return;
|
||||
}
|
||||
|
||||
List<MeasureGroupComponent> groups = new ArrayList<MeasureGroupComponent>();
|
||||
|
||||
List<Element> glist = mr.getChildrenByName("group");
|
||||
|
Loading…
x
Reference in New Issue
Block a user