{ "ecr": "032", "slug": "intervention-outcome", "concept": "InterventionOutcome", "list_method": "InterventionOutcomes", "get_method": "InterventionOutcome", "table": "intervention_outcomes", "migration": "000033", "route_group": "/crisis", "route_resource": "interventions", "perm_const": "PermCrisisRead", "perm_code": "admin.crisis.read", "seed_code": "demo_helpline_shown", "register_fn": "registerInterventionOutcomes", "test_name": "TestCrisisCareInterventions", "row_type": "InterventionOutcomeRow", "err_name": "ErrInterventionOutcomeNotFound", "capability": "CrisisCare", "bc": "Content_Safety", "predecessor": "ECR-031", "title": "CrisisCare · InterventionOutcome(只读薄切片)", "non_goals": "干预写回 · 医疗诊断 · UGC · 真支付", "columns": [ { "name": "code", "sql": "varchar(64) NOT NULL UNIQUE", "go_name": "Code", "go_type": "string", "json": "code", "seed": "demo_helpline_shown" }, { "name": "title", "sql": "varchar(128) NOT NULL", "go_name": "Title", "go_type": "string", "json": "title", "seed": "示例展示热线结果" }, { "name": "outcome", "sql": "varchar(32) NOT NULL CHECK (outcome IN ('helpline_shown','escalated','blocked'))", "go_name": "Outcome", "go_type": "string", "json": "outcome", "seed": "helpline_shown" }, { "name": "active", "sql": "boolean NOT NULL DEFAULT true", "go_name": "Active", "go_type": "bool", "json": "active", "seed": true }, { "name": "system", "sql": "boolean NOT NULL DEFAULT false", "go_name": "System", "go_type": "bool", "json": "system", "seed": true } ] }