Skip to content

Add governance config section #207

Description

@jenniferjiangkells

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Stage: Design 🎨Issues that require design before implementation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions