mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-19 08:12:52 +00:00
The iOS app reads lab results from HealthKit's Health Records and sends them here as FHIR resources, up to 200 per batch. The route maps and writes them with the same mapper and writer as the export import, so a result already imported from an export is a duplicate, sending a batch again is safe, and a deleted result stays deleted. Owner-only (cookie or full-scope login token), its own 60-a-minute bucket, Idempotency-Key supported, per-record status with closed reasons, counts-only audit. The OpenAPI contract documents the route and the source values a lab result can carry, and the import status result names its lab counts.
3.4 MiB
3.4 MiB