From 5e0d6b0ccbf2b602e5c919fc8d5c01996d1b2d33 Mon Sep 17 00:00:00 2001 From: BenHession Date: Mon, 30 Oct 2023 10:13:08 +0000 Subject: [PATCH] Revert switch case removal following review --- .../pss/translator/task/AcknowledgmentMessageHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/AcknowledgmentMessageHandler.java b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/AcknowledgmentMessageHandler.java index 82b085a2a..400aab447 100644 --- a/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/AcknowledgmentMessageHandler.java +++ b/gp2gp-translator/src/main/java/uk/nhs/adaptors/pss/translator/task/AcknowledgmentMessageHandler.java @@ -89,6 +89,7 @@ private MigrationStatus getMigrationStatus(String ackTypeCode, String reasonCode case "18" -> EHR_EXTRACT_REQUEST_NEGATIVE_ACK_GP2GP_MISFORMED_REQUEST; case "19" -> EHR_EXTRACT_REQUEST_NEGATIVE_ACK_GP2GP_NOT_PRIMARY_HEALTHCARE_PROVIDER; case "24" -> EHR_EXTRACT_REQUEST_NEGATIVE_ACK_GP2GP_MULTI_OR_NO_RESPONSES; + case "99" -> EHR_EXTRACT_REQUEST_NEGATIVE_ACK_UNKNOWN; default -> EHR_EXTRACT_REQUEST_NEGATIVE_ACK_UNKNOWN; }; default -> null;