Skip to content

Api: Describe the deployment in CapabilityStatement.implementation - #230

Open
losolio wants to merge 1 commit into
incendilabs:mainfrom
losol:feature/capability-description
Open

Api: Describe the deployment in CapabilityStatement.implementation#230
losolio wants to merge 1 commit into
incendilabs:mainfrom
losol:feature/capability-description

Conversation

@losolio

@losolio losolio commented Aug 1, 2026

Copy link
Copy Markdown
Contributor

Implementation.description in fhir/metadata now comes from CapabilityStatementSettings. Overridable through with env: CapabilityStatementSettings:ImplementationDescription

Copilot AI review requested due to automatic review settings August 1, 2026 17:04

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a configurable deployment notice to the FHIR CapabilityStatement returned from /fhir/metadata by wiring a new CapabilityStatementSettings option into the capability statement enrichment path, with supporting documentation and Helm chart values.

Changes:

  • Introduces CapabilityStatementSettings and injects it into ProfileAwareCapabilityStatementService to populate CapabilityStatement.implementation.description.
  • Registers/binds the new settings in the API startup and DI extension wiring.
  • Adds an integration test plus Helm/docs updates for configuration.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
tests/Ignis.Api.Tests/FhirControllerTests.cs Adds coverage asserting the implementation description is present in /fhir/metadata.
src/Ignis.Api/Services/Validation/ProfileAwareCapabilityStatementService.cs Applies configured implementation description onto Spark-generated CapabilityStatement.
src/Ignis.Api/Program.cs Binds CapabilityStatementSettings from configuration.
src/Ignis.Api/Extensions/CapabilityStatementExtensions.cs Passes bound settings into the capability statement service wrapper.
src/Ignis.Api/Configuration/CapabilityStatementSettings.cs Defines the new settings object with a default notice string.
infra/helm/charts/app/values.yaml Adds chart values for capability statement implementation description.
infra/helm/charts/app/templates/api-deployment.yaml Plumbs the chart value into an env var for the API deployment.
docs/server/api-configuration.md Documents the new configuration key and Kubernetes/Helm usage.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread infra/helm/charts/app/templates/api-deployment.yaml Outdated
Comment thread infra/helm/charts/app/values.yaml Outdated
Implementation.description in fhir/metadata now comes from
CapabilityStatementSettings.  Overridable through with env:
CapabilityStatementSettings:ImplementationDescription
@losolio
losolio force-pushed the feature/capability-description branch from 04f08f9 to 47ab391 Compare August 1, 2026 21:17
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.

2 participants