Suppress spurious message when code system is unknown
This commit is contained in:
parent
2612fa1e63
commit
a9213273b1
|
@ -1512,6 +1512,8 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
||||||
txHint(errors, NO_RULE_DATE, vr.getTxLink(), IssueType.CODEINVALID, element.line(), element.col(), path, false, I18nConstants.TERMINOLOGY_TX_CONFIRM_3_CC, describeReference(vsRef), vr.getErrorClass().toString());
|
txHint(errors, NO_RULE_DATE, vr.getTxLink(), IssueType.CODEINVALID, element.line(), element.col(), path, false, I18nConstants.TERMINOLOGY_TX_CONFIRM_3_CC, describeReference(vsRef), vr.getErrorClass().toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
} else if (vr.getErrorClass() != null && vr.getErrorClass() == TerminologyServiceErrorClass.CODESYSTEM_UNSUPPORTED) {
|
||||||
|
// we've already handled the warnings / errors about this, and set the status correctly. We don't need to do anything more?
|
||||||
} else {
|
} else {
|
||||||
if (strength == BindingStrength.REQUIRED) {
|
if (strength == BindingStrength.REQUIRED) {
|
||||||
bh.see(txRule(errors, NO_RULE_DATE, vr.getTxLink(), IssueType.CODEINVALID, element.line(), element.col(), path, false, I18nConstants.TERMINOLOGY_TX_NOVALID_1_CC, describeReference(vsRef, valueset, bc), ccSummary(cc)));
|
bh.see(txRule(errors, NO_RULE_DATE, vr.getTxLink(), IssueType.CODEINVALID, element.line(), element.col(), path, false, I18nConstants.TERMINOLOGY_TX_NOVALID_1_CC, describeReference(vsRef, valueset, bc), ccSummary(cc)));
|
||||||
|
|
Loading…
Reference in New Issue