mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 05:42:19 +00:00
feat(anamnesis): soft-delete AUDIT-C in its route, admit both AUDIT-C verbs at manage level, and settle the guards
This commit is contained in:
1 parent
28a8737124
commit
73bb13a982
26 files changed
+275
-154
No files matched your search
@@ -7034,7 +7034,7 @@ model UserHealthProfile {
|
||||
emergencyContactsEncrypted Bytes? @map("emergency_contacts_encrypted")
|
||||
emergencyImplantsEncrypted Bytes? @map("emergency_implants_encrypted")
|
||||
emergencyNoteEncrypted Bytes? @map("emergency_note_encrypted")
|
||||
/// @pending-consumer(#v143-B6) v1.43 (#614) — "still true" confirmations of the life
|
||||
/// v1.43 (#614) — "still true" confirmations of the life
|
||||
/// circumstance sections: `{ "<section key>": "<ISO instant>" }`. Written by
|
||||
/// `POST /api/anamnesis/life-circumstances/confirm`, read as
|
||||
/// `lastConfirmedAt` / `reviewDue` by the life-circumstances read route.
|
||||
@@ -7130,7 +7130,11 @@ enum HealthProfileFactKind {
|
||||
/// v1.43 (#614) — life-circumstance facts. The value is a sealed JSON object
|
||||
/// with `schema: 1`, one Zod schema per kind. `GET /api/anamnesis/facts`
|
||||
/// never returns these (a closed decoder in older app builds); they are read
|
||||
/// through `GET /api/anamnesis/life-circumstances`.
|
||||
/// through `GET /api/anamnesis/life-circumstances`. Readers: the coach
|
||||
/// self-context (all six, per released AI section), the doctor report and
|
||||
/// FHIR (tobacco, activity, work), the chronotype (free weekdays), the
|
||||
/// environment read (work). `HABITS` and `HEALTH_GOALS` are coach-only by
|
||||
/// design: diet and goals are context for a conversation, not findings.
|
||||
TOBACCO_DETAIL
|
||||
ACTIVITY_HABIT
|
||||
WORK_CONTEXT
|
||||
|
||||
Reference in new issue
Block a user