dorset-ics / healthcare-data-exchange

A FHIR based integration and interoperability platform to support a regional healthcare network.
https://dorset-ics.github.io/healthcare-data-exchange/
MIT License
6 stars 6 forks source link

Handle patients that have been merged and deleted from the PDS and update FHIR accordingly. #21

Closed gaurarpit closed 3 months ago

gaurarpit commented 3 months ago

This pull request includes changes to the PatientModule.cs, PdsService.cs, DataHubFhirClient.cs, and PdsServiceTests.cs files, and adds new test sample files. The changes primarily focus on handling invalid patient data, improving error handling, and refactoring test code for better readability.

Changes to error handling and patient data processing:

Changes to test setup and execution:

Changes to the PdsService class:

Changes to the PdsServiceTests class:

Changes to the PdsServiceTests class:

Stories: #AD27863, #AD30271

gaurarpit commented 3 months ago

addressing the PR comments from Frances' computer.