Compute the health plan
get_planCompute your health plan from your own record: current values, due screenings, and evidence-based suggestions with reasons and citations, all offline. Educational, not medical advice.
Instructions
Compute the user’s plan from their record — current values, what screening or test is due, and suggestions with the reason and citations behind each one. This is the app’s own protocol, computed offline from the file; it is educational, not medical advice. On Dropbox the result also lists files in the folder that are not in the record (folder); offer to import them, never do it unasked.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| due | Yes | ||
| today | Yes | ||
| units | Yes | The SI unit each `inputs` field is stored in, keyed by input field. A catalogued labValues[] row is stored in its SI unit, converted from what the lab printed; a test the catalogue does not know keeps the unit it was reported in. | |
| folder | No | Dropbox only: files in the folder root that are not in the record. Offer to import them; never do it unasked. | |
| inputs | Yes | The values the plan was computed from, in SI canonical units (see `units`, keyed by input field). `currentValues` is the same rows converted to `unitSystem`, plus any row marked excluded. | |
| source | Yes | ||
| profile | Yes | `bmiCategory` is waist-informed: a BMI of 25–29.9 with a waist-to-height ratio below 0.5 reads Normal (AACE 2025 / NICE). `waistToHeightRatio` is the ratio it used, or null. | |
| labValues | Yes | ||
| screenings | Yes | ||
| unitSystem | Yes | ||
| generatedAt | Yes | ||
| instruction | Yes | How this plan must be presented. Follow it. | |
| medications | Yes | ||
| suggestions | Yes | ||
| currentValues | Yes | ||
| missingInputs | Yes | Inputs the record does not hold that would change this plan. Ask the user for these, then add them. | |
| schemaVersion | Yes |