In order to prepare for writing integration and end to end tests that do not depend on external FHIR APIs let's set ourselves up with some standard test patients (maybe extracted from the existing sandboxes) and an easy way to load this data into a containerized instance the HAPI server.
Acceptance Criteria
GIVEN some synethic FHIR data
WHEN a docker compose file is used
THEN an instance of HAPI seeded with the synthetic data and the TEFCA Viewer are spun up
This should create a local development environment complement with access to synthetic data via a FHIR API for dev and testing.
It may make sense to do this with a script added to package.json so that the TEFCA Viewer can be run directly on the host outside of docker for easier access to server logs and features like hot reload.
In order to prepare for writing integration and end to end tests that do not depend on external FHIR APIs let's set ourselves up with some standard test patients (maybe extracted from the existing sandboxes) and an easy way to load this data into a containerized instance the HAPI server.
Acceptance Criteria GIVEN some synethic FHIR data WHEN a docker compose file is used THEN an instance of HAPI seeded with the synthetic data and the TEFCA Viewer are spun up
This should create a local development environment complement with access to synthetic data via a FHIR API for dev and testing.