Merge branch 'master' of https://github.com/hapifhir/org.hl7.fhir.core
This commit is contained in:
commit
d59080b45f
|
@ -693,7 +693,7 @@ public class ValueSetValidator extends ValueSetProcessBase {
|
|||
if (cc == null) {
|
||||
if (cs.getContent() == CodeSystemContentMode.FRAGMENT) {
|
||||
String msg = context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_FRAGMENT, code.getCode(), cs.getVersionedUrl());
|
||||
return new ValidationResult(IssueSeverity.WARNING, msg, makeIssue(IssueSeverity.ERROR, IssueType.CODEINVALID, path+".code", msg));
|
||||
return new ValidationResult(IssueSeverity.WARNING, msg, makeIssue(IssueSeverity.WARNING, IssueType.CODEINVALID, path+".code", msg));
|
||||
} else {
|
||||
String msg = context.formatMessage(I18nConstants.UNKNOWN_CODE__IN_, code.getCode(), cs.getVersionedUrl());
|
||||
return new ValidationResult(IssueSeverity.ERROR, msg, makeIssue(IssueSeverity.ERROR, IssueType.CODEINVALID, path+".code", msg));
|
||||
|
|
|
@ -1132,7 +1132,9 @@ public class InstanceValidator extends BaseValidator implements IResourceValidat
|
|||
return true;
|
||||
if (s != null && s.isOk()) {
|
||||
for (OperationOutcomeIssueComponent iss : s.getIssues()) {
|
||||
txIssue(errors, "2023-08-19", s.getTxLink(), element.line(), element.col(), path, iss);
|
||||
if (!iss.getDetails().getText().equals(s.getMessage())) {
|
||||
txIssue(errors, "2023-08-19", s.getTxLink(), element.line(), element.col(), path, iss);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (s.isOk()) {
|
||||
|
|
Loading…
Reference in New Issue