File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
main/java/uk/nhs/adaptors/gp2gp/ehr
test/java/uk/nhs/adaptors/gp2gp/ehr Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,9 @@ public ResponseEntity<String> scheduleEhrExtractResend(@PathVariable String conv
5959 if (hasNoErrorsInEhrReceivedAcknowledgement (ehrExtractStatus ) && ehrExtractStatus .getError () == null ) {
6060
6161 var details = getCodeableConcept (PRECONDITION_FAILED );
62- var diagnostics = "The current resend operation is still in progress. Please wait for it to complete before retrying" ;
62+ var diagnostics = "The current patient transfer operation is still in progress. "
63+ + "The conversation can only be resent after a negative acknowledgement is sent/received, "
64+ + "or no acknowledgement is received from the requesting side 8 days after sending the EHR." ;
6365 var operationOutcome = createOperationOutcome (OperationOutcome .IssueType .BUSINESSRULE ,
6466 OperationOutcome .IssueSeverity .ERROR ,
6567 details ,
Original file line number Diff line number Diff line change 3939@ ExtendWith (MockitoExtension .class )
4040class EhrResendControllerTest {
4141
42- public static final String DIAGNOSTICS_MSG =
43- "The current resend operation is still in progress. Please wait for it to complete before retrying" ;
42+ public static final String DIAGNOSTICS_MSG
43+ = "The current patient transfer operation is still in progress. "
44+ + "The conversation can only be resent after a negative acknowledgement is sent/received, "
45+ + "or no acknowledgement is received from the requesting side 8 days after sending the EHR." ;
4446 private static final Instant NOW = Instant .parse ("2024-01-01T10:00:00Z" );
4547 private static final Instant FIVE_DAYS_AGO = NOW .minus (Duration .ofDays (5 ));
4648 private static final String URI_TYPE = "https://fhir.nhs.uk/STU3/StructureDefinition/GPConnect-OperationOutcome-1" ;
You can’t perform that action at this time.
0 commit comments