Fix issue with finding duplicate ids in profiled bundles

This commit is contained in:
Grahame Grieve 2020-09-14 18:09:20 +10:00
parent 8855fe1bc6
commit 6f149e691c
1 changed files with 1 additions and 1 deletions

View File

@ -2885,7 +2885,7 @@ public class ProfileUtilities extends TranslatingUtilities {
StructureDefinition sd = context.fetchRawProfile(url);
if (sd == null) {
if (messages != null) {
messages.add(new ValidationMessage(Source.InstanceValidator, IssueType.BUSINESSRULE, purl+"#"+derived.getPath(), "Connect check whether the target profile "+url+" is valid constraint on the base because it is not known", IssueSeverity.WARNING));
messages.add(new ValidationMessage(Source.InstanceValidator, IssueType.BUSINESSRULE, purl+"#"+derived.getPath(), "Cannot check whether the target profile "+url+" is valid constraint on the base because it is not known", IssueSeverity.WARNING));
}
url = null;
tgtOk = true; // suppress error message