Skip to content

Implement Databricks-to-HAPI writeback path#18

Merged
slusset merged 2 commits intomainfrom
feature/gh-16-databricks-hapi-writeback
Mar 22, 2026
Merged

Implement Databricks-to-HAPI writeback path#18
slusset merged 2 commits intomainfrom
feature/gh-16-databricks-hapi-writeback

Conversation

@slusset
Copy link
Owner

@slusset slusset commented Mar 22, 2026

Summary

  • change the Databricks writeback flow so DLT prepares rows and a notebook task performs real HAPI FHIR writes through the orchestrator
  • add an execution notebook for batch writeback and upgrade dead-letter reprocessing from placeholder logic to actual retries
  • update the Databricks bundle and docs for explicit FHIR endpoint configuration and real outcome logging

Verification

  • uv run ruff check src/ tests/
  • uv run ruff format --check src/ tests/
  • uv run pytest tests/unit -v --tb=short
  • uv run --group docs mkdocs build --strict
  • databricks bundle validate -t dev --profile dbc-155b9d6f-de4d --var="catalog=ehr_writeback_dev"

Runtime follow-up

  • rerun the deployed Databricks jobs in the workspace and verify writeback_log status values, HAPI resource creation, and rerun idempotency evidence

Base automatically changed from feature/gh-6-dlt-integration-test to main March 22, 2026 23:13
@slusset slusset merged commit f65e1e0 into main Mar 22, 2026
7 checks passed
@slusset slusset deleted the feature/gh-16-databricks-hapi-writeback branch March 22, 2026 23:14
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