prevelance data added

This commit is contained in:
2026-06-07 12:06:41 -04:00
parent cc7b2a593a
commit 876c26968b
11 changed files with 2305 additions and 148 deletions

View File

@@ -55,10 +55,11 @@ export const diseases = sqliteTable(
prevention: text("prevention", { mode: "json" }).notNull().default([]).$type<string[]>(),
lookalikeIds: text("lookalike_ids", { mode: "json" }).notNull().default([]).$type<string[]>(),
prevalence: text("prevalence", {
enum: ["common", "uncommon", "rare"],
enum: ["common", "uncommon", "rare", "very_rare"],
})
.notNull()
.default("uncommon"),
prevalenceScore: integer("prevalence_score").notNull().default(0),
severity: text("severity", {
enum: ["low", "moderate", "high", "critical"],
}).notNull(),