Surface message id in OperationOutcome from validator

This commit is contained in:
Grahame Grieve 2022-03-16 08:30:44 +11:00
parent 5ae5e5d4c8
commit def7d5566a
1 changed files with 5 additions and 2 deletions

View File

@ -115,9 +115,12 @@ public class OperationOutcomeUtilities {
case THROTTLED: return IssueType.THROTTLED;
case INFORMATIONAL: return IssueType.INFORMATIONAL;
case NULL: return IssueType.NULL;
}
case DELETED: return IssueType.DELETED;
case MULTIPLEMATCHES: return IssueType.MULTIPLEMATCHES;
default:
return IssueType.NULL;
}
}
public static OperationOutcome createOutcome(List<ValidationMessage> messages) {
OperationOutcome res = new OperationOutcome();