Skip to content

[Feature] Custom symptoms for the illness module #981

Description

@MBombeck

Problem

The illness module logs symptoms from a fixed catalog of eight entries: runny nose, stuffy nose, sneezing, sore throat, cough, headache, body aches and fatigue. That covers a cold. It doesn't cover chronic or recurring conditions, where the symptoms that matter depend on the condition. Someone tracking migraine has nowhere to log aura, nausea or sensitivity to light, for example.

The request came up in #980.

Proposed solution

Let each account add its own symptoms alongside the built-in catalog, similar to the custom symptoms the cycle module already has.

  • Create, rename, reorder and hide symptoms. Labels are user-written text, so they are stored encrypted.
  • Log custom symptoms on a day log with the same 1 to 3 severity as the built-in ones.
  • Hide built-in symptoms that don't apply.
  • Feed custom symptoms into the symptom severity signal that pattern discovery already reads, and include them in backup and export.
  • Offer the same operations through the API and the OpenAPI contract, so the iOS app can log them as well.

One open question: should the list belong to the account, or to a single condition? A per-condition list would let a migraine episode and a cold show different symptoms.

Alternatives considered

Custom mood tags can record items like these day by day. They live in the mood check-in, though, and aren't linked to an illness episode or its retrospective.

Affected surface

Web app, API, iOS app

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions