feature(connector_sdk) : Add FHIR R4 Healthcare Intelligence connector example#601
Open
fivetran-JenasVimal wants to merge 2 commits into
Open
Conversation
🧹 Python Code Quality Check✅ No issues found in Python Files. This comment is auto-updated with every commit. |
acd6fdf to
a4038d9
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new AI tutorial connector example under all_things_ai/tutorials/ that syncs clinical data from a FHIR R4 server and performs Databricks ai_query()-based hybrid (Discovery + Debate) enrichment, plus updates the root README to reference the new tutorial.
Changes:
- Added the FHIR R4 Healthcare Intelligence tutorial connector (connector code, tutorial README, and configuration template).
- Added a
requirements.txtfor the new tutorial. - Updated the repo
README.md(badges/links and tutorial list) to include the new connector entry and adjust various GitHub URLs.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| README.md | Updates badges/links, requirements text, and AI tutorial list to include the new connector |
| all_things_ai/tutorials/databricks-fm-fhir-healthcare-intelligence/connector.py | New FHIR R4 + Databricks hybrid (Discovery + Debate) tutorial connector implementation |
| all_things_ai/tutorials/databricks-fm-fhir-healthcare-intelligence/README.md | New tutorial documentation for the connector (setup, configuration, behavior) |
| all_things_ai/tutorials/databricks-fm-fhir-healthcare-intelligence/configuration.json | Configuration template with placeholders for FHIR and Databricks settings |
| all_things_ai/tutorials/databricks-fm-fhir-healthcare-intelligence/requirements.txt | Declares Python dependencies for the tutorial |
a4038d9 to
d48956a
Compare
fivetran-sahilkhirwal
approved these changes
Jul 1, 2026
fivetran-sahilkhirwal
left a comment
Contributor
There was a problem hiding this comment.
Looks good to me
please get review from @fivetran-anushkaparashar as well before merging
6 tasks
fivetran-anushkaparashar
approved these changes
Jul 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Jira ticket
RD-1234449
Re-raising because @fivetran-davidmillman had CLA checks failing
Description of Change
Adds a new connector under all_things_ai/tutorials/databricks-fm-fhir-healthcare-intelligence
Syncs Patient, Condition, Observation, and MedicationRequest resources from any FHIR R4-compliant server (default: HAPI FHIR public test server, no auth required)
Implements the Hybrid (Discovery + Debate) AI pattern using Databricks ai_query(): a Discovery phase for population health risk stratification, and a Debate phase where a Clinical Risk Analyst and Resource Allocation Analyst debate per-patient intervention priorities, producing a consensus with a disagreement flag
Produces 8 destination tables: patients, conditions, observations, medications, population_insights, clinical_assessments, resource_assessments, debate_consensus
Follows the Hybrid pattern established by PRs #570 and #571
Updates main README.md with entry for new connector
Test plan
fivetran debugrun locally — SYNC SUCCEEDEDblack --line-length 99passesflake8 --extend-ignore=E203,E501,B008passesconfiguration.jsonvalues are angle-bracket placeholdersfivetran debugresultsSDK Version: 2.8.1
Sync: SUCCEEDED (00:02:24)
Records: 3 patients, 2 AI-enriched (max_patients=3, max_enrichments=2)
Raw
fivetran debugterminal output