mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Slice 3 of phase 3 of #1095. The scan review no longer treats every reading in another unit as unwritable. The server tells it which analyte the matched marker is (markerAnalyteKey on each extracted row); a row whose unit differs but can be converted starts selected and carries a badge saying what Save will store and what the report stated ("Saved as 100.9 mg/dL, converted from 5.6 mmol/L"). A row that cannot be converted keeps the existing blocked badge and error. Save still sends what the report printed; the server converts, as in slice 2. The review's duplicate flag also recognises a re-scan of a reading that was stored converted, by what the report printed, the same rule the commit applies. A converted reading carries a quiet "converted from 5.6 mmol/L" on the lab list (row and tile) and the history list (phone and table), so a number nobody typed can always be traced back to what the report printed. Strings in all seven locales. Refs #1095
2.9 MiB
2.9 MiB