Prerequisites
- A patient bearer token and
X-Brand-Slug: hi-doctor. - Offer the journal to patients with a weight-loss plan. The API checks that the caller is a patient; your interface decides when to show the journal.
Operations
Boundaries and side effects
- Weight entries are one per day: creating an entry for a date that already
has one replaces it. Always send
logged_onexplicitly, derived in the patient’s own timezone. - Validate weight values in your interface before sending them, and send only values the patient entered.
PUTon the goal or injection plan is a full replace: read first and send every field you want to keep.- Lists use limit/offset pagination with a default of 50 and no documented maximum.
- To report a suspected side effect to the clinical team, use Safety reports.