Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

### Changed
* Updated the Requesting Adaptor to map newly granular EHRSupplyType values from EMIS into the corresponding GPC JSON record fields.
* Corrected the EHR Extract interaction identifier used by timeout handling from RCMR_IN030000UK06 to RCMR_IN030000UK07.

### Added
* Added support for mapping different EhrSupplyType (e.g. NHS prescription, OTC sale) into the Medication Statement Prescribing Agency extension
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@
@AllArgsConstructor(onConstructor = @__(@Autowired))
public class EHRTimeoutHandler {

private static final String EHR_EXTRACT_MESSAGE_NAME = "RCMR_IN030000UK06";
private static final String EHR_EXTRACT_MESSAGE_NAME = "RCMR_IN030000UK07";
private static final String COPC_MESSAGE_NAME = "COPC_IN000001UK01";
private static final Integer MAX_TIMEOUT_OVERWRITE = 172800;
private final PersistDurationService persistDurationService;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
@ExtendWith(MockitoExtension.class)
public class SDSServiceTest {

private static final String EHR_EXTRACT_MESSAGE_TYPE = "RCMR_IN030000UK06";
private static final String EHR_EXTRACT_MESSAGE_TYPE = "RCMR_IN030000UK07";
private static final String COPC_MESSAGE_TYPE = "COPC_IN000001UK01";
private static final String TEST_ODS_CODE = "P83007";
private static final String TEST_CONVERSATION_ID = "test-conversation-id";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
@ExtendWith({MockitoExtension.class, OutputCaptureExtension.class})
class EHRTimeoutHandlerTest {

private static final String EHR_EXTRACT_MESSAGE_NAME = "RCMR_IN030000UK06";
private static final String EHR_EXTRACT_MESSAGE_NAME = "RCMR_IN030000UK07";
private static final String COPC_MESSAGE_NAME = "COPC_IN000001UK01";

private static final int EHR_EXTRACT_PERSIST_DURATION = 7;
Expand Down