From def7d5566aa1dbc22e8427d85de07e000f37a488 Mon Sep 17 00:00:00 2001 From: Grahame Grieve Date: Wed, 16 Mar 2022 08:30:44 +1100 Subject: [PATCH] Surface message id in OperationOutcome from validator --- .../org/hl7/fhir/r5/utils/OperationOutcomeUtilities.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/OperationOutcomeUtilities.java b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/OperationOutcomeUtilities.java index 4030cf7ac..bc1e7e092 100644 --- a/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/OperationOutcomeUtilities.java +++ b/org.hl7.fhir.r5/src/main/java/org/hl7/fhir/r5/utils/OperationOutcomeUtilities.java @@ -114,9 +114,12 @@ public class OperationOutcomeUtilities { case TIMEOUT: return IssueType.TIMEOUT; case THROTTLED: return IssueType.THROTTLED; case INFORMATIONAL: return IssueType.INFORMATIONAL; - case NULL: return IssueType.NULL; + case NULL: return IssueType.NULL; + case DELETED: return IssueType.DELETED; + case MULTIPLEMATCHES: return IssueType.MULTIPLEMATCHES; + default: + return IssueType.NULL; } - return IssueType.NULL; } public static OperationOutcome createOutcome(List messages) {