File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
service/src/main/java/uk/nhs/adaptors/gp2gp/ehr Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 3030public class EhrResendController {
3131
3232 private static final String OPERATION_OUTCOME_URL = "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-OperationOutcome-1" ;
33- public static final String INTERNAL_SERVER_ERROR = "INTERNAL_SERVER_ERROR " ;
33+ public static final String FORBIDDEN = "FORBIDDEN " ;
3434 public static final String INVALID_IDENTIFIER_VALUE = "INVALID_IDENTIFIER_VALUE" ;
3535
3636 private EhrExtractStatusRepository ehrExtractStatusRepository ;
@@ -58,7 +58,7 @@ public ResponseEntity<String> scheduleEhrExtractResend(@PathVariable String conv
5858
5959 if (hasNoErrorsInEhrReceivedAcknowledgement (ehrExtractStatus ) && ehrExtractStatus .getError () == null ) {
6060
61- var details = getCodeableConcept (INTERNAL_SERVER_ERROR );
61+ var details = getCodeableConcept (FORBIDDEN );
6262 var diagnostics = "The current resend operation is still in progress. Please wait for it to complete before retrying" ;
6363 var operationOutcome = createOperationOutcome (OperationOutcome .IssueType .BUSINESSRULE ,
6464 OperationOutcome .IssueSeverity .ERROR ,
You can’t perform that action at this time.
0 commit comments