Skip to content

Phase 1: persistent FHIR store (Postgres) - #34

Merged
Ciprian-LocalPulse merged 1 commit into
mainfrom
feature/phase1-postgres-persistence
Sep 7, 2026
Merged

Phase 1: persistent FHIR store (Postgres)#34
Ciprian-LocalPulse merged 1 commit into
mainfrom
feature/phase1-postgres-persistence

Conversation

@Ciprian-LocalPulse

Copy link
Copy Markdown
Owner
  • Add PostgresFHIRStore behind the existing FHIRStore interface
  • Add Alembic migrations
  • Add docker-compose.postgres.yml opt-in override
  • Fix blocking store calls in async routes (run_in_threadpool)
  • Fix deprecated @app.on_event -> lifespan
  • Add integration tests run against a real Postgres in CI

Summary

Describe the behavior and why it is needed.

Verification

  • ruff check .
  • pytest
  • mypy src/medintelos
  • npm test when contracts changed

Risk Review

  • No real patient data, credentials, private keys, or restricted terminology
  • Security and privacy impact considered
  • Clinical assumptions and primary sources documented when applicable
  • Backward compatibility or migration impact described

- Add PostgresFHIRStore behind the existing FHIRStore interface
- Add Alembic migrations
- Add docker-compose.postgres.yml opt-in override
- Fix blocking store calls in async routes (run_in_threadpool)
- Fix deprecated @app.on_event -> lifespan
- Add integration tests run against a real Postgres in CI
@Ciprian-LocalPulse
Ciprian-LocalPulse merged commit d7bef32 into main Sep 7, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant