add case exception for populations
This commit is contained in:
parent
35074ca0b2
commit
be5089a80c
|
@ -399,7 +399,7 @@ public class MeasureValidator extends BaseValidator {
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
for (MeasureGroupPopulationComponent mgp : mg.getPopulation()) {
|
for (MeasureGroupPopulationComponent mgp : mg.getPopulation()) {
|
||||||
if (!pops.contains(mgp)) {
|
if (!pops.contains(mgp) && !mgp.getCode().hasCoding("http://terminology.hl7.org/CodeSystem/measure-population", "measure-observation")) {
|
||||||
rule(errors, IssueType.BUSINESSRULE, mrg.line(), mrg.col(), stack.getLiteralPath(), pops.contains(mg), I18nConstants.MEASURE_MR_GRP_MISSING_BY_CODE, gen.gen(mgp.getCode()));
|
rule(errors, IssueType.BUSINESSRULE, mrg.line(), mrg.col(), stack.getLiteralPath(), pops.contains(mg), I18nConstants.MEASURE_MR_GRP_MISSING_BY_CODE, gen.gen(mgp.getCode()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue