You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
List<ValidationMessage> record = newArrayList<>();
for (ValidationMessagev : valerrors) {
ok = ok && !v.getLevel().isError();
if (v.getLevel().isError() || v.isSlicingHint()) {
record.add(v);
}
}
conformsToProfile returns ok = false for any validation errors in the resource / element being checked, but should really only return false for profile conformance failure.
The text was updated successfully, but these errors were encountered:
Any validation error is a failure against the profile. And I don't know if I can differentiate in any useful way. Further discussion if you think there's something that should be done here: https://chat.fhir.org/#narrow/stream/179177-conformance
org.hl7.fhir.core/org.hl7.fhir.validation/src/main/java/org/hl7/fhir/validation/instance/InstanceValidator.java
Lines 402 to 409 in 1534a5b
conformsToProfile
returnsok = false
for any validation errors in the resource / element being checked, but should really only return false for profile conformance failure.The text was updated successfully, but these errors were encountered: