Files
HealthLog/docs/api/openapi.yaml
T
Marc-André Bombeck 376102a71e feat(labs): add POST /api/labs/fhir-batch for Health Records lab results
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.
2026-11-17 18:49:42 +01:00

3.4 MiB