Extend healthchain.yaml with a governance: section that captures deployment coordination context — compliance standard, clinical safety officer, data access agreements. Makes HealthChain the single artifact for "here's how this deployment is set up."
Files:
healthchain/config/appconfig.py — add GovernanceConfig model, add governance: GovernanceConfig to AppConfig
healthchain/gateway/api/app.py — surface governance fields in startup banner
healthchain/cli.py — include governance: section (commented out) in generated healthchain.yaml
Spec:
class GovernanceConfig(BaseModel):
standard: str = "none" # none | dcb0160 | dcb0129 | hipaa
clinical_safety_officer: str = ""
data_access_agreement: str = "" # path or URL to signed DAA
dpias_required: bool = False
notes: str = ""
- Banner shows
governance.standard and clinical_safety_officer if set, silent if none
data_access_agreement and dpias_required are informational only — no validation logic yet
- Generated template includes
governance: section with commented-out fields and inline explanations
Definition of done: healthchain.yaml can include a governance: block. Startup banner shows standard and CSO when configured. Generated projects include the section commented out.
Extend
healthchain.yamlwith agovernance:section that captures deployment coordination context — compliance standard, clinical safety officer, data access agreements. Makes HealthChain the single artifact for "here's how this deployment is set up."Files:
healthchain/config/appconfig.py— addGovernanceConfigmodel, addgovernance: GovernanceConfigtoAppConfighealthchain/gateway/api/app.py— surface governance fields in startup bannerhealthchain/cli.py— includegovernance:section (commented out) in generatedhealthchain.yamlSpec:
governance.standardandclinical_safety_officerif set, silent ifnonedata_access_agreementanddpias_requiredare informational only — no validation logic yetgovernance:section with commented-out fields and inline explanationsDefinition of done:
healthchain.yamlcan include agovernance:block. Startup banner shows standard and CSO when configured. Generated projects include the section commented out.