mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 13:22:14 +00:00
fix(cycle): carry every logged day entry on the calendar read
The calendar grid carried flow, symptoms, BBT, the ovulation test and the mucus reading, and dropped the rest of the day log: intercourse, spotting, the pregnancy and progesterone tests, contraception and whether a note exists. The published contract also promised the three cervix signs while the route never sent them. The intent fields resolve through the same reader the day-log read uses, so an encrypted envelope reads the same on both, and the grid is served under the same cycle grant as the day log. Additive fields; the contract test pins the wire keys to the published schema.
This commit is contained in:
1 parent
d81518b5bf
commit
adec5bd045
7 files changed
+431
-31
No files matched your search
@@ -30974,6 +30974,28 @@ components:
|
||||
- CLOSED
|
||||
- OPEN
|
||||
- type: "null"
|
||||
intermenstrualBleeding:
|
||||
type: boolean
|
||||
description: Spotting or bleeding outside the period logged on this day.
|
||||
sexualActivity:
|
||||
type: boolean
|
||||
description: Intercourse logged on this day. Resolved from the plaintext column or the encrypted envelope, exactly as
|
||||
the day-log read resolves it, and served under the same cycle grant.
|
||||
pregnancyTest:
|
||||
anyOf:
|
||||
- $ref: "#/components/schemas/HomeTestResult"
|
||||
- type: "null"
|
||||
progesteroneTest:
|
||||
anyOf:
|
||||
- $ref: "#/components/schemas/HomeTestResult"
|
||||
- type: "null"
|
||||
contraceptive:
|
||||
anyOf:
|
||||
- type: string
|
||||
- type: "null"
|
||||
hasNote:
|
||||
type: boolean
|
||||
description: Whether the day carries a note. The note text is only on the day-log read.
|
||||
required:
|
||||
- date
|
||||
- phase
|
||||
@@ -30994,6 +31016,12 @@ components:
|
||||
- cervixPosition
|
||||
- cervixFirmness
|
||||
- cervixOpening
|
||||
- intermenstrualBleeding
|
||||
- sexualActivity
|
||||
- pregnancyTest
|
||||
- progesteroneTest
|
||||
- contraceptive
|
||||
- hasNote
|
||||
additionalProperties: false
|
||||
meta:
|
||||
type: object
|
||||
|
||||
Reference in new issue
Block a user