mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-19 08:12:52 +00:00
A urinalysis sent its specific gravity and pH as bare numbers, which failed as missing_unit and made a normal report a partial success. A number without a unit is now the unity "1" when its LOINC code names a specific gravity, a pH or an INR; any other analyte keeps the refusal. The category check took only FHIR's own "laboratory" and skipped records a system filed as "LAB" or "Lab Results", although Apple Health had already classified them as lab results. A code, display or text containing "lab" now counts; other categories are still skipped.
3.5 MiB
3.5 MiB