Skip to content

Add FHIR sources and LLM config to healthchain.yaml#196

Merged
jenniferjiangkells merged 12 commits intomainfrom
feat/cli-fixes
Mar 30, 2026
Merged

Add FHIR sources and LLM config to healthchain.yaml#196
jenniferjiangkells merged 12 commits intomainfrom
feat/cli-fixes

Conversation

@jenniferjiangkells
Copy link
Copy Markdown
Member

Description

Extends the app config schema and CLI scaffolding to support declaring FHIR data sources and LLM providers directly in healthchain.yaml, reducing boilerplate in user app code.

Changes:

  • AppConfig: adds SourceConfig (FHIR source with env-prefix-based credential loading) and LLMConfig (provider/model/max_tokens with to_langchain() helper)
  • healthchain.yaml template: adds commented-out sources and llm sections so new projects see the config shape immediately
  • cli.py: scaffold template updated to R4B imports; sandbox run resolves from_path from config data.patients_dir if not passed explicitly
  • app.py gateway template: minor fix

@jenniferjiangkells jenniferjiangkells merged commit 99e8f8d into main Mar 30, 2026
8 checks passed
@jenniferjiangkells jenniferjiangkells deleted the feat/cli-fixes branch March 30, 2026 17:21
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