Skip to content

v1.48.2

Choose a tag to compare

@MBombeck MBombeck released this 19 Nov 18:53
· 759 commits to main since this release
77fce31

A day after 1.48.1, here is the server half of a bigger Apple Health update. Headaches, fever, dizziness and the rest of what you log in the Health app can now come over into the symptom diary, along with a handful of new reading types. The iPhone app starts sending all of this in its next release; the server is ready for it now. Two bugs from the 1.48 week are fixed too.

Symptoms from Apple Health

All 39 symptom types Apple Health knows can now reach the symptom diary and the timeline, with the intensity taken from the severity you picked in Health. Each type gets its own built-in symptom the first time one arrives. It doesn't count toward your limit of active symptoms, and you can rename or hide it like any symptom you made yourself. Delete a symptom in Health and it goes away here as well. Cycle symptoms such as cramps or bloating land in the diary always, and in the cycle as well when the cycle module is on. Thanks to @2q2code for asking for headaches in particular.

The symptom sheet on the web also takes several symptoms for the same moment now, each with its own intensity, for the evening when headache, nausea and dizziness show up together. Thanks again to @2q2code.

More from Apple Health

Low cardio fitness notifications join the other heart notifications. Menopausal state and bleeding after menopause, insulin delivery, inhaler use, FEV1, FVC and peak expiratory flow arrive as readings once the app sends them. The menopause entries are states, not numbers: they show their latest value, stay off the charts and never touch the cycle. Insulin follows the glucose module.

A workout or ECG you delete in Apple Health now stays deleted, even if a phone that was offline sends it again later. The server remembers a deletion for 75 days, for symptoms, workouts and ECGs alike.

Fixed

  • The dashboard counts every dose of the day again. Since 1.48.0 the Today line only counted doses whose time had passed, so a day with five doses read "2 of 2 taken" at noon. A dose whose window is open is shown as due now, and as-needed intakes or doses of a medication you paused today no longer count toward the day. Thanks to @mills1975 for the screenshots. (#1412)
  • Lab results from Health Records in an Apple Health export. Exports that write the FHIR resource type into the record (type="Observation") were skipped completely, so no lab results came in. Both forms are read now, for FHIR R4 and DSTU2, and vital signs without a lab category stay out of Labs. Thanks to @camiracode for tracing it down to the attribute. (#1400)

For the iPhone app and other clients

  • POST /api/symptoms/events/batch and DELETE /api/symptoms/events/by-external-ids take symptoms from Apple Health. Only the account owner can call them, not a shared or delegated login.
  • GET /api/auth/me lists appleHealthSymptoms, appleHealthDeletes and nutrientMacros under features, so a client can tell what this server accepts.
  • A re-sent workout or ECG that was deleted answers duplicate.

Updating

Pull and restart. Two migrations run on the first start (0510 and 0511: symptom identities for Apple Health, the new reading types and the list of deleted Apple Health records). Going back to 1.48.1 works; the steps are in docs/ops/deploy.md.

Thank you

@2q2code asked for the symptoms that started all of this. @mills1975 sent the screenshots that showed the dashboard count was off within a day of 1.48.0, and @camiracode found the one attribute that kept a whole export's lab results out. Thank you.