diff --git a/tests/integration/__golden__/backup-parity/export-disaster-recovery.json b/tests/integration/__golden__/backup-parity/export-disaster-recovery.json index b217a23f5..c664c3195 100644 --- a/tests/integration/__golden__/backup-parity/export-disaster-recovery.json +++ b/tests/integration/__golden__/backup-parity/export-disaster-recovery.json @@ -12,7 +12,7 @@ "ntfyGlobal": false, "webPushGlobal": false, "webPushVapidPublicKey": "rt-AppSettings-webPushVapidPublicKey", - "webPushVapidPrivateKeyEncrypted": "", + "webPushVapidPrivateKeyEncrypted": "", "webPushVapidSubject": "rt-AppSettings-webPushVapidSubject", "apiGlobal": false, "umamiEnabled": true, @@ -26,12 +26,12 @@ "glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason", "reminderLateMinutes": 3, "reminderMissedMinutes": 3, - "adminAiKeyEncrypted": "", + "adminAiKeyEncrypted": "", "adminAiModel": "rt-AppSettings-adminAiModel", "adminAiBaseUrl": "rt-AppSettings-adminAiBaseUrl", - "adminCodexAccessTokenEncrypted": "", - "adminCodexRefreshTokenEncrypted": "", - "adminCodexAccountIdEncrypted": "", + "adminCodexAccessTokenEncrypted": "", + "adminCodexRefreshTokenEncrypted": "", + "adminCodexAccountIdEncrypted": "", "adminCodexTokenExpiresAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectedAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectionStatus": "rt-AppSettings-adminCodexConnectionStatus", @@ -75,7 +75,7 @@ "fullName": "rt-User-fullName", "insurerName": "rt-User-insurerName", "insuranceNumber": null, - "insuranceNumberEncrypted": "", + "insuranceNumberEncrypted": "", "insurerIkNumber": "rt-User-insurerIkNumber", "lastReportPracticeName": "rt-User-lastReportPracticeName", "avatarBytes": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=", @@ -83,7 +83,7 @@ "avatarUpdatedAt": "2026-06-30T12:34:56.789Z", "homeTimezone": "Asia/Tokyo", "homeSince": "2026-06-30T12:34:56.789Z", - "homeLocationEncrypted": "", + "homeLocationEncrypted": "", "environmentAirQualityEnabled": false, "timezone": "America/Chicago", "locale": "fr", @@ -196,8 +196,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:03.000Z", + "updatedAt": "2026-05-01T08:21:03.000Z" }, { "id": "", @@ -219,8 +219,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:04.000Z", + "updatedAt": "2026-05-01T08:21:04.000Z" }, { "id": "", @@ -242,8 +242,8 @@ "deviceType": null, "syncVersion": 4, "deletedAt": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:01.000Z", + "updatedAt": "2026-05-01T08:21:01.000Z" }, { "id": "", @@ -255,7 +255,7 @@ "measuredAt": "2026-07-01T07:00:00.000Z", "source": "MANUAL", "notes": "rt-Measurement-notes", - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": "rt-Measurement-externalSourceVersion", "aggregationProvenance": "HEALTHKIT_STATISTICS", @@ -265,8 +265,8 @@ "deviceType": "rt-Measurement-deviceType", "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:00.000Z", + "updatedAt": "2026-05-01T08:21:00.000Z" }, { "id": "", @@ -288,8 +288,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:02.000Z", + "updatedAt": "2026-05-01T08:21:02.000Z" } ], "customMedicationCategories": [ @@ -298,7 +298,7 @@ "label": "Heart and circulation", "sortOrder": 2, "isActive": false, - "createdAt": "" + "createdAt": "2026-05-01T23:06:00.000Z" } ], "medications": [ @@ -328,7 +328,7 @@ "reorderLeadDays": 3, "externalSource": "WEB", "externalId": "rt-Medication-externalId", - "updatedAt": "", + "updatedAt": "2026-05-01T11:51:00.000Z", "name": "Round-trip tablet", "dose": "5 mg", "active": false, @@ -336,7 +336,7 @@ "autoMarkTaken": true, "autoMarkTakenSince": "2026-06-30T12:34:56.789Z", "category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "createdAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", "schedules": [ { "id": "", @@ -381,8 +381,8 @@ { "id": "", "notes": "rt-MedicationSideEffect-notes", - "notesEncrypted": "", - "createdAt": "", + "notesEncrypted": "", + "createdAt": "2026-05-01T16:29:00.000Z", "occurredAt": "2026-07-01T21:00:00.000Z", "category": "GI", "entry": "NAUSEA", @@ -394,13 +394,13 @@ "id": "", "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { "id": "", "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "ingredients": [ @@ -412,7 +412,7 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "" + "createdAt": "2026-05-02T02:29:00.000Z" } ], "courses": [ @@ -420,24 +420,24 @@ "startsOn": "2026-03-01", "endsOn": "2026-03-07", "note": "the March flu", - "createdAt": "" + "createdAt": "2026-05-02T00:46:00.000Z" }, { "startsOn": "2026-06-10", "endsOn": "2026-06-16", "note": null, - "createdAt": "" + "createdAt": "2026-05-02T00:46:01.000Z" } ], "doseChanges": [ { "id": "", "note": "rt-MedicationDoseChange-note", - "noteEncrypted": "", + "noteEncrypted": "", "effectiveFrom": "2026-04-01T08:00:00.000Z", "doseValue": 5, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:00.000Z" }, { "id": "", @@ -446,26 +446,26 @@ "effectiveFrom": "2026-06-01T08:00:00.000Z", "doseValue": 10, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "inventoryItems": [ { "id": "", "notes": "rt-MedicationInventoryItem-notes", - "notesEncrypted": "", + "notesEncrypted": "", "state": "ACTIVE", "containerType": "BLISTER", "unitsTotal": "30", "unitsRemaining": "21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { "id": "", @@ -481,8 +481,8 @@ "purchasedAt": null, "manufacturer": null, "doseStrength": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "phaseConfig": { @@ -524,7 +524,7 @@ ], "source": "ARCHIVED", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { "id": "", @@ -539,7 +539,7 @@ ], "source": "ARCHIVED", "supersededByIndex": 2, - "createdAt": "" + "createdAt": "2026-05-06T04:47:02.000Z" }, { "id": "", @@ -554,14 +554,14 @@ ], "source": "MANUAL", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "efficacyTargets": [ { "id": "", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-06T06:25:00.000Z", + "updatedAt": "2026-05-06T06:26:00.000Z", "measurementType": "WEIGHT", "biomarkerName": "Ferritin", "primary": false @@ -573,17 +573,38 @@ { "id": "", "medicationId": "", + "autoMissed": false, + "attributionSource": "AUTO", + "idempotencyKey": null, + "createdAt": "2026-05-01T14:51:01.000Z", + "injectionSite": null, + "doseTaken": null, + "inventoryConsumption": null, + "externalId": null, + "updatedAt": "2026-05-01T14:56:01.000Z", + "syncVersion": 0, + "deletedAt": "", + "medication": "Round-trip tablet", + "scheduledFor": "2026-07-02T08:00:00.000Z", + "takenAt": "2026-07-02T08:03:00.000Z", + "skipped": false, + "source": "WEB", + "autoRecorded": false + }, + { + "id": "", + "medicationId": "", "autoMissed": true, "attributionSource": "USER_PIN", "idempotencyKey": "rt-MedicationIntakeEvent-idempotencyKey", - "createdAt": "", + "createdAt": "2026-05-01T14:51:00.000Z", "injectionSite": "ABDOMEN_LEFT", "doseTaken": "rt-MedicationIntakeEvent-doseTaken", "inventoryConsumption": { "roundTrip": "rt-MedicationIntakeEvent-inventoryConsumption" }, "externalId": "rt-MedicationIntakeEvent-externalId", - "updatedAt": "", + "updatedAt": "2026-05-01T14:56:00.000Z", "syncVersion": 3, "deletedAt": null, "medication": "Round-trip tablet", @@ -595,14 +616,40 @@ } ], "moodEntries": [ + { + "note": null, + "noteEncrypted": null, + "syncedAt": "2026-05-02T04:17:01.000Z", + "syncVersion": 0, + "createdAt": "2026-05-02T04:18:01.000Z", + "updatedAt": "2026-05-02T04:19:01.000Z", + "id": "", + "date": "2026-07-03", + "mood": "SCHLECHT", + "score": 2, + "a1": null, + "a2": null, + "a3": null, + "a4": null, + "a5": null, + "tags": null, + "source": "MOODLOG", + "loggedAt": "2026-07-03T20:00:00.000Z", + "externalId": null, + "tz": null, + "deletedAt": "", + "factors": [], + "structuredTags": [], + "context": null + }, { "note": "rt-MoodEntry-note", - "noteEncrypted": "", - "syncedAt": "", + "noteEncrypted": "", + "syncedAt": "2026-05-02T04:17:00.000Z", "syncVersion": 3, - "createdAt": "", - "updatedAt": "", - "id": "", + "createdAt": "2026-05-02T04:18:00.000Z", + "updatedAt": "2026-05-02T04:19:00.000Z", + "id": "", "date": "2026-07-01", "mood": "GUT", "score": 4, @@ -625,7 +672,7 @@ ], "structuredTags": [], "context": { - "notesEncrypted": "", + "notesEncrypted": "", "workStatus": "regular", "workMinutes": 3, "overtimeMinutes": 3, @@ -648,41 +695,41 @@ ], "customMoodTagCategories": [ { - "id": "", + "id": "", "key": "round_trip_own_category", "labelKey": "mood.category.roundTripOwn", "icon": "rt-MoodTagCategory-icon", "sortOrder": 90, "isActive": false, - "labelEncrypted": "" + "labelEncrypted": "" } ], "hiddenMoodTags": [ { "key": "grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "customMoodTags": [ { - "id": "", + "id": "", "key": "round_trip_factor", "labelKey": "mood.tag.roundTripFactor", - "categoryId": "", + "categoryId": "", "kind": "RATED", "isActive": false, "icon": "rt-MoodTag-icon", "sortOrder": 3, - "labelEncrypted": "", + "labelEncrypted": "", "scaleMin": 3, "scaleMax": 3, "inverse": true } ], "cycleProfile": { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-03T06:52:00.000Z", + "updatedAt": "2026-05-03T06:53:00.000Z", "goal": "AVOID_PREGNANCY", "cycleTrackingEnabled": true, "typicalCycleLength": 3, @@ -696,13 +743,29 @@ }, "cycles": [ { - "id": "", + "id": "", + "isPredicted": false, + "syncVersion": 0, + "deletedAt": "", + "absorbedIntoId": null, + "createdAt": "2026-05-03T08:33:02.000Z", + "updatedAt": "2026-05-03T08:34:02.000Z", + "startDate": "2026-05-04", + "endDate": null, + "periodEndDate": null, + "lengthDays": null, + "ovulationDate": null, + "ovulationConfirmed": false, + "tz": null + }, + { + "id": "", "isPredicted": true, "syncVersion": 3, "deletedAt": null, "absorbedIntoId": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T08:33:00.000Z", + "updatedAt": "2026-05-03T08:34:00.000Z", "startDate": "2026-06-01", "endDate": "rt-MenstrualCycle-endDate", "periodEndDate": "rt-MenstrualCycle-periodEndDate", @@ -712,13 +775,13 @@ "tz": "rt-MenstrualCycle-tz" }, { - "id": "", + "id": "", "isPredicted": false, "syncVersion": 0, "deletedAt": "2026-06-04T07:00:00.000Z", - "absorbedIntoId": "", - "createdAt": "", - "updatedAt": "", + "absorbedIntoId": "", + "createdAt": "2026-05-03T08:33:01.000Z", + "updatedAt": "2026-05-03T08:34:01.000Z", "startDate": "2026-06-03", "endDate": null, "periodEndDate": null, @@ -730,12 +793,12 @@ ], "cycleDayLogs": [ { - "id": "", - "cycleId": "", + "id": "", + "cycleId": "", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T10:25:00.000Z", + "updatedAt": "2026-05-03T10:26:00.000Z", "date": "2026-06-02", "flow": "HEAVY", "intermenstrualBleeding": true, @@ -751,8 +814,8 @@ "pregnancyTest": "NEGATIVE", "progesteroneTest": "NEGATIVE", "contraceptive": "NONE", - "sensitiveEncrypted": "", - "notesEncrypted": "", + "sensitiveEncrypted": "", + "notesEncrypted": "", "source": "WITHINGS", "externalId": "rt-CycleDayLog-externalId", "tz": "rt-CycleDayLog-tz", @@ -765,27 +828,57 @@ "severity": 3 } ] + }, + { + "id": "", + "cycleId": "", + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-03T10:25:01.000Z", + "updatedAt": "2026-05-03T10:26:01.000Z", + "date": "2026-06-03", + "flow": "LIGHT", + "intermenstrualBleeding": false, + "basalBodyTempC": null, + "temperatureExcluded": false, + "ovulationTest": null, + "cervicalMucus": null, + "cervixPosition": null, + "cervixFirmness": null, + "cervixOpening": null, + "sexualActivity": false, + "protectedSex": null, + "pregnancyTest": null, + "progesteroneTest": null, + "contraceptive": null, + "sensitiveEncrypted": null, + "notesEncrypted": null, + "source": "MANUAL", + "externalId": null, + "tz": null, + "symptomKeys": [], + "symptomSeverities": [] } ], "customSymptoms": [ { - "id": "", + "id": "", "key": "custom:round-trip-cramps", "labelKey": "cycle.symptom.custom", "categoryId": "csc_physical", "icon": "rt-CycleSymptom-icon", "sortOrder": 3, "isActive": false, - "labelEncrypted": "" + "labelEncrypted": "" } ], "labResults": [ { - "id": "", - "biomarkerId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "biomarkerId": "", + "noteEncrypted": "", + "createdAt": "2026-05-02T10:58:00.000Z", + "updatedAt": "2026-05-02T10:59:00.000Z", "deletedAt": null, "note": null, "panel": "rt-LabResult-panel", @@ -803,13 +896,37 @@ "takenAt": "2026-06-30T09:00:00.000Z", "source": "rt-LabResult-source", "biomarkerName": "Ferritin" + }, + { + "id": "", + "biomarkerId": null, + "noteEncrypted": null, + "createdAt": "2026-05-02T10:58:01.000Z", + "updatedAt": "2026-05-02T10:59:01.000Z", + "deletedAt": "", + "note": null, + "panel": null, + "analyte": "TSH", + "value": 2.1, + "valueText": null, + "unit": "mU/L", + "referenceLow": null, + "referenceHigh": null, + "sourceReferenceLow": null, + "sourceReferenceHigh": null, + "sourceReferenceText": null, + "sourceValue": null, + "sourceUnit": null, + "takenAt": "2026-05-30T09:00:00.000Z", + "source": "MANUAL", + "biomarkerName": null } ], "biomarkers": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-02T12:30:00.000Z", + "updatedAt": "2026-05-02T12:31:00.000Z", "name": "Ferritin", "unit": "ng/mL", "lowerBound": 2.5, @@ -822,26 +939,44 @@ { "name": "Ferr.", "source": "IMPORT_CHOICE", - "id": "", - "createdAt": "" + "id": "", + "createdAt": "2026-05-06T11:26:00.000Z" } ] } ], "biomarkerMerges": [ { - "id": "", - "targetBiomarkerId": "", + "id": "", + "targetBiomarkerId": "", "targetName": "Ferritin", "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "illnessEpisodes": [ { - "id": "", + "id": "", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "note": null, + "noteEncrypted": null, + "bodySite": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "updatedAt": "2026-05-02T17:32:03.000Z", + "deletedAt": null, + "dayLogs": [] + }, + { + "id": "", "label": "Cold", "type": "INFECTION", "lifecycle": "CHRONIC_ONGOING", @@ -849,25 +984,25 @@ "resolvedAt": "2026-06-30T12:34:56.789Z", "parentConditionId": null, "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "bodySite": null, "bodySiteEncrypted": null, "laterality": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "updatedAt": "2026-05-02T17:32:00.000Z", "deletedAt": null, "dayLogs": [ { - "id": "", - "episodeId": "", + "id": "", + "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "tz": "rt-IllnessDayLog-tz", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T19:08:00.000Z", + "updatedAt": "2026-05-02T19:09:00.000Z", "deletedAt": null, "symptoms": [ { @@ -875,11 +1010,43 @@ "severity": 2 } ] + }, + { + "id": "", + "episodeId": "", + "date": "2026-06-22", + "functionalImpact": null, + "feverC": null, + "note": null, + "noteEncrypted": null, + "tz": null, + "createdAt": "2026-05-02T19:08:01.000Z", + "updatedAt": "2026-05-02T19:09:01.000Z", + "deletedAt": "", + "symptoms": [] } ] }, { - "id": "", + "id": "", + "label": "Sprained ankle (deleted)", + "type": "INJURY", + "lifecycle": "ACUTE", + "onsetAt": "2026-04-10T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": null, + "note": null, + "noteEncrypted": null, + "bodySite": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:02.000Z", + "updatedAt": "2026-05-02T17:32:02.000Z", + "deletedAt": "", + "dayLogs": [] + }, + { + "id": "", "label": "Iron deficiency", "type": "CHRONIC", "lifecycle": "ACUTE", @@ -889,17 +1056,33 @@ "note": null, "noteEncrypted": null, "bodySite": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": "BOTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", + "updatedAt": "2026-05-02T17:32:01.000Z", "deletedAt": null, "dayLogs": [] } ], "allergies": [ { - "id": "", + "id": "", + "substance": "Latex (deleted)", + "category": "OTHER", + "type": "ALLERGY", + "severity": null, + "status": "ACTIVE", + "onsetAt": null, + "reaction": null, + "note": null, + "reactionEncrypted": null, + "notesEncrypted": null, + "createdAt": "2026-05-02T14:10:01.000Z", + "updatedAt": "2026-05-02T14:11:01.000Z", + "deletedAt": "" + }, + { + "id": "", "substance": "Penicillin", "category": "FOOD", "type": "INTOLERANCE", @@ -908,29 +1091,29 @@ "onsetAt": "2026-06-30T12:34:56.789Z", "reaction": null, "note": null, - "reactionEncrypted": "", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "reactionEncrypted": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z", "deletedAt": null } ], "familyHistory": [ { - "id": "", + "id": "", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, "note": "rt-FamilyHistoryEntry-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z" } ], "workouts": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-03T21:58:00.000Z", + "updatedAt": "2026-05-03T21:59:00.000Z", "metadata": { "roundTrip": "rt-Workout-metadata" }, @@ -953,7 +1136,7 @@ ], "documents": [ { - "id": "", + "id": "", "kind": "LAB_RESULT", "title": "June labs", "filename": "june-labs.pdf", @@ -965,14 +1148,14 @@ "sourceSystem": "PAPERLESS", "sourceId": "4711", "sourceInstance": "https://paperless.example.test", - "createdAt": "", - "updatedAt": "", - "contentEncrypted": "", + "createdAt": "2026-05-04T01:24:00.000Z", + "updatedAt": "2026-05-04T01:25:00.000Z", + "contentEncrypted": "", "contentSha256": "0a738470f0945033965858e9895ee721ce981a25f013514d587d0a7a1946be7a", "contentCodec": "binary2", "providerType": "rt-InboundDocument-providerType", "errorReason": "rt-InboundDocument-errorReason", - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryGeneratedAt": "2026-06-30T12:34:56.789Z", "summaryState": "PENDING", "lastIndexAttemptAt": "2026-06-30T12:34:56.789Z", @@ -999,7 +1182,7 @@ } }, "healthProfile": { - "id": "", + "id": "", "aboutMe": null, "conditions": null, "allergies": null, @@ -1016,35 +1199,46 @@ "emergencyContacts": null, "emergencyImplants": null, "emergencyNote": null, - "emergencyContactsEncrypted": "", - "emergencyImplantsEncrypted": "", - "emergencyNoteEncrypted": "", - "aboutMeEncrypted": "", - "conditionsEncrypted": "", - "allergiesEncrypted": "", - "coachFocusEncrypted": "", - "pendingQuestionsEncrypted": "", - "createdAt": "", - "updatedAt": "" + "emergencyContactsEncrypted": "", + "emergencyImplantsEncrypted": "", + "emergencyNoteEncrypted": "", + "aboutMeEncrypted": "", + "conditionsEncrypted": "", + "allergiesEncrypted": "", + "coachFocusEncrypted": "", + "pendingQuestionsEncrypted": "", + "createdAt": "2026-05-03T03:35:00.000Z", + "updatedAt": "2026-05-03T03:36:00.000Z" }, "healthProfileFacts": [ { - "id": "", + "id": "", "kind": "SMOKING_STATUS", "value": null, - "valueEncrypted": "", + "valueEncrypted": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-06-30T12:34:56.789Z", "provenance": "USER_CORRECTION", + "supersededByRevisionId": "", + "createdAt": "2026-05-03T05:08:00.000Z" + }, + { + "id": "", + "kind": "SMOKING_STATUS", + "value": null, + "valueEncrypted": "", + "validFrom": "2026-02-01T00:00:00.000Z", + "validUntil": null, + "provenance": "USER_REPORTED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-03T05:08:01.000Z" } ], "customMetrics": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-03T15:09:00.000Z", + "updatedAt": "2026-05-03T15:10:00.000Z", "deletedAt": null, "name": "Grip strength", "unit": "kg", @@ -1055,8 +1249,18 @@ "correlationEnabled": true, "entries": [ { - "id": "", - "createdAt": "", + "id": "", + "createdAt": "2026-05-03T16:48:02.000Z", + "deletedAt": "", + "noteEncrypted": null, + "value": 40, + "unit": "kg", + "measuredAt": "2026-06-28T18:00:00.000Z", + "note": null + }, + { + "id": "", + "createdAt": "2026-05-03T16:48:00.000Z", "deletedAt": null, "noteEncrypted": null, "value": 44, @@ -1065,23 +1269,37 @@ "note": "left hand, after the long ride" }, { - "id": "", - "createdAt": "", + "id": "", + "createdAt": "2026-05-03T16:48:01.000Z", "deletedAt": null, - "noteEncrypted": "", + "noteEncrypted": "", "value": 45, "unit": "kg", "measuredAt": "2026-07-02T18:00:00.000Z", "note": null } ] + }, + { + "id": "", + "createdAt": "2026-05-03T15:09:01.000Z", + "updatedAt": "2026-05-03T15:10:01.000Z", + "deletedAt": "", + "name": "Plank (deleted)", + "unit": "s", + "targetLow": null, + "targetHigh": null, + "decimals": null, + "description": null, + "correlationEnabled": false, + "entries": [] } ], "correlationPatterns": [ { - "id": "", - "updatedAt": "", - "createdAt": "", + "id": "", + "updatedAt": "2026-05-03T18:39:00.000Z", + "createdAt": "2026-05-03T18:38:00.000Z", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", "factorKey": "sleep_duration", @@ -1103,9 +1321,9 @@ "decryptFailures": [], "intradayProfiles": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-01T09:51:00.000Z", + "updatedAt": "2026-05-01T09:52:00.000Z", "type": "ACTIVITY_STEPS", "dateKey": "2026-07-01", "hourlyCumulative": [ @@ -1169,8 +1387,8 @@ ], "healthScoreRecords": [ { - "id": "", - "createdAt": "", + "id": "", + "createdAt": "2026-05-03T20:13:00.000Z", "dayKey": "2026-07-01", "timezone": "Europe/Berlin", "composite": 71, @@ -1187,13 +1405,13 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "" + "computedAt": "2026-05-03T20:12:00.000Z" } ], "onboardingRecord": { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-06T09:47:00.000Z", + "updatedAt": "2026-05-06T09:48:00.000Z", "needs": { "recordTarget": "me", "areas": [ @@ -1258,61 +1476,102 @@ }, "practitioners": [ { - "id": "", + "id": "", + "name": "Closed practice (deleted)", + "specialty": null, + "practice": null, + "location": null, + "phone": null, + "locationEncrypted": null, + "phoneEncrypted": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T02:50:01.000Z", + "updatedAt": "2026-05-04T02:51:01.000Z", + "deletedAt": "" + }, + { + "id": "", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": null, "phone": null, - "locationEncrypted": "", - "phoneEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "locationEncrypted": "", + "phoneEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z", "deletedAt": null } ], "encounters": [ { - "id": "", + "id": "", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", - "reasonEncrypted": "", - "outcomeEncrypted": "", - "bodySiteEncrypted": "", + "practitionerId": "", + "reasonEncrypted": "", + "outcomeEncrypted": "", + "bodySiteEncrypted": "", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "", + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z", "deletedAt": null + }, + { + "id": "", + "occurredAt": "2026-04-02T08:00:00.000Z", + "status": "DONE", + "kind": "ROUTINE", + "practitionerId": "", + "reasonEncrypted": null, + "outcomeEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "reminderId": null, + "createdAt": "2026-05-04T04:31:01.000Z", + "updatedAt": "2026-05-04T04:32:01.000Z", + "deletedAt": "" } ], "encounterDocumentLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T06:04:00.000Z" } ], "encounterLabLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T07:44:00.000Z" } ], "encounterConditionLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T09:24:00.000Z" } ], "customVaccines": [ { - "id": "", + "id": "", + "name": "Deleted combo", + "components": [ + "rabies" + ], + "typicalSeriesDoses": null, + "boosterIntervalMonths": null, + "createdAt": "2026-05-04T14:27:01.000Z", + "updatedAt": "2026-05-04T14:28:01.000Z", + "deletedAt": "" + }, + { + "id": "", "name": "Round-trip travel combo", "components": [ "typhoid", @@ -1320,14 +1579,14 @@ ], "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z", "deletedAt": null } ], "vaccinations": [ { - "id": "", + "id": "", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", "vaccineName": "Tetanus, diphtheria and pertussis", @@ -1335,26 +1594,44 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z", "deletedAt": null + }, + { + "id": "", + "occurredAt": "2026-04-14T00:00:00.000Z", + "antigenSlug": "influenza", + "vaccineName": "Influenza (deleted)", + "doseNumber": null, + "seriesDoses": null, + "lotNumber": null, + "site": null, + "practitionerId": null, + "encounterId": null, + "reminderId": null, + "customVaccineId": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T11:14:01.000Z", + "updatedAt": "2026-05-04T11:15:01.000Z", + "deletedAt": "" } ], "vaccinationDocumentLinks": [ { - "vaccinationId": "", - "targetId": "", - "createdAt": "" + "vaccinationId": "", + "targetId": "", + "createdAt": "2026-05-04T12:44:00.000Z" } ], "measurementReminders": [ { - "id": "", + "id": "", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", "intervalDays": 7, @@ -1371,46 +1648,68 @@ "snoozedUntil": "2026-07-08T06:00:00.000Z", "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z", "deletedAt": null + }, + { + "id": "", + "label": "Gewicht (deleted)", + "measurementType": "WEIGHT", + "intervalDays": 14, + "rrule": null, + "anchorDate": null, + "endsOn": null, + "origin": "VORSORGE", + "notifyHour": 9, + "location": null, + "nextDueAt": null, + "lastSatisfiedAt": null, + "enabled": true, + "vaccinationAntigen": null, + "snoozedUntil": null, + "lastSkippedAt": null, + "skipCount": 0, + "createdAt": "2026-05-04T16:19:01.000Z", + "updatedAt": "2026-05-04T16:20:01.000Z", + "deletedAt": "" } ], "measurementReminderEvents": [ { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" }, { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" } ], "coachConversations": [ { - "id": "", + "id": "", "title": "How is my blood pressure trending?", "documentScoped": false, - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": "rt-CoachMessage-metricSourceJson", "providerType": null, "promptVersion": "rt-CoachMessage-promptVersion", @@ -1421,35 +1720,35 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", + "id": "", "role": "assistant", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": null, "providerType": "anthropic", "promptVersion": null, "tokensUsed": 812, "model": "claude-opus-5", - "resultsEncrypted": "", - "trailEncrypted": "", + "resultsEncrypted": "", + "trailEncrypted": "", "createdAt": "2026-07-20T09:59:00.000Z" } ], "attachments": [] }, { - "id": "", - "titleEncrypted": "", + "id": "", + "titleEncrypted": "", "documentScoped": true, "summaryEncrypted": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": null, "providerType": null, "promptVersion": null, @@ -1462,7 +1761,7 @@ ], "attachments": [ { - "documentId": "", + "documentId": "", "addedAt": "2026-07-21T07:59:00.000Z" } ] @@ -1470,61 +1769,124 @@ ], "coachFacts": [ { - "id": "", - "factEncrypted": "", + "id": "", + "factEncrypted": "", "deletedAt": null, "category": "constraint", "confidence": 80, - "sourceConversationId": "", + "sourceConversationId": "", "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "", - "createdAt": "", - "updatedAt": "" + "sourceMessageId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z" + }, + { + "id": "", + "factEncrypted": "", + "deletedAt": "", + "category": "preference", + "confidence": 50, + "sourceConversationId": "", + "source": "user", + "lastUsedAt": null, + "sourceMessageId": null, + "createdAt": "2026-05-05T00:26:01.000Z", + "updatedAt": "2026-05-05T00:27:01.000Z" } ], "coachPlans": [ { - "id": "", + "id": "", "metric": "BLOOD_PRESSURE", - "ifCueEncrypted": "", - "thenActionEncrypted": "", - "targetEncrypted": "", - "outcomeEncrypted": "", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": "", + "outcomeEncrypted": "", "deletedAt": null, "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "" + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z" + }, + { + "id": "", + "metric": "WEIGHT", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": null, + "outcomeEncrypted": null, + "deletedAt": "", + "status": "active", + "reviewDate": null, + "sourceConversationId": null, + "createdAt": "2026-05-05T02:10:01.000Z", + "updatedAt": "2026-05-05T02:11:01.000Z" } ], "coachReminders": [ { - "id": "", - "noteEncrypted": "", + "id": "", + "noteEncrypted": "", "deletedAt": null, "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z" + }, + { + "id": "", + "noteEncrypted": "", + "deletedAt": "", + "metric": null, + "relatedPlanId": "", + "triggerKind": "date", + "dueAt": "2026-09-15T07:00:00.000Z", + "contextCue": null, + "status": "active", + "source": "extractor", + "sourceConversationId": null, + "lastSurfacedAt": null, + "surfaceCount": 0, + "createdAt": "2026-05-05T03:53:01.000Z", + "updatedAt": "2026-05-05T03:54:01.000Z" } ], "mentalHealthAssessments": [ { - "id": "", + "id": "", + "instrument": "GAD7", + "locale": "en", + "version": "standard", + "responsesEncrypted": "", + "totalScore": 4, + "severityBand": "minimal", + "item9Flagged": false, + "crisisShownAt": null, + "takenAt": "2026-06-05T18:00:00.000Z", + "tz": "Europe/Berlin", + "source": "WEB", + "externalId": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-05T13:56:01.000Z", + "updatedAt": "2026-05-05T13:57:01.000Z" + }, + { + "id": "", "instrument": "PHQ9", "locale": "de", "version": "rt-MentalHealthAssessment-version", - "responsesEncrypted": "", + "responsesEncrypted": "", "totalScore": 14, "severityBand": "moderate", "item9Flagged": true, @@ -1535,49 +1897,49 @@ "externalId": "rt-MentalHealthAssessment-externalId", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T13:56:00.000Z", + "updatedAt": "2026-05-05T13:57:00.000Z" } ], "consentReceipts": [ { - "id": "", + "id": "", "kind": "ai-processing", "artefact": "JVBERi0xLjQKJWZpeHR1cmU=", "signedAt": "2026-06-01T09:00:00.000Z", "revokedAt": null, - "createdAt": "" + "createdAt": "2026-05-05T15:26:00.000Z" }, { - "id": "", + "id": "", "kind": "research-sharing", "artefact": "eyJhbGciOiJub25lIn0.e30.", "signedAt": "2026-06-02T09:00:00.000Z", "revokedAt": "2026-07-10T11:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T15:26:01.000Z" } ], "documentConditionLinks": [ { - "documentId": "", - "episodeId": "", + "documentId": "", + "episodeId": "", "createdAt": "2026-07-02T09:00:00.000Z" } ], "extractedFacts": [ { - "id": "", - "documentId": "", + "id": "", + "documentId": "", "factType": "OBSERVATION", "status": "APPROVED", "confidence": 0.94, "needsReview": false, - "committedRecordId": "", + "committedRecordId": "", "committedRecordType": "labResult", - "dataEncrypted": "", - "provenanceEncrypted": "", - "createdAt": "", - "updatedAt": "" + "dataEncrypted": "", + "provenanceEncrypted": "", + "createdAt": "2026-05-05T18:51:00.000Z", + "updatedAt": "2026-05-05T18:52:00.000Z" } ], "personalRecords": [ @@ -1591,7 +1953,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { "metricType": "WALKING_RUNNING_DISTANCE", @@ -1603,7 +1965,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { "metricType": "WEIGHT", @@ -1615,19 +1977,19 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "userAchievements": [ { "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" }, { "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" } ], "environmentContexts": [ @@ -1635,7 +1997,7 @@ "date": "2026-06-15", "lat": null, "lon": null, - "locationEncrypted": "", + "locationEncrypted": "", "locationLabel": null, "source": "TRAVEL", "tempMin": 19.4, @@ -1673,14 +2035,14 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { "date": "2026-07-01", "lat": null, "lon": null, - "locationEncrypted": "", + "locationEncrypted": "", "locationLabel": null, "source": "HOME", "tempMin": 13.1, @@ -1718,8 +2080,8 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "environmentTravelLocations": [ @@ -1729,9 +2091,9 @@ "lat": null, "lon": null, "label": null, - "locationEncrypted": "", - "createdAt": "", - "updatedAt": "" + "locationEncrypted": "", + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "dawarichDays": [ @@ -1743,17 +2105,17 @@ "placesVisited": 4, "awayFromHomeMinutes": 1440, "countryCode": null, - "countryCodeEncrypted": "", + "countryCodeEncrypted": "", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "ecgRecordings": [ { - "id": "", - "waveformEncrypted": "", + "id": "", + "waveformEncrypted": "", "source": "MANUAL", "externalRecordingId": "round-trip-signal-1", "recordedAt": "2026-06-15T14:22:00.000Z", @@ -1764,120 +2126,132 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "symptomDefinitions": [ { - "id": "", - "labelEncrypted": "", + "id": "", + "labelEncrypted": "", "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z", "events": [ { - "id": "", + "id": "", "noteEncrypted": null, "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, - "episodeId": "", - "createdAt": "", - "updatedAt": "" + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { - "id": "", + "id": "", "noteEncrypted": null, "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ] }, { - "id": "", - "labelEncrypted": "", + "id": "", + "labelEncrypted": "", "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z", "events": [ { - "id": "", - "noteEncrypted": "", + "id": "", + "noteEncrypted": "", "occurredAt": "2026-06-21T11:00:00.000Z", "intensity": 8, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" } ] } ], "lifeEvents": [ { - "id": "", - "titleEncrypted": "", - "noteEncrypted": "", + "id": "", + "titleEncrypted": "", + "noteEncrypted": "", "category": "HOME", "startDate": "2023-09-01", "endDate": null, "precision": "MONTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z", "deletedAt": null }, { - "id": "", - "titleEncrypted": "", + "id": "", + "titleEncrypted": "", + "noteEncrypted": null, + "category": "OTHER", + "startDate": "2025-12-01", + "endDate": null, + "precision": "DAY", + "createdAt": "2026-05-03T01:48:02.000Z", + "updatedAt": "2026-05-03T01:49:02.000Z", + "deletedAt": "" + }, + { + "id": "", + "titleEncrypted": "", "noteEncrypted": null, "category": "WORK", "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z", "deletedAt": null } ], "labResultDocumentLinks": [ { - "labResultId": "", - "documentId": "", - "createdAt": "" + "labResultId": "", + "documentId": "", + "createdAt": "2026-05-06T14:44:00.000Z" } ], "encounterMedicationLinks": [ { - "encounterId": "", + "encounterId": "", "medicationId": "", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "encounterVaccinationLinks": [ { - "encounterId": "", - "vaccinationId": "", - "createdAt": "" + "encounterId": "", + "vaccinationId": "", + "createdAt": "2026-05-06T18:04:00.000Z" } ], "medicationDocumentLinks": [ { "medicationId": "", - "documentId": "", - "createdAt": "" + "documentId": "", + "createdAt": "2026-05-06T19:44:00.000Z" } ], "medicationConditionLinks": [ { "medicationId": "", - "episodeId": "", - "createdAt": "" + "episodeId": "", + "createdAt": "2026-05-06T21:24:00.000Z" } ], "nutrientDays": [ @@ -1888,14 +2262,14 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "" + "createdAt": "2026-05-03T23:27:00.000Z" } ] }, "builtCounts": { "measurements": 5, "medications": 1, - "intakeEvents": 1, + "intakeEvents": 2, "medicationSideEffects": 1, "medicationPauseEras": 2, "medicationDoseChanges": 2, @@ -1904,43 +2278,43 @@ "reminderPhaseConfigs": 1, "medicationEfficacyTargets": 1, "medicationScheduleRevisions": 3, - "moodEntries": 1, + "moodEntries": 2, "customMoodTagCategories": 1, "hiddenMoodTags": 1, - "cycles": 2, - "cycleDayLogs": 1, + "cycles": 3, + "cycleDayLogs": 2, "nutrientDays": 1, - "labResults": 1, + "labResults": 2, "biomarkers": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "healthProfile": 1, - "customMetrics": 1, - "healthProfileFactRevisions": 1, - "customMetricEntries": 2, + "customMetrics": 2, + "healthProfileFactRevisions": 2, + "customMetricEntries": 3, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "customVaccines": 1, - "vaccinations": 1, + "customVaccines": 2, + "vaccinations": 2, "vaccinationLinks": 1, - "measurementReminders": 1, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, "coachConversationDocuments": 1, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "documentConditionLinks": 1, "extractedFacts": 1, @@ -1952,13 +2326,13 @@ "ecgRecordings": 1, "symptomDefinitions": 2, "symptomEvents": 3, - "lifeEvents": 2, + "lifeEvents": 3, "relationLinks": 5 }, "streamedCounts": { "measurements": 5, "medications": 1, - "intakeEvents": 1, + "intakeEvents": 2, "medicationSideEffects": 1, "medicationPauseEras": 2, "medicationDoseChanges": 2, @@ -1967,43 +2341,43 @@ "reminderPhaseConfigs": 1, "medicationEfficacyTargets": 1, "medicationScheduleRevisions": 3, - "moodEntries": 1, + "moodEntries": 2, "customMoodTagCategories": 1, "hiddenMoodTags": 1, - "cycles": 2, - "cycleDayLogs": 1, + "cycles": 3, + "cycleDayLogs": 2, "nutrientDays": 1, - "labResults": 1, + "labResults": 2, "biomarkers": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "healthProfile": 1, - "customMetrics": 1, - "healthProfileFactRevisions": 1, - "customMetricEntries": 2, + "customMetrics": 2, + "healthProfileFactRevisions": 2, + "customMetricEntries": 3, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "customVaccines": 1, - "vaccinations": 1, + "customVaccines": 2, + "vaccinations": 2, "vaccinationLinks": 1, - "measurementReminders": 1, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, "coachConversationDocuments": 1, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "documentConditionLinks": 1, "extractedFacts": 1, @@ -2015,7 +2389,7 @@ "ecgRecordings": 1, "symptomDefinitions": 2, "symptomEvents": 3, - "lifeEvents": 2, + "lifeEvents": 3, "relationLinks": 5 }, "parsed": { @@ -2031,7 +2405,7 @@ "ntfyGlobal": false, "webPushGlobal": false, "webPushVapidPublicKey": "rt-AppSettings-webPushVapidPublicKey", - "webPushVapidPrivateKeyEncrypted": "", + "webPushVapidPrivateKeyEncrypted": "", "webPushVapidSubject": "rt-AppSettings-webPushVapidSubject", "apiGlobal": false, "umamiEnabled": true, @@ -2042,12 +2416,12 @@ "glitchtipEnvironment": "rt-AppSettings-glitchtipEnvironment", "reminderLateMinutes": 3, "reminderMissedMinutes": 3, - "adminAiKeyEncrypted": "", + "adminAiKeyEncrypted": "", "adminAiModel": "rt-AppSettings-adminAiModel", "adminAiBaseUrl": "rt-AppSettings-adminAiBaseUrl", - "adminCodexAccessTokenEncrypted": "", - "adminCodexRefreshTokenEncrypted": "", - "adminCodexAccountIdEncrypted": "", + "adminCodexAccessTokenEncrypted": "", + "adminCodexRefreshTokenEncrypted": "", + "adminCodexAccountIdEncrypted": "", "adminCodexTokenExpiresAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectedAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectionStatus": "rt-AppSettings-adminCodexConnectionStatus", @@ -2094,7 +2468,7 @@ "fullName": "rt-User-fullName", "insurerName": "rt-User-insurerName", "insuranceNumber": null, - "insuranceNumberEncrypted": "", + "insuranceNumberEncrypted": "", "insurerIkNumber": "rt-User-insurerIkNumber", "lastReportPracticeName": "rt-User-lastReportPracticeName", "avatarBytes": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=", @@ -2102,7 +2476,7 @@ "avatarUpdatedAt": "2026-06-30T12:34:56.789Z", "homeTimezone": "Asia/Tokyo", "homeSince": "2026-06-30T12:34:56.789Z", - "homeLocationEncrypted": "", + "homeLocationEncrypted": "", "environmentAirQualityEnabled": false, "timezone": "America/Chicago", "locale": "fr", @@ -2215,8 +2589,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:03.000Z", + "updatedAt": "2026-05-01T08:21:03.000Z" }, { "id": "", @@ -2238,8 +2612,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:04.000Z", + "updatedAt": "2026-05-01T08:21:04.000Z" }, { "id": "", @@ -2261,8 +2635,8 @@ "deviceType": null, "syncVersion": 4, "deletedAt": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:01.000Z", + "updatedAt": "2026-05-01T08:21:01.000Z" }, { "id": "", @@ -2274,7 +2648,7 @@ "measuredAt": "2026-07-01T07:00:00.000Z", "source": "MANUAL", "notes": "rt-Measurement-notes", - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": "rt-Measurement-externalSourceVersion", "aggregationProvenance": "HEALTHKIT_STATISTICS", @@ -2284,8 +2658,8 @@ "deviceType": "rt-Measurement-deviceType", "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:00.000Z", + "updatedAt": "2026-05-01T08:21:00.000Z" }, { "id": "", @@ -2307,8 +2681,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:02.000Z", + "updatedAt": "2026-05-01T08:21:02.000Z" } ], "medications": [ @@ -2345,8 +2719,8 @@ "reorderLeadDays": 3, "externalSource": "WEB", "externalId": "rt-Medication-externalId", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", + "updatedAt": "2026-05-01T11:51:00.000Z", "schedules": [ { "id": "", @@ -2395,8 +2769,8 @@ "entry": "NAUSEA", "severity": 3, "notes": "rt-MedicationSideEffect-notes", - "notesEncrypted": "", - "createdAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-01T16:29:00.000Z" } ], "pauseEras": [ @@ -2404,13 +2778,13 @@ "id": "", "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { "id": "", "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "ingredients": [ @@ -2422,7 +2796,7 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "" + "createdAt": "2026-05-02T02:29:00.000Z" } ], "doseChanges": [ @@ -2432,8 +2806,8 @@ "doseValue": 5, "doseUnit": "mg", "note": "rt-MedicationDoseChange-note", - "noteEncrypted": "", - "createdAt": "" + "noteEncrypted": "", + "createdAt": "2026-05-01T19:47:00.000Z" }, { "id": "", @@ -2442,7 +2816,7 @@ "doseUnit": "mg", "note": null, "noteEncrypted": null, - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "inventoryItems": [ @@ -2453,15 +2827,15 @@ "unitsTotal": "30", "unitsRemaining": "21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", "notes": "rt-MedicationInventoryItem-notes", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { "id": "", @@ -2477,8 +2851,8 @@ "doseStrength": null, "notes": null, "notesEncrypted": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "inventoryEvents": [ @@ -2512,8 +2886,8 @@ "measurementType": "WEIGHT", "biomarkerName": "Ferritin", "primary": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T06:25:00.000Z", + "updatedAt": "2026-05-06T06:26:00.000Z" } ], "scheduleRevisions": [ @@ -2530,7 +2904,7 @@ ], "source": "ARCHIVED", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { "id": "", @@ -2545,7 +2919,7 @@ ], "source": "ARCHIVED", "supersededByIndex": 2, - "createdAt": "" + "createdAt": "2026-05-06T04:47:02.000Z" }, { "id": "", @@ -2560,7 +2934,7 @@ ], "source": "MANUAL", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "courses": [ @@ -2568,13 +2942,13 @@ "startsOn": "2026-03-01", "endsOn": "2026-03-07", "note": "the March flu", - "createdAt": "" + "createdAt": "2026-05-02T00:46:00.000Z" }, { "startsOn": "2026-06-10", "endsOn": "2026-06-16", "note": null, - "createdAt": "" + "createdAt": "2026-05-02T00:46:01.000Z" } ] } @@ -2585,7 +2959,7 @@ "label": "Heart and circulation", "sortOrder": 2, "isActive": false, - "createdAt": "" + "createdAt": "2026-05-01T23:06:00.000Z" } ], "intakeEvents": [ @@ -2593,6 +2967,27 @@ "id": "", "medicationId": "", "medication": "Round-trip tablet", + "scheduledFor": "2026-07-02T08:00:00.000Z", + "takenAt": "2026-07-02T08:03:00.000Z", + "skipped": false, + "autoMissed": false, + "autoRecorded": false, + "attributionSource": "AUTO", + "source": "WEB", + "idempotencyKey": null, + "createdAt": "2026-05-01T14:51:01.000Z", + "injectionSite": null, + "doseTaken": null, + "inventoryConsumption": null, + "externalId": null, + "updatedAt": "2026-05-01T14:56:01.000Z", + "syncVersion": 0, + "deletedAt": "" + }, + { + "id": "", + "medicationId": "", + "medication": "Round-trip tablet", "scheduledFor": "2026-07-01T08:00:00.000Z", "takenAt": "2026-07-01T08:04:00.000Z", "skipped": true, @@ -2601,21 +2996,47 @@ "attributionSource": "USER_PIN", "source": "API", "idempotencyKey": "rt-MedicationIntakeEvent-idempotencyKey", - "createdAt": "", + "createdAt": "2026-05-01T14:51:00.000Z", "injectionSite": "ABDOMEN_LEFT", "doseTaken": "rt-MedicationIntakeEvent-doseTaken", "inventoryConsumption": { "roundTrip": "rt-MedicationIntakeEvent-inventoryConsumption" }, "externalId": "rt-MedicationIntakeEvent-externalId", - "updatedAt": "", + "updatedAt": "2026-05-01T14:56:00.000Z", "syncVersion": 3, "deletedAt": null } ], "moodEntries": [ { - "id": "", + "id": "", + "date": "2026-07-03", + "mood": "SCHLECHT", + "score": 2, + "a1": null, + "a2": null, + "a3": null, + "a4": null, + "a5": null, + "tags": null, + "note": null, + "noteEncrypted": null, + "source": "MOODLOG", + "externalId": null, + "loggedAt": "2026-07-03T20:00:00.000Z", + "tz": null, + "syncedAt": "2026-05-02T04:17:01.000Z", + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-02T04:18:01.000Z", + "updatedAt": "2026-05-02T04:19:01.000Z", + "factors": [], + "structuredTags": [], + "context": null + }, + { + "id": "", "date": "2026-07-01", "mood": "GUT", "score": 4, @@ -2626,16 +3047,16 @@ "a5": 3, "tags": "[\"round-trip-tag\"]", "note": "rt-MoodEntry-note", - "noteEncrypted": "", + "noteEncrypted": "", "source": "rt-MoodEntry-source", "externalId": "rt-MoodEntry-externalId", "loggedAt": "2026-07-01T20:00:00.000Z", "tz": "rt-MoodEntry-tz", - "syncedAt": "", + "syncedAt": "2026-05-02T04:17:00.000Z", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T04:18:00.000Z", + "updatedAt": "2026-05-02T04:19:00.000Z", "factors": [ { "key": "round_trip_factor", @@ -2661,12 +3082,12 @@ "eventType": "rt-MoodContext-eventType", "eventValence": 3, "eventAt": "2026-06-30T12:34:56.789Z", - "notesEncrypted": "" + "notesEncrypted": "" } } ], "cycleProfile": { - "id": "", + "id": "", "goal": "AVOID_PREGNANCY", "cycleTrackingEnabled": true, "typicalCycleLength": 3, @@ -2677,12 +3098,28 @@ "rawChartMode": true, "discreetNotifications": true, "sensitiveCategoryEncryption": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T06:52:00.000Z", + "updatedAt": "2026-05-03T06:53:00.000Z" }, "cycles": [ { - "id": "", + "id": "", + "startDate": "2026-05-04", + "endDate": null, + "periodEndDate": null, + "lengthDays": null, + "ovulationDate": null, + "ovulationConfirmed": false, + "isPredicted": false, + "tz": null, + "syncVersion": 0, + "deletedAt": "", + "absorbedIntoId": null, + "createdAt": "2026-05-03T08:33:02.000Z", + "updatedAt": "2026-05-03T08:34:02.000Z" + }, + { + "id": "", "startDate": "2026-06-01", "endDate": "rt-MenstrualCycle-endDate", "periodEndDate": "rt-MenstrualCycle-periodEndDate", @@ -2694,11 +3131,11 @@ "syncVersion": 3, "deletedAt": null, "absorbedIntoId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T08:33:00.000Z", + "updatedAt": "2026-05-03T08:34:00.000Z" }, { - "id": "", + "id": "", "startDate": "2026-06-03", "endDate": null, "periodEndDate": null, @@ -2709,16 +3146,16 @@ "tz": null, "syncVersion": 0, "deletedAt": "2026-06-04T07:00:00.000Z", - "absorbedIntoId": "", - "createdAt": "", - "updatedAt": "" + "absorbedIntoId": "", + "createdAt": "2026-05-03T08:33:01.000Z", + "updatedAt": "2026-05-03T08:34:01.000Z" } ], "cycleDayLogs": [ { - "id": "", + "id": "", "date": "2026-06-02", - "cycleId": "", + "cycleId": "", "flow": "HEAVY", "intermenstrualBleeding": true, "basalBodyTempC": 2.5, @@ -2733,15 +3170,15 @@ "pregnancyTest": "NEGATIVE", "progesteroneTest": "NEGATIVE", "contraceptive": "NONE", - "sensitiveEncrypted": "", - "notesEncrypted": "", + "sensitiveEncrypted": "", + "notesEncrypted": "", "source": "WITHINGS", "externalId": "rt-CycleDayLog-externalId", "tz": "rt-CycleDayLog-tz", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T10:25:00.000Z", + "updatedAt": "2026-05-03T10:26:00.000Z", "symptomKeys": [ "custom:round-trip-cramps" ], @@ -2751,48 +3188,78 @@ "severity": 3 } ] + }, + { + "id": "", + "date": "2026-06-03", + "cycleId": "", + "flow": "LIGHT", + "intermenstrualBleeding": false, + "basalBodyTempC": null, + "temperatureExcluded": false, + "ovulationTest": null, + "cervicalMucus": null, + "cervixPosition": null, + "cervixFirmness": null, + "cervixOpening": null, + "sexualActivity": false, + "protectedSex": null, + "pregnancyTest": null, + "progesteroneTest": null, + "contraceptive": null, + "sensitiveEncrypted": null, + "notesEncrypted": null, + "source": "MANUAL", + "externalId": null, + "tz": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-03T10:25:01.000Z", + "updatedAt": "2026-05-03T10:26:01.000Z", + "symptomKeys": [], + "symptomSeverities": [] } ], "customSymptoms": [ { - "id": "", + "id": "", "key": "custom:round-trip-cramps", "labelKey": "cycle.symptom.custom", "categoryId": "csc_physical", "icon": "rt-CycleSymptom-icon", "sortOrder": 3, "isActive": false, - "labelEncrypted": "" + "labelEncrypted": "" } ], "customMoodTagCategories": [ { - "id": "", + "id": "", "key": "round_trip_own_category", "labelKey": "mood.category.roundTripOwn", "icon": "rt-MoodTagCategory-icon", "sortOrder": 90, "isActive": false, - "labelEncrypted": "" + "labelEncrypted": "" } ], "hiddenMoodTags": [ { "key": "grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "customMoodTags": [ { - "id": "", + "id": "", "key": "round_trip_factor", "labelKey": "mood.tag.roundTripFactor", - "categoryId": "", + "categoryId": "", "kind": "RATED", "isActive": false, "icon": "rt-MoodTag-icon", "sortOrder": 3, - "labelEncrypted": "", + "labelEncrypted": "", "scaleMin": 3, "scaleMax": 3, "inverse": true @@ -2800,7 +3267,7 @@ ], "labResults": [ { - "id": "", + "id": "", "panel": "rt-LabResult-panel", "analyte": "Ferritin", "value": 91, @@ -2816,17 +3283,41 @@ "takenAt": "2026-06-30T09:00:00.000Z", "source": "rt-LabResult-source", "biomarkerName": "Ferritin", - "biomarkerId": "", + "biomarkerId": "", "note": null, - "createdAt": "", - "noteEncrypted": "", + "createdAt": "2026-05-02T10:58:00.000Z", + "noteEncrypted": "", "deletedAt": null, - "updatedAt": "" + "updatedAt": "2026-05-02T10:59:00.000Z" + }, + { + "id": "", + "panel": null, + "analyte": "TSH", + "value": 2.1, + "valueText": null, + "unit": "mU/L", + "referenceLow": null, + "referenceHigh": null, + "sourceReferenceLow": null, + "sourceReferenceHigh": null, + "sourceReferenceText": null, + "sourceValue": null, + "sourceUnit": null, + "takenAt": "2026-05-30T09:00:00.000Z", + "source": "MANUAL", + "biomarkerName": null, + "biomarkerId": null, + "note": null, + "createdAt": "2026-05-02T10:58:01.000Z", + "noteEncrypted": null, + "deletedAt": "", + "updatedAt": "2026-05-02T10:59:01.000Z" } ], "biomarkers": [ { - "id": "", + "id": "", "name": "Ferritin", "unit": "ng/mL", "lowerBound": 2.5, @@ -2837,30 +3328,48 @@ "context": "fasted, morning draw", "aliases": [ { - "id": "", + "id": "", "name": "Ferr.", "source": "IMPORT_CHOICE", - "createdAt": "" + "createdAt": "2026-05-06T11:26:00.000Z" } ], - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T12:30:00.000Z", + "updatedAt": "2026-05-02T12:31:00.000Z" } ], "biomarkerMerges": [ { - "id": "", - "targetBiomarkerId": "", + "id": "", + "targetBiomarkerId": "", "targetName": "Ferritin", "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "illnessEpisodes": [ { - "id": "", + "id": "", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "note": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "noteEncrypted": null, + "bodySite": null, + "bodySiteEncrypted": null, + "laterality": null, + "deletedAt": null, + "updatedAt": "2026-05-02T17:32:03.000Z", + "dayLogs": [] + }, + { + "id": "", "label": "Cold", "type": "INFECTION", "lifecycle": "CHRONIC_ONGOING", @@ -2868,17 +3377,17 @@ "resolvedAt": "2026-06-30T12:34:56.789Z", "parentConditionId": null, "note": null, - "createdAt": "", - "noteEncrypted": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "noteEncrypted": "", "bodySite": null, "bodySiteEncrypted": null, "laterality": null, "deletedAt": null, - "updatedAt": "", + "updatedAt": "2026-05-02T17:32:00.000Z", "dayLogs": [ { - "id": "", - "episodeId": "", + "id": "", + "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, @@ -2889,16 +3398,48 @@ } ], "note": null, - "updatedAt": "", - "noteEncrypted": "", + "updatedAt": "2026-05-02T19:09:00.000Z", + "noteEncrypted": "", "tz": "rt-IllnessDayLog-tz", - "createdAt": "", + "createdAt": "2026-05-02T19:08:00.000Z", "deletedAt": null + }, + { + "id": "", + "episodeId": "", + "date": "2026-06-22", + "functionalImpact": null, + "feverC": null, + "symptoms": [], + "note": null, + "updatedAt": "2026-05-02T19:09:01.000Z", + "noteEncrypted": null, + "tz": null, + "createdAt": "2026-05-02T19:08:01.000Z", + "deletedAt": "" } ] }, { - "id": "", + "id": "", + "label": "Sprained ankle (deleted)", + "type": "INJURY", + "lifecycle": "ACUTE", + "onsetAt": "2026-04-10T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": null, + "note": null, + "createdAt": "2026-05-02T17:31:02.000Z", + "noteEncrypted": null, + "bodySite": null, + "bodySiteEncrypted": null, + "laterality": null, + "deletedAt": "", + "updatedAt": "2026-05-02T17:32:02.000Z", + "dayLogs": [] + }, + { + "id": "", "label": "Iron deficiency", "type": "CHRONIC", "lifecycle": "ACUTE", @@ -2906,96 +3447,124 @@ "resolvedAt": null, "parentConditionId": null, "note": null, - "createdAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", "noteEncrypted": null, "bodySite": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": "BOTH", "deletedAt": null, - "updatedAt": "", + "updatedAt": "2026-05-02T17:32:01.000Z", "dayLogs": [] } ], "symptomDefinitions": [ { - "id": "", - "labelEncrypted": "", + "id": "", + "labelEncrypted": "", "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z", "events": [ { - "id": "", + "id": "", "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, "noteEncrypted": null, - "episodeId": "", - "createdAt": "", - "updatedAt": "" + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { - "id": "", + "id": "", "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "noteEncrypted": null, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ] }, { - "id": "", - "labelEncrypted": "", + "id": "", + "labelEncrypted": "", "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z", "events": [ { - "id": "", + "id": "", "occurredAt": "2026-06-21T11:00:00.000Z", "intensity": 8, - "noteEncrypted": "", + "noteEncrypted": "", "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" } ] } ], "lifeEvents": [ { - "id": "", + "id": "", "category": "HOME", "startDate": "2023-09-01", "endDate": null, "precision": "MONTH", - "titleEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "titleEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z", "deletedAt": null }, { - "id": "", + "id": "", + "category": "OTHER", + "startDate": "2025-12-01", + "endDate": null, + "precision": "DAY", + "titleEncrypted": "", + "noteEncrypted": null, + "createdAt": "2026-05-03T01:48:02.000Z", + "updatedAt": "2026-05-03T01:49:02.000Z", + "deletedAt": "" + }, + { + "id": "", "category": "WORK", "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "titleEncrypted": "", + "titleEncrypted": "", "noteEncrypted": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z", "deletedAt": null } ], "allergies": [ { - "id": "", + "id": "", + "substance": "Latex (deleted)", + "category": "OTHER", + "type": "ALLERGY", + "severity": null, + "status": "ACTIVE", + "onsetAt": null, + "reaction": null, + "note": null, + "createdAt": "2026-05-02T14:10:01.000Z", + "reactionEncrypted": null, + "notesEncrypted": null, + "deletedAt": "", + "updatedAt": "2026-05-02T14:11:01.000Z" + }, + { + "id": "", "substance": "Penicillin", "category": "FOOD", "type": "INTOLERANCE", @@ -3004,27 +3573,27 @@ "onsetAt": "2026-06-30T12:34:56.789Z", "reaction": null, "note": null, - "createdAt": "", - "reactionEncrypted": "", - "notesEncrypted": "", + "createdAt": "2026-05-02T14:10:00.000Z", + "reactionEncrypted": "", + "notesEncrypted": "", "deletedAt": null, - "updatedAt": "" + "updatedAt": "2026-05-02T14:11:00.000Z" } ], "familyHistory": [ { - "id": "", + "id": "", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, "note": "rt-FamilyHistoryEntry-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z" } ], "workouts": [ { - "id": "", + "id": "", "sportType": "RUNNING", "startedAt": "2026-06-29T06:00:00.000Z", "endedAt": "2026-06-29T06:30:00.000Z", @@ -3043,13 +3612,13 @@ "metadata": { "roundTrip": "rt-Workout-metadata" }, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T21:58:00.000Z", + "updatedAt": "2026-05-03T21:59:00.000Z" } ], "documents": [ { - "id": "", + "id": "", "kind": "LAB_RESULT", "title": "June labs", "filename": "june-labs.pdf", @@ -3058,12 +3627,12 @@ "status": "EXTRACTING", "reportDate": "2026-06-30T12:34:56.789Z", "documentDate": "2026-06-30T12:34:56.789Z", - "contentEncrypted": "", + "contentEncrypted": "", "contentSha256": "0a738470f0945033965858e9895ee721ce981a25f013514d587d0a7a1946be7a", "contentCodec": "binary2", "providerType": "rt-InboundDocument-providerType", "errorReason": "rt-InboundDocument-errorReason", - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryGeneratedAt": "2026-06-30T12:34:56.789Z", "summaryState": "PENDING", "lastIndexAttemptAt": "2026-06-30T12:34:56.789Z", @@ -3072,31 +3641,31 @@ "sourceId": "4711", "sourceInstance": "https://paperless.example.test", "aiReadDeferred": true, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T01:24:00.000Z", + "updatedAt": "2026-05-04T01:25:00.000Z" } ], "documentConditionLinks": [ { - "documentId": "", - "episodeId": "", + "documentId": "", + "episodeId": "", "createdAt": "2026-07-02T09:00:00.000Z" } ], "extractedFacts": [ { - "id": "", - "documentId": "", + "id": "", + "documentId": "", "factType": "OBSERVATION", "status": "APPROVED", "confidence": 0.94, "needsReview": false, - "committedRecordId": "", + "committedRecordId": "", "committedRecordType": "labResult", - "dataEncrypted": "", - "provenanceEncrypted": "", - "createdAt": "", - "updatedAt": "" + "dataEncrypted": "", + "provenanceEncrypted": "", + "createdAt": "2026-05-05T18:51:00.000Z", + "updatedAt": "2026-05-05T18:52:00.000Z" } ], "nutrientDays": [ @@ -3107,11 +3676,11 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "" + "createdAt": "2026-05-03T23:27:00.000Z" } ], "healthProfile": { - "id": "", + "id": "", "aboutMe": null, "conditions": null, "allergies": null, @@ -3128,33 +3697,44 @@ "emergencyContacts": null, "emergencyImplants": null, "emergencyNote": null, - "emergencyContactsEncrypted": "", - "emergencyImplantsEncrypted": "", - "emergencyNoteEncrypted": "", - "aboutMeEncrypted": "", - "conditionsEncrypted": "", - "allergiesEncrypted": "", - "coachFocusEncrypted": "", - "pendingQuestionsEncrypted": "", - "createdAt": "", - "updatedAt": "" + "emergencyContactsEncrypted": "", + "emergencyImplantsEncrypted": "", + "emergencyNoteEncrypted": "", + "aboutMeEncrypted": "", + "conditionsEncrypted": "", + "allergiesEncrypted": "", + "coachFocusEncrypted": "", + "pendingQuestionsEncrypted": "", + "createdAt": "2026-05-03T03:35:00.000Z", + "updatedAt": "2026-05-03T03:36:00.000Z" }, "healthProfileFacts": [ { - "id": "", + "id": "", "kind": "SMOKING_STATUS", "value": null, - "valueEncrypted": "", + "valueEncrypted": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-06-30T12:34:56.789Z", "provenance": "USER_CORRECTION", + "supersededByRevisionId": "", + "createdAt": "2026-05-03T05:08:00.000Z" + }, + { + "id": "", + "kind": "SMOKING_STATUS", + "value": null, + "valueEncrypted": "", + "validFrom": "2026-02-01T00:00:00.000Z", + "validUntil": null, + "provenance": "USER_REPORTED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-03T05:08:01.000Z" } ], "customMetrics": [ { - "id": "", + "id": "", "name": "Grip strength", "unit": "kg", "targetLow": 2.5, @@ -3162,36 +3742,60 @@ "decimals": 3, "description": "rt-CustomMetric-description", "correlationEnabled": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T15:09:00.000Z", + "updatedAt": "2026-05-03T15:10:00.000Z", "deletedAt": null, "entries": [ { - "id": "", + "id": "", + "value": 40, + "unit": "kg", + "measuredAt": "2026-06-28T18:00:00.000Z", + "note": null, + "noteEncrypted": null, + "createdAt": "2026-05-03T16:48:02.000Z", + "deletedAt": "" + }, + { + "id": "", "value": 44, "unit": "kg", "measuredAt": "2026-07-01T18:00:00.000Z", "note": "left hand, after the long ride", "noteEncrypted": null, - "createdAt": "", + "createdAt": "2026-05-03T16:48:00.000Z", "deletedAt": null }, { - "id": "", + "id": "", "value": 45, "unit": "kg", "measuredAt": "2026-07-02T18:00:00.000Z", "note": null, - "noteEncrypted": "", - "createdAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T16:48:01.000Z", "deletedAt": null } ] + }, + { + "id": "", + "name": "Plank (deleted)", + "unit": "s", + "targetLow": null, + "targetHigh": null, + "decimals": null, + "description": null, + "correlationEnabled": false, + "createdAt": "2026-05-03T15:09:01.000Z", + "updatedAt": "2026-05-03T15:10:01.000Z", + "deletedAt": "", + "entries": [] } ], "correlationPatterns": [ { - "id": "", + "id": "", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", "factorKey": "sleep_duration", @@ -3208,13 +3812,13 @@ "dismissedEvidenceHash": "abababababababababababababababababababababababababababababababab", "dismissedEffectSize": 2.5, "dismissedSampleSize": 3, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T18:38:00.000Z", + "updatedAt": "2026-05-03T18:39:00.000Z" } ], "intradayProfiles": [ { - "id": "", + "id": "", "type": "ACTIVITY_STEPS", "dateKey": "2026-07-01", "hourlyCumulative": [ @@ -3274,13 +3878,13 @@ "basis": "HOUR_BUCKETS", "bucketCount": 3, "timezone": "Europe/Berlin", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T09:51:00.000Z", + "updatedAt": "2026-05-01T09:52:00.000Z" } ], "healthScoreRecords": [ { - "id": "", + "id": "", "dayKey": "2026-07-01", "timezone": "Europe/Berlin", "composite": 71, @@ -3297,12 +3901,12 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "", - "createdAt": "" + "computedAt": "2026-05-03T20:12:00.000Z", + "createdAt": "2026-05-03T20:13:00.000Z" } ], "onboardingRecord": { - "id": "", + "id": "", "needs": { "recordTarget": "me", "areas": [ @@ -3364,66 +3968,107 @@ }, "modulesDerivedAt": "2026-07-01T08:00:00.000Z", "completedAt": "2026-07-01T08:00:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T09:47:00.000Z", + "updatedAt": "2026-05-06T09:48:00.000Z" }, "practitioners": [ { - "id": "", + "id": "", + "name": "Closed practice (deleted)", + "specialty": null, + "practice": null, + "location": null, + "phone": null, + "locationEncrypted": null, + "phoneEncrypted": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T02:50:01.000Z", + "updatedAt": "2026-05-04T02:51:01.000Z", + "deletedAt": "" + }, + { + "id": "", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": null, "phone": null, - "locationEncrypted": "", - "phoneEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "locationEncrypted": "", + "phoneEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z", "deletedAt": null } ], "encounters": [ { - "id": "", + "id": "", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", - "reasonEncrypted": "", - "outcomeEncrypted": "", - "bodySiteEncrypted": "", + "practitionerId": "", + "reasonEncrypted": "", + "outcomeEncrypted": "", + "bodySiteEncrypted": "", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "", + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z", "deletedAt": null + }, + { + "id": "", + "occurredAt": "2026-04-02T08:00:00.000Z", + "status": "DONE", + "kind": "ROUTINE", + "practitionerId": "", + "reasonEncrypted": null, + "outcomeEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "reminderId": null, + "createdAt": "2026-05-04T04:31:01.000Z", + "updatedAt": "2026-05-04T04:32:01.000Z", + "deletedAt": "" } ], "encounterDocumentLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T06:04:00.000Z" } ], "encounterLabLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T07:44:00.000Z" } ], "encounterConditionLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T09:24:00.000Z" } ], "customVaccines": [ { - "id": "", + "id": "", + "name": "Deleted combo", + "components": [ + "rabies" + ], + "typicalSeriesDoses": null, + "boosterIntervalMonths": null, + "createdAt": "2026-05-04T14:27:01.000Z", + "updatedAt": "2026-05-04T14:28:01.000Z", + "deletedAt": "" + }, + { + "id": "", "name": "Round-trip travel combo", "components": [ "typhoid", @@ -3431,14 +4076,14 @@ ], "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z", "deletedAt": null } ], "vaccinations": [ { - "id": "", + "id": "", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", "vaccineName": "Tetanus, diphtheria and pertussis", @@ -3446,73 +4091,91 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z", "deletedAt": null + }, + { + "id": "", + "occurredAt": "2026-04-14T00:00:00.000Z", + "antigenSlug": "influenza", + "vaccineName": "Influenza (deleted)", + "doseNumber": null, + "seriesDoses": null, + "lotNumber": null, + "site": null, + "practitionerId": null, + "encounterId": null, + "reminderId": null, + "customVaccineId": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T11:14:01.000Z", + "updatedAt": "2026-05-04T11:15:01.000Z", + "deletedAt": "" } ], "vaccinationDocumentLinks": [ { - "vaccinationId": "", - "targetId": "", - "createdAt": "" + "vaccinationId": "", + "targetId": "", + "createdAt": "2026-05-04T12:44:00.000Z" } ], "labResultDocumentLinks": [ { - "labResultId": "", - "documentId": "", - "createdAt": "" + "labResultId": "", + "documentId": "", + "createdAt": "2026-05-06T14:44:00.000Z" } ], "encounterMedicationLinks": [ { - "encounterId": "", + "encounterId": "", "medicationId": "", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "encounterVaccinationLinks": [ { - "encounterId": "", - "vaccinationId": "", - "createdAt": "" + "encounterId": "", + "vaccinationId": "", + "createdAt": "2026-05-06T18:04:00.000Z" } ], "medicationDocumentLinks": [ { "medicationId": "", - "documentId": "", - "createdAt": "" + "documentId": "", + "createdAt": "2026-05-06T19:44:00.000Z" } ], "medicationConditionLinks": [ { "medicationId": "", - "episodeId": "", - "createdAt": "" + "episodeId": "", + "createdAt": "2026-05-06T21:24:00.000Z" } ], "coachConversations": [ { - "id": "", + "id": "", "title": "How is my blood pressure trending?", "documentScoped": false, - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": "rt-CoachMessage-metricSourceJson", "providerType": null, "promptVersion": "rt-CoachMessage-promptVersion", @@ -3523,35 +4186,35 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", + "id": "", "role": "assistant", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": null, "providerType": "anthropic", "promptVersion": null, "tokensUsed": 812, "model": "claude-opus-5", - "resultsEncrypted": "", - "trailEncrypted": "", + "resultsEncrypted": "", + "trailEncrypted": "", "createdAt": "2026-07-20T09:59:00.000Z" } ], "attachments": [] }, { - "id": "", - "titleEncrypted": "", + "id": "", + "titleEncrypted": "", "documentScoped": true, "summaryEncrypted": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": null, "providerType": null, "promptVersion": null, @@ -3564,7 +4227,7 @@ ], "attachments": [ { - "documentId": "", + "documentId": "", "addedAt": "2026-07-21T07:59:00.000Z" } ] @@ -3572,11 +4235,30 @@ ], "mentalHealthAssessments": [ { - "id": "", + "id": "", + "instrument": "GAD7", + "locale": "en", + "version": "standard", + "responsesEncrypted": "", + "totalScore": 4, + "severityBand": "minimal", + "item9Flagged": false, + "crisisShownAt": null, + "takenAt": "2026-06-05T18:00:00.000Z", + "tz": "Europe/Berlin", + "source": "WEB", + "externalId": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-05T13:56:01.000Z", + "updatedAt": "2026-05-05T13:57:01.000Z" + }, + { + "id": "", "instrument": "PHQ9", "locale": "de", "version": "rt-MentalHealthAssessment-version", - "responsesEncrypted": "", + "responsesEncrypted": "", "totalScore": 14, "severityBand": "moderate", "item9Flagged": true, @@ -3587,81 +4269,125 @@ "externalId": "rt-MentalHealthAssessment-externalId", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T13:56:00.000Z", + "updatedAt": "2026-05-05T13:57:00.000Z" } ], "consentReceipts": [ { - "id": "", + "id": "", "kind": "ai-processing", "artefact": "JVBERi0xLjQKJWZpeHR1cmU=", "signedAt": "2026-06-01T09:00:00.000Z", "revokedAt": null, - "createdAt": "" + "createdAt": "2026-05-05T15:26:00.000Z" }, { - "id": "", + "id": "", "kind": "research-sharing", "artefact": "eyJhbGciOiJub25lIn0.e30.", "signedAt": "2026-06-02T09:00:00.000Z", "revokedAt": "2026-07-10T11:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T15:26:01.000Z" } ], "coachFacts": [ { - "id": "", - "factEncrypted": "", + "id": "", + "factEncrypted": "", "category": "constraint", "confidence": 80, - "sourceConversationId": "", + "sourceConversationId": "", "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "", - "createdAt": "", - "updatedAt": "", + "sourceMessageId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z", "deletedAt": null + }, + { + "id": "", + "factEncrypted": "", + "category": "preference", + "confidence": 50, + "sourceConversationId": "", + "source": "user", + "lastUsedAt": null, + "sourceMessageId": null, + "createdAt": "2026-05-05T00:26:01.000Z", + "updatedAt": "2026-05-05T00:27:01.000Z", + "deletedAt": "" } ], "coachPlans": [ { - "id": "", + "id": "", "metric": "BLOOD_PRESSURE", - "ifCueEncrypted": "", - "thenActionEncrypted": "", - "targetEncrypted": "", - "outcomeEncrypted": "", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": "", + "outcomeEncrypted": "", "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "", + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z", "deletedAt": null + }, + { + "id": "", + "metric": "WEIGHT", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": null, + "outcomeEncrypted": null, + "status": "active", + "reviewDate": null, + "sourceConversationId": null, + "createdAt": "2026-05-05T02:10:01.000Z", + "updatedAt": "2026-05-05T02:11:01.000Z", + "deletedAt": "" } ], "coachReminders": [ { - "id": "", - "noteEncrypted": "", + "id": "", + "noteEncrypted": "", "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z", "deletedAt": null + }, + { + "id": "", + "noteEncrypted": "", + "metric": null, + "relatedPlanId": "", + "triggerKind": "date", + "dueAt": "2026-09-15T07:00:00.000Z", + "contextCue": null, + "status": "active", + "source": "extractor", + "sourceConversationId": null, + "lastSurfacedAt": null, + "surfaceCount": 0, + "createdAt": "2026-05-05T03:53:01.000Z", + "updatedAt": "2026-05-05T03:54:01.000Z", + "deletedAt": "" } ], "measurementReminders": [ { - "id": "", + "id": "", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", "intervalDays": 7, @@ -3678,29 +4404,51 @@ "snoozedUntil": "2026-07-08T06:00:00.000Z", "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z", "deletedAt": null + }, + { + "id": "", + "label": "Gewicht (deleted)", + "measurementType": "WEIGHT", + "intervalDays": 14, + "rrule": null, + "anchorDate": null, + "endsOn": null, + "origin": "VORSORGE", + "notifyHour": 9, + "location": null, + "nextDueAt": null, + "lastSatisfiedAt": null, + "enabled": true, + "vaccinationAntigen": null, + "snoozedUntil": null, + "lastSkippedAt": null, + "skipCount": 0, + "createdAt": "2026-05-04T16:19:01.000Z", + "updatedAt": "2026-05-04T16:20:01.000Z", + "deletedAt": "" } ], "measurementReminderEvents": [ { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" }, { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" } ], "personalRecords": [ @@ -3714,7 +4462,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { "metricType": "WALKING_RUNNING_DISTANCE", @@ -3726,7 +4474,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { "metricType": "WEIGHT", @@ -3738,19 +4486,19 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "userAchievements": [ { "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" }, { "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" } ], "environmentContexts": [ @@ -3759,7 +4507,7 @@ "lat": null, "lon": null, "locationLabel": null, - "locationEncrypted": "", + "locationEncrypted": "", "source": "TRAVEL", "tempMin": 19.4, "tempMax": 28.1, @@ -3796,15 +4544,15 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { "date": "2026-07-01", "lat": null, "lon": null, "locationLabel": null, - "locationEncrypted": "", + "locationEncrypted": "", "source": "HOME", "tempMin": 13.1, "tempMax": 22.7, @@ -3841,8 +4589,8 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "environmentTravelLocations": [ @@ -3852,9 +4600,9 @@ "lat": null, "lon": null, "label": null, - "locationEncrypted": "", - "createdAt": "", - "updatedAt": "" + "locationEncrypted": "", + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "dawarichDays": [ @@ -3866,20 +4614,20 @@ "placesVisited": 4, "awayFromHomeMinutes": 1440, "countryCode": null, - "countryCodeEncrypted": "", + "countryCodeEncrypted": "", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "ecgRecordings": [ { - "id": "", + "id": "", "source": "MANUAL", "externalRecordingId": "round-trip-signal-1", "recordedAt": "2026-06-15T14:22:00.000Z", - "waveformEncrypted": "", + "waveformEncrypted": "", "samplingFrequency": 300, "sampleCount": 8, "durationSeconds": 0.02666666666666667, @@ -3887,8 +4635,8 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "manifest": { @@ -3917,47 +4665,47 @@ "exportedAt": "2026-08-01T00:00:00.000Z", "measurements": 5, "medications": 1, - "intakeEvents": 1, + "intakeEvents": 2, "medicationSideEffects": 1, "medicationEfficacyTargets": 1, "medicationScheduleRevisions": 3, - "moodEntries": 1, - "cycles": 2, - "cycleDayLogs": 1, + "moodEntries": 2, + "cycles": 3, + "cycleDayLogs": 2, "nutrientDays": 1, - "labResults": 1, + "labResults": 2, "biomarkers": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "documentConditionLinks": 1, "extractedFacts": 1, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, - "customMetricEntries": 2, + "healthProfileFactRevisions": 2, + "customMetrics": 2, + "customMetricEntries": 3, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 1, "relationLinks": 5, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "personalRecords": 3, "userAchievements": 2, @@ -3973,47 +4721,47 @@ "exportedAt": "2026-08-01T00:00:00.000Z", "measurements": 5, "medications": 1, - "intakeEvents": 1, + "intakeEvents": 2, "medicationSideEffects": 1, "medicationEfficacyTargets": 1, "medicationScheduleRevisions": 3, - "moodEntries": 1, - "cycles": 2, - "cycleDayLogs": 1, - "labResults": 1, + "moodEntries": 2, + "cycles": 3, + "cycleDayLogs": 2, + "labResults": 2, "nutrientDays": 1, "biomarkers": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "documentConditionLinks": 1, "extractedFacts": 1, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, - "customMetricEntries": 2, + "healthProfileFactRevisions": 2, + "customMetrics": 2, + "customMetricEntries": 3, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 1, "relationLinks": 5, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "personalRecords": 3, "userAchievements": 2, diff --git a/tests/integration/__golden__/backup-parity/export-portable.json b/tests/integration/__golden__/backup-parity/export-portable.json index 35ffc7afc..b7076c404 100644 --- a/tests/integration/__golden__/backup-parity/export-portable.json +++ b/tests/integration/__golden__/backup-parity/export-portable.json @@ -162,7 +162,7 @@ "label": "Heart and circulation", "sortOrder": 2, "isActive": false, - "createdAt": "" + "createdAt": "2026-05-01T23:06:00.000Z" } ], "medications": [ @@ -175,7 +175,7 @@ "autoMarkTaken": true, "autoMarkTakenSince": "2026-06-30T12:34:56.789Z", "category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "createdAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", "schedules": [ { "windowStart": "08:00", @@ -203,12 +203,12 @@ { "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "ingredients": [ @@ -219,7 +219,7 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "" + "createdAt": "2026-05-02T02:29:00.000Z" } ], "courses": [ @@ -227,13 +227,13 @@ "startsOn": "2026-03-01", "endsOn": "2026-03-07", "note": "the March flu", - "createdAt": "" + "createdAt": "2026-05-02T00:46:00.000Z" }, { "startsOn": "2026-06-10", "endsOn": "2026-06-16", "note": null, - "createdAt": "" + "createdAt": "2026-05-02T00:46:01.000Z" } ], "doseChanges": [ @@ -242,14 +242,14 @@ "effectiveFrom": "2026-04-01T08:00:00.000Z", "doseValue": 5, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:00.000Z" }, { "note": null, "effectiveFrom": "2026-06-01T08:00:00.000Z", "doseValue": 10, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "inventoryItems": [ @@ -260,13 +260,13 @@ "unitsTotal": "30", "unitsRemaining": "21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { "notes": null, @@ -280,8 +280,8 @@ "purchasedAt": null, "manufacturer": null, "doseStrength": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "phaseConfig": { @@ -319,7 +319,7 @@ ], "source": "ARCHIVED", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { "validFrom": "2026-02-01T00:00:00.000Z", @@ -333,7 +333,7 @@ ], "source": "ARCHIVED", "supersededByIndex": 2, - "createdAt": "" + "createdAt": "2026-05-06T04:47:02.000Z" }, { "validFrom": "2026-03-01T00:00:00.000Z", @@ -347,7 +347,7 @@ ], "source": "MANUAL", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "efficacyTargets": [ @@ -430,7 +430,7 @@ "hiddenMoodTags": [ { "key": "grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "customMoodTags": [ @@ -550,12 +550,27 @@ "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "illnessEpisodes": [ { "id": "", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "note": null, + "bodySite": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "updatedAt": "2026-05-02T17:32:03.000Z", + "dayLogs": [] + }, + { + "id": "", "label": "Cold", "type": "INFECTION", "lifecycle": "CHRONIC_ONGOING", @@ -565,12 +580,12 @@ "note": "rt-IllnessEpisode-noteEncrypted", "bodySite": null, "laterality": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "updatedAt": "2026-05-02T17:32:00.000Z", "dayLogs": [ { - "id": "", - "episodeId": "", + "id": "", + "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, @@ -581,12 +596,12 @@ } ], "note": "rt-IllnessDayLog-noteEncrypted", - "updatedAt": "" + "updatedAt": "2026-05-02T19:09:00.000Z" } ] }, { - "id": "", + "id": "", "label": "Iron deficiency", "type": "CHRONIC", "lifecycle": "ACUTE", @@ -596,14 +611,14 @@ "note": null, "bodySite": "Stomach", "laterality": "BOTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", + "updatedAt": "2026-05-02T17:32:01.000Z", "dayLogs": [] } ], "allergies": [ { - "id": "", + "id": "", "substance": "Penicillin", "category": "FOOD", "type": "INTOLERANCE", @@ -612,19 +627,19 @@ "onsetAt": "2026-06-30T12:34:56.789Z", "reaction": "rt-Allergy-reactionEncrypted", "note": "rt-Allergy-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z" } ], "familyHistory": [ { - "id": "", + "id": "", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, "note": "rt-FamilyHistoryEntry-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z" } ], "workouts": [ @@ -647,7 +662,7 @@ ], "documents": [ { - "id": "", + "id": "", "kind": "LAB_RESULT", "title": "June labs", "filename": "june-labs.pdf", @@ -659,7 +674,7 @@ "sourceSystem": "PAPERLESS", "sourceId": "4711", "sourceInstance": "https://paperless.example.test", - "createdAt": "", + "createdAt": "2026-05-04T01:24:00.000Z", "summary": "rt-InboundDocument-summaryEncrypted" } ], @@ -727,7 +742,7 @@ ], "correlationPatterns": [ { - "createdAt": "", + "createdAt": "2026-05-03T18:38:00.000Z", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", "factorKey": "sleep_duration", @@ -828,7 +843,7 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "" + "computedAt": "2026-05-03T20:12:00.000Z" } ], "onboardingRecord": { @@ -896,57 +911,57 @@ }, "practitioners": [ { - "id": "", + "id": "", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": "rt-Practitioner-locationEncrypted", "phone": "rt-Practitioner-phoneEncrypted", "note": "ring the upper bell", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z" } ], "encounters": [ { - "id": "", + "id": "", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", + "practitionerId": "", "reason": "annual check", "outcome": "ferritin back in range, recheck in a year", "bodySite": "rt-Encounter-bodySiteEncrypted", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "" + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z" } ], "encounterDocumentLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T06:04:00.000Z" } ], "encounterLabLinks": [ { - "encounterId": "", + "encounterId": "", "targetId": "", - "createdAt": "" + "createdAt": "2026-05-04T07:44:00.000Z" } ], "encounterConditionLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T09:24:00.000Z" } ], "customVaccines": [ { - "id": "", + "id": "", "name": "Round-trip travel combo", "components": [ "typhoid", @@ -954,13 +969,13 @@ ], "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z" } ], "vaccinations": [ { - "id": "", + "id": "", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", "vaccineName": "Tetanus, diphtheria and pertussis", @@ -968,25 +983,25 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", "note": "sore arm for a day, nothing else", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z" } ], "vaccinationDocumentLinks": [ { - "vaccinationId": "", - "targetId": "", - "createdAt": "" + "vaccinationId": "", + "targetId": "", + "createdAt": "2026-05-04T12:44:00.000Z" } ], "measurementReminders": [ { - "id": "", + "id": "", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", "intervalDays": 7, @@ -1003,43 +1018,43 @@ "snoozedUntil": "2026-07-08T06:00:00.000Z", "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z" } ], "measurementReminderEvents": [ { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" }, { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" } ], "coachConversations": [ { - "id": "", + "id": "", "title": "How is my blood pressure trending?", "documentScoped": false, "summary": "earlier turns: weight trend and evening walks", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", "content": "my readings look higher this week, is that real?", "metricSourceJson": "rt-CoachMessage-metricSourceJson", @@ -1052,7 +1067,7 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", + "id": "", "role": "assistant", "content": "the last seven mornings average 4 mmHg above the fortnight before", "metricSourceJson": null, @@ -1068,17 +1083,17 @@ "attachments": [] }, { - "id": "", + "id": "", "title": "About my June labs", "documentScoped": true, "summary": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", "content": "What does the ferritin mean?", "metricSourceJson": null, @@ -1093,7 +1108,7 @@ ], "attachments": [ { - "documentId": "", + "documentId": "", "addedAt": "2026-07-21T07:59:00.000Z" } ] @@ -1101,21 +1116,21 @@ ], "coachFacts": [ { - "id": "", + "id": "", "fact": "does not tolerate ACE inhibitors", "category": "constraint", "confidence": 80, - "sourceConversationId": "", + "sourceConversationId": "", "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "", - "createdAt": "", - "updatedAt": "" + "sourceMessageId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z" } ], "coachPlans": [ { - "id": "", + "id": "", "metric": "BLOOD_PRESSURE", "ifCue": "if the evening reading is over 140", "thenAction": "then walk twenty minutes before dinner tomorrow", @@ -1123,42 +1138,42 @@ "outcome": "rt-CoachPlan-outcomeEncrypted", "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "" + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z" } ], "coachReminders": [ { - "id": "", + "id": "", "note": "ask how the evening walks are going", "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z" } ], "mentalHealthAssessments": [], "consentReceipts": [], "documentConditionLinks": [ { - "documentId": "", - "episodeId": "", + "documentId": "", + "episodeId": "", "createdAt": "2026-07-02T09:00:00.000Z" } ], "extractedFacts": [ { - "id": "", - "documentId": "", + "id": "", + "documentId": "", "factType": "OBSERVATION", "status": "APPROVED", "confidence": 0.94, @@ -1183,8 +1198,8 @@ "page": 2, "confidence": 0.94 }, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T18:51:00.000Z", + "updatedAt": "2026-05-05T18:52:00.000Z" } ], "personalRecords": [ @@ -1198,7 +1213,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { "metricType": "WALKING_RUNNING_DISTANCE", @@ -1210,7 +1225,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { "metricType": "WEIGHT", @@ -1222,19 +1237,19 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "userAchievements": [ { "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" }, { "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" } ], "environmentContexts": [ @@ -1279,8 +1294,8 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { "date": "2026-07-01", @@ -1323,8 +1338,8 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "environmentTravelLocations": [ @@ -1334,8 +1349,8 @@ "lat": 41.4, "lon": 2.2, "label": "Barcelona", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "dawarichDays": [ @@ -1349,8 +1364,8 @@ "countryCode": "ES", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "ecgRecordings": [ @@ -1375,8 +1390,8 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "symptomDefinitions": [ @@ -1385,24 +1400,24 @@ "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z", "events": [ { "note": null, "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, - "episodeId": "", - "createdAt": "", - "updatedAt": "" + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { "note": null, "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ] }, @@ -1411,16 +1426,16 @@ "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z", "events": [ { "note": "left side, behind the eye", "occurredAt": "2026-06-21T11:00:00.000Z", "intensity": 8, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" } ] } @@ -1433,8 +1448,8 @@ "startDate": "2023-09-01", "endDate": null, "precision": "MONTH", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z" }, { "title": "Parental leave", @@ -1443,43 +1458,43 @@ "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z" } ], "labResultDocumentLinks": [ { "labResultId": "", - "documentId": "", - "createdAt": "" + "documentId": "", + "createdAt": "2026-05-06T14:44:00.000Z" } ], "encounterMedicationLinks": [ { - "encounterId": "", + "encounterId": "", "medicationId": "", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "encounterVaccinationLinks": [ { - "encounterId": "", - "vaccinationId": "", - "createdAt": "" + "encounterId": "", + "vaccinationId": "", + "createdAt": "2026-05-06T18:04:00.000Z" } ], "medicationDocumentLinks": [ { "medicationId": "", - "documentId": "", - "createdAt": "" + "documentId": "", + "createdAt": "2026-05-06T19:44:00.000Z" } ], "medicationConditionLinks": [ { "medicationId": "", - "episodeId": "", - "createdAt": "" + "episodeId": "", + "createdAt": "2026-05-06T21:24:00.000Z" } ], "nutrientDays": [ @@ -1490,7 +1505,7 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "" + "createdAt": "2026-05-03T23:27:00.000Z" } ] }, @@ -1514,7 +1529,7 @@ "nutrientDays": 1, "labResults": 1, "biomarkers": 1, - "illnessEpisodes": 2, + "illnessEpisodes": 3, "illnessDayLogs": 1, "allergies": 1, "familyHistory": 1, @@ -1577,7 +1592,7 @@ "nutrientDays": 1, "labResults": 1, "biomarkers": 1, - "illnessEpisodes": 2, + "illnessEpisodes": 3, "illnessDayLogs": 1, "allergies": 1, "familyHistory": 1, @@ -1787,7 +1802,7 @@ "autoMarkTaken": true, "autoMarkTakenSince": "2026-06-30T12:34:56.789Z", "category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "createdAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", "schedules": [ { "windowStart": "08:00", @@ -1815,12 +1830,12 @@ { "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "ingredients": [ @@ -1831,7 +1846,7 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "" + "createdAt": "2026-05-02T02:29:00.000Z" } ], "doseChanges": [ @@ -1840,14 +1855,14 @@ "doseValue": 5, "doseUnit": "mg", "note": "titration note, encrypted at rest", - "createdAt": "" + "createdAt": "2026-05-01T19:47:00.000Z" }, { "effectiveFrom": "2026-06-01T08:00:00.000Z", "doseValue": 10, "doseUnit": "mg", "note": null, - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "inventoryItems": [ @@ -1857,14 +1872,14 @@ "unitsTotal": "30", "unitsRemaining": "21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", "notes": "second pack, kept in the kitchen drawer", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { "state": "USED_UP", @@ -1878,8 +1893,8 @@ "manufacturer": null, "doseStrength": null, "notes": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "inventoryEvents": [ @@ -1924,7 +1939,7 @@ ], "source": "ARCHIVED", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { "validFrom": "2026-02-01T00:00:00.000Z", @@ -1938,7 +1953,7 @@ ], "source": "ARCHIVED", "supersededByIndex": 2, - "createdAt": "" + "createdAt": "2026-05-06T04:47:02.000Z" }, { "validFrom": "2026-03-01T00:00:00.000Z", @@ -1952,7 +1967,7 @@ ], "source": "MANUAL", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "courses": [ @@ -1960,13 +1975,13 @@ "startsOn": "2026-03-01", "endsOn": "2026-03-07", "note": "the March flu", - "createdAt": "" + "createdAt": "2026-05-02T00:46:00.000Z" }, { "startsOn": "2026-06-10", "endsOn": "2026-06-16", "note": null, - "createdAt": "" + "createdAt": "2026-05-02T00:46:01.000Z" } ] } @@ -1977,7 +1992,7 @@ "label": "Heart and circulation", "sortOrder": 2, "isActive": false, - "createdAt": "" + "createdAt": "2026-05-01T23:06:00.000Z" } ], "intakeEvents": [ @@ -2108,7 +2123,7 @@ "hiddenMoodTags": [ { "key": "grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "customMoodTags": [ @@ -2171,12 +2186,27 @@ "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "illnessEpisodes": [ { "id": "", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "note": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "bodySite": null, + "laterality": null, + "updatedAt": "2026-05-02T17:32:03.000Z", + "dayLogs": [] + }, + { + "id": "", "label": "Cold", "type": "INFECTION", "lifecycle": "CHRONIC_ONGOING", @@ -2184,14 +2214,14 @@ "resolvedAt": "2026-06-30T12:34:56.789Z", "parentConditionId": null, "note": "rt-IllnessEpisode-noteEncrypted", - "createdAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", "bodySite": null, "laterality": null, - "updatedAt": "", + "updatedAt": "2026-05-02T17:32:00.000Z", "dayLogs": [ { - "id": "", - "episodeId": "", + "id": "", + "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, @@ -2202,12 +2232,12 @@ } ], "note": "rt-IllnessDayLog-noteEncrypted", - "updatedAt": "" + "updatedAt": "2026-05-02T19:09:00.000Z" } ] }, { - "id": "", + "id": "", "label": "Iron deficiency", "type": "CHRONIC", "lifecycle": "ACUTE", @@ -2215,10 +2245,10 @@ "resolvedAt": null, "parentConditionId": null, "note": null, - "createdAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", "bodySite": "Stomach", "laterality": "BOTH", - "updatedAt": "", + "updatedAt": "2026-05-02T17:32:01.000Z", "dayLogs": [] } ], @@ -2228,24 +2258,24 @@ "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z", "events": [ { "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, "note": null, - "episodeId": "", - "createdAt": "", - "updatedAt": "" + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "note": null, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ] }, @@ -2254,16 +2284,16 @@ "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z", "events": [ { "occurredAt": "2026-06-21T11:00:00.000Z", "intensity": 8, "note": "left side, behind the eye", "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" } ] } @@ -2276,8 +2306,8 @@ "precision": "MONTH", "title": "Moved to the coast", "note": "the flat with the long hallway", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z" }, { "category": "WORK", @@ -2286,13 +2316,13 @@ "precision": "DAY", "title": "Parental leave", "note": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z" } ], "allergies": [ { - "id": "", + "id": "", "substance": "Penicillin", "category": "FOOD", "type": "INTOLERANCE", @@ -2301,19 +2331,19 @@ "onsetAt": "2026-06-30T12:34:56.789Z", "reaction": "rt-Allergy-reactionEncrypted", "note": "rt-Allergy-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z" } ], "familyHistory": [ { - "id": "", + "id": "", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, "note": "rt-FamilyHistoryEntry-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z" } ], "workouts": [ @@ -2336,7 +2366,7 @@ ], "documents": [ { - "id": "", + "id": "", "kind": "LAB_RESULT", "title": "June labs", "filename": "june-labs.pdf", @@ -2349,20 +2379,20 @@ "sourceId": "4711", "sourceInstance": "https://paperless.example.test", "summary": "rt-InboundDocument-summaryEncrypted", - "createdAt": "" + "createdAt": "2026-05-04T01:24:00.000Z" } ], "documentConditionLinks": [ { - "documentId": "", - "episodeId": "", + "documentId": "", + "episodeId": "", "createdAt": "2026-07-02T09:00:00.000Z" } ], "extractedFacts": [ { - "id": "", - "documentId": "", + "id": "", + "documentId": "", "factType": "OBSERVATION", "status": "APPROVED", "confidence": 0.94, @@ -2387,8 +2417,8 @@ "page": 2, "confidence": 0.94 }, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T18:51:00.000Z", + "updatedAt": "2026-05-05T18:52:00.000Z" } ], "nutrientDays": [ @@ -2399,7 +2429,7 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "" + "createdAt": "2026-05-03T23:27:00.000Z" } ], "healthProfile": { @@ -2464,7 +2494,7 @@ "dismissedEvidenceHash": "abababababababababababababababababababababababababababababababab", "dismissedEffectSize": 2.5, "dismissedSampleSize": 3, - "createdAt": "" + "createdAt": "2026-05-03T18:38:00.000Z" } ], "intradayProfiles": [ @@ -2548,7 +2578,7 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "" + "computedAt": "2026-05-03T20:12:00.000Z" } ], "onboardingRecord": { @@ -2616,57 +2646,57 @@ }, "practitioners": [ { - "id": "", + "id": "", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": "rt-Practitioner-locationEncrypted", "phone": "rt-Practitioner-phoneEncrypted", "note": "ring the upper bell", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z" } ], "encounters": [ { - "id": "", + "id": "", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", + "practitionerId": "", "reason": "annual check", "outcome": "ferritin back in range, recheck in a year", "bodySite": "rt-Encounter-bodySiteEncrypted", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "" + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z" } ], "encounterDocumentLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T06:04:00.000Z" } ], "encounterLabLinks": [ { - "encounterId": "", + "encounterId": "", "targetId": "", - "createdAt": "" + "createdAt": "2026-05-04T07:44:00.000Z" } ], "encounterConditionLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T09:24:00.000Z" } ], "customVaccines": [ { - "id": "", + "id": "", "name": "Round-trip travel combo", "components": [ "typhoid", @@ -2674,13 +2704,13 @@ ], "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z" } ], "vaccinations": [ { - "id": "", + "id": "", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", "vaccineName": "Tetanus, diphtheria and pertussis", @@ -2688,70 +2718,70 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", "note": "sore arm for a day, nothing else", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z" } ], "vaccinationDocumentLinks": [ { - "vaccinationId": "", - "targetId": "", - "createdAt": "" + "vaccinationId": "", + "targetId": "", + "createdAt": "2026-05-04T12:44:00.000Z" } ], "labResultDocumentLinks": [ { "labResultId": "", - "documentId": "", - "createdAt": "" + "documentId": "", + "createdAt": "2026-05-06T14:44:00.000Z" } ], "encounterMedicationLinks": [ { - "encounterId": "", + "encounterId": "", "medicationId": "", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "encounterVaccinationLinks": [ { - "encounterId": "", - "vaccinationId": "", - "createdAt": "" + "encounterId": "", + "vaccinationId": "", + "createdAt": "2026-05-06T18:04:00.000Z" } ], "medicationDocumentLinks": [ { "medicationId": "", - "documentId": "", - "createdAt": "" + "documentId": "", + "createdAt": "2026-05-06T19:44:00.000Z" } ], "medicationConditionLinks": [ { "medicationId": "", - "episodeId": "", - "createdAt": "" + "episodeId": "", + "createdAt": "2026-05-06T21:24:00.000Z" } ], "coachConversations": [ { - "id": "", + "id": "", "title": "How is my blood pressure trending?", "documentScoped": false, "summary": "earlier turns: weight trend and evening walks", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", "content": "my readings look higher this week, is that real?", "metricSourceJson": "rt-CoachMessage-metricSourceJson", @@ -2764,7 +2794,7 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", + "id": "", "role": "assistant", "content": "the last seven mornings average 4 mmHg above the fortnight before", "metricSourceJson": null, @@ -2780,17 +2810,17 @@ "attachments": [] }, { - "id": "", + "id": "", "title": "About my June labs", "documentScoped": true, "summary": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", "content": "What does the ferritin mean?", "metricSourceJson": null, @@ -2805,7 +2835,7 @@ ], "attachments": [ { - "documentId": "", + "documentId": "", "addedAt": "2026-07-21T07:59:00.000Z" } ] @@ -2815,21 +2845,21 @@ "consentReceipts": [], "coachFacts": [ { - "id": "", + "id": "", "fact": "does not tolerate ACE inhibitors", "category": "constraint", "confidence": 80, - "sourceConversationId": "", + "sourceConversationId": "", "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "", - "createdAt": "", - "updatedAt": "" + "sourceMessageId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z" } ], "coachPlans": [ { - "id": "", + "id": "", "metric": "BLOOD_PRESSURE", "ifCue": "if the evening reading is over 140", "thenAction": "then walk twenty minutes before dinner tomorrow", @@ -2837,32 +2867,32 @@ "outcome": "rt-CoachPlan-outcomeEncrypted", "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "" + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z" } ], "coachReminders": [ { - "id": "", + "id": "", "note": "ask how the evening walks are going", "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z" } ], "measurementReminders": [ { - "id": "", + "id": "", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", "intervalDays": 7, @@ -2879,28 +2909,28 @@ "snoozedUntil": "2026-07-08T06:00:00.000Z", "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z" } ], "measurementReminderEvents": [ { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" }, { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" } ], "personalRecords": [ @@ -2914,7 +2944,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { "metricType": "WALKING_RUNNING_DISTANCE", @@ -2926,7 +2956,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { "metricType": "WEIGHT", @@ -2938,19 +2968,19 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "userAchievements": [ { "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" }, { "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" } ], "environmentContexts": [ @@ -2995,8 +3025,8 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { "date": "2026-07-01", @@ -3039,8 +3069,8 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "environmentTravelLocations": [ @@ -3050,8 +3080,8 @@ "lat": 41.4, "lon": 2.2, "label": "Barcelona", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "dawarichDays": [ @@ -3065,8 +3095,8 @@ "countryCode": "ES", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "ecgRecordings": [ @@ -3091,8 +3121,8 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "manifest": { @@ -3131,7 +3161,7 @@ "nutrientDays": 1, "labResults": 1, "biomarkers": 1, - "illnessEpisodes": 2, + "illnessEpisodes": 3, "illnessDayLogs": 1, "allergies": 1, "familyHistory": 1, @@ -3187,7 +3217,7 @@ "labResults": 1, "nutrientDays": 1, "biomarkers": 1, - "illnessEpisodes": 2, + "illnessEpisodes": 3, "illnessDayLogs": 1, "allergies": 1, "familyHistory": 1, diff --git a/tests/integration/__golden__/backup-parity/restore-disaster-recovery-over-live.json b/tests/integration/__golden__/backup-parity/restore-disaster-recovery-over-live.json index 29326a9cd..6b196cc9e 100644 --- a/tests/integration/__golden__/backup-parity/restore-disaster-recovery-over-live.json +++ b/tests/integration/__golden__/backup-parity/restore-disaster-recovery-over-live.json @@ -9,47 +9,47 @@ "exportedAt": "2026-08-01T00:00:00.000Z", "measurements": 5, "medications": 1, - "intakeEvents": 1, + "intakeEvents": 2, "medicationSideEffects": 1, "medicationEfficacyTargets": 1, "medicationScheduleRevisions": 3, - "moodEntries": 1, - "cycles": 2, - "cycleDayLogs": 1, + "moodEntries": 2, + "cycles": 3, + "cycleDayLogs": 2, "nutrientDays": 1, - "labResults": 1, + "labResults": 2, "biomarkers": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "documentConditionLinks": 1, "extractedFacts": 1, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, - "customMetricEntries": 2, + "healthProfileFactRevisions": 2, + "customMetrics": 2, + "customMetricEntries": 3, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 1, "relationLinks": 5, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "personalRecords": 3, "userAchievements": 2, @@ -65,47 +65,47 @@ "cleared": { "measurements": 5, "medications": 1, - "intakeEvents": 1, - "moodEntries": 1, + "intakeEvents": 2, + "moodEntries": 2, "notificationChannels": 0, "pushSubscriptions": 0, "telegramScheduledDeletions": 0, - "cycles": 2, - "cycleDayLogs": 1, + "cycles": 3, + "cycleDayLogs": 2, "cycleProfile": 1, - "labResults": 1, + "labResults": 2, "biomarkers": 1, "nutrientDays": 1, - "illnessEpisodes": 2, - "allergies": 1, + "illnessEpisodes": 4, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "documentConditionLinks": 0, "extractedFacts": 0, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, + "healthProfileFactRevisions": 2, + "customMetrics": 2, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 0, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 0, "relationLinks": 0, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, "coachConversationDocuments": 0, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "personalRecords": 3, "userAchievements": 2, @@ -114,7 +114,7 @@ "dawarichDays": 1, "ecgRecordings": 1, "symptomDefinitions": 2, - "lifeEvents": 2 + "lifeEvents": 3 } } }, @@ -281,47 +281,47 @@ "cleared": { "measurements": 5, "medications": 1, - "intakeEvents": 1, - "moodEntries": 1, + "intakeEvents": 2, + "moodEntries": 2, "notificationChannels": 0, "pushSubscriptions": 0, "telegramScheduledDeletions": 0, - "cycles": 2, - "cycleDayLogs": 1, + "cycles": 3, + "cycleDayLogs": 2, "cycleProfile": 1, - "labResults": 1, + "labResults": 2, "biomarkers": 1, "nutrientDays": 1, - "illnessEpisodes": 2, - "allergies": 1, + "illnessEpisodes": 4, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "documentConditionLinks": 0, "extractedFacts": 0, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, + "healthProfileFactRevisions": 2, + "customMetrics": 2, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 0, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 0, "relationLinks": 0, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, "coachConversationDocuments": 0, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "personalRecords": 3, "userAchievements": 2, @@ -330,7 +330,7 @@ "dawarichDays": 1, "ecgRecordings": 1, "symptomDefinitions": 2, - "lifeEvents": 2 + "lifeEvents": 3 }, "accountSettingsApplied": 62, "skipped": { @@ -340,32 +340,32 @@ "restored": { "measurements": 5, "medications": 1, - "intakeEvents": 1, - "moodEntries": 1, - "cycles": 2, - "cycleDayLogs": 1, - "labResults": 1, + "intakeEvents": 2, + "moodEntries": 2, + "cycles": 3, + "cycleDayLogs": 2, + "labResults": 2, "biomarkers": 1, "nutrientDays": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, - "customMetricEntries": 2, + "healthProfileFactRevisions": 2, + "customMetrics": 2, + "customMetricEntries": 3, "correlationPatterns": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 1, "relationLinks": 5, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2 } } diff --git a/tests/integration/__golden__/backup-parity/restore-disaster-recovery.json b/tests/integration/__golden__/backup-parity/restore-disaster-recovery.json index c254dae87..e66469817 100644 --- a/tests/integration/__golden__/backup-parity/restore-disaster-recovery.json +++ b/tests/integration/__golden__/backup-parity/restore-disaster-recovery.json @@ -9,47 +9,47 @@ "exportedAt": "2026-08-01T00:00:00.000Z", "measurements": 5, "medications": 1, - "intakeEvents": 1, + "intakeEvents": 2, "medicationSideEffects": 1, "medicationEfficacyTargets": 1, "medicationScheduleRevisions": 3, - "moodEntries": 1, - "cycles": 2, - "cycleDayLogs": 1, + "moodEntries": 2, + "cycles": 3, + "cycleDayLogs": 2, "nutrientDays": 1, - "labResults": 1, + "labResults": 2, "biomarkers": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "documentConditionLinks": 1, "extractedFacts": 1, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, - "customMetricEntries": 2, + "healthProfileFactRevisions": 2, + "customMetrics": 2, + "customMetricEntries": 3, "correlationPatterns": 1, "intradayProfiles": 1, "healthScoreRecords": 1, "onboardingRecords": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 1, "relationLinks": 5, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2, "coachConversations": 2, "coachMessages": 3, - "coachFacts": 1, - "coachPlans": 1, - "coachReminders": 1, - "mentalHealthAssessments": 1, + "coachFacts": 2, + "coachPlans": 2, + "coachReminders": 2, + "mentalHealthAssessments": 2, "consentReceipts": 2, "personalRecords": 3, "userAchievements": 2, @@ -340,32 +340,32 @@ "restored": { "measurements": 5, "medications": 1, - "intakeEvents": 1, - "moodEntries": 1, - "cycles": 2, - "cycleDayLogs": 1, - "labResults": 1, + "intakeEvents": 2, + "moodEntries": 2, + "cycles": 3, + "cycleDayLogs": 2, + "labResults": 2, "biomarkers": 1, "nutrientDays": 1, - "illnessEpisodes": 2, - "illnessDayLogs": 1, - "allergies": 1, + "illnessEpisodes": 4, + "illnessDayLogs": 2, + "allergies": 2, "familyHistory": 1, "workouts": 1, "documents": 1, "healthProfile": 1, - "healthProfileFactRevisions": 1, - "customMetrics": 1, - "customMetricEntries": 2, + "healthProfileFactRevisions": 2, + "customMetrics": 2, + "customMetricEntries": 3, "correlationPatterns": 1, - "practitioners": 1, - "encounters": 1, + "practitioners": 2, + "encounters": 2, "encounterLinks": 3, - "vaccinations": 1, + "vaccinations": 2, "vaccinationLinks": 1, "relationLinks": 5, - "customVaccines": 1, - "measurementReminders": 1, + "customVaccines": 2, + "measurementReminders": 2, "measurementReminderEvents": 2 } } @@ -427,8 +427,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:03.000Z", + "updatedAt": "2026-05-01T08:21:03.000Z" }, { "id": "", @@ -451,8 +451,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:02.000Z", + "updatedAt": "2026-05-01T08:21:02.000Z" }, { "id": "", @@ -475,8 +475,8 @@ "deviceType": null, "syncVersion": 4, "deletedAt": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:01.000Z", + "updatedAt": "2026-05-01T08:21:01.000Z" }, { "id": "", @@ -499,8 +499,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:04.000Z", + "updatedAt": "2026-05-01T08:21:04.000Z" }, { "id": "", @@ -513,7 +513,7 @@ "source": "MANUAL", "measuredAt": "2026-07-01T07:00:00.000Z", "notes": null, - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": "rt-Measurement-externalSourceVersion", "aggregationProvenance": "HEALTHKIT_STATISTICS", @@ -523,8 +523,8 @@ "deviceType": "rt-Measurement-deviceType", "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:00.000Z", + "updatedAt": "2026-05-01T08:21:00.000Z" } ], "IntradayCumulativeProfile": [ @@ -590,8 +590,8 @@ "basis": "HOUR_BUCKETS", "bucketCount": 3, "timezone": "Europe/Berlin", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T09:51:00.000Z", + "updatedAt": "2026-05-01T09:52:00.000Z" } ], "Medication": [ @@ -628,7 +628,7 @@ "reorderLeadDays": 3, "externalSource": "WEB", "externalId": "rt-Medication-externalId", - "createdAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", "updatedAt": "" } ], @@ -687,21 +687,42 @@ "attributionSource": "USER_PIN", "source": "API", "idempotencyKey": "rt-MedicationIntakeEvent-idempotencyKey", - "createdAt": "", + "createdAt": "2026-05-01T14:51:00.000Z", "injectionSite": "ABDOMEN_LEFT", "doseTaken": "rt-MedicationIntakeEvent-doseTaken", "inventoryConsumption": { "roundTrip": "rt-MedicationIntakeEvent-inventoryConsumption" }, "externalId": "rt-MedicationIntakeEvent-externalId", - "updatedAt": "", + "updatedAt": "2026-05-01T14:56:00.000Z", "syncVersion": 3, "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "medicationId": "", + "scheduledFor": "2026-07-02T08:00:00.000Z", + "takenAt": "2026-07-02T08:03:00.000Z", + "skipped": false, + "autoMissed": false, + "autoRecorded": false, + "attributionSource": "AUTO", + "source": "WEB", + "idempotencyKey": null, + "createdAt": "2026-05-01T14:51:01.000Z", + "injectionSite": null, + "doseTaken": null, + "inventoryConsumption": null, + "externalId": null, + "updatedAt": "2026-05-01T14:56:01.000Z", + "syncVersion": 0, + "deletedAt": "" } ], "MedicationSideEffect": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "occurredAt": "2026-07-01T21:00:00.000Z", @@ -709,48 +730,48 @@ "entry": "NAUSEA", "severity": 3, "notes": null, - "notesEncrypted": "", - "createdAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-01T16:29:00.000Z" } ], "MedicationPauseEra": [ { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "MedicationDoseChange": [ { - "id": "", + "id": "", "medicationId": "", "effectiveFrom": "2026-04-01T08:00:00.000Z", "doseValue": 5, "doseUnit": "mg", "note": null, - "noteEncrypted": "", - "createdAt": "" + "noteEncrypted": "", + "createdAt": "2026-05-01T19:47:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "effectiveFrom": "2026-06-01T08:00:00.000Z", "doseValue": 10, "doseUnit": "mg", "note": null, "noteEncrypted": null, - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "MedicationCategoryAssignment": [ @@ -762,41 +783,41 @@ ], "MedicationCategoryLabel": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "key": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "labelEncrypted": "", + "labelEncrypted": "", "sortOrder": 2, "isActive": false, - "createdAt": "", + "createdAt": "2026-05-01T23:06:00.000Z", "updatedAt": "" } ], "MedicationCourse": [ { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "startsOn": "2026-03-01T00:00:00.000Z", "endsOn": "2026-03-07T00:00:00.000Z", - "noteEncrypted": "", - "createdAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-02T00:46:00.000Z", "updatedAt": "" }, { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "startsOn": "2026-06-10T00:00:00.000Z", "endsOn": "2026-06-16T00:00:00.000Z", "noteEncrypted": null, - "createdAt": "", + "createdAt": "2026-05-02T00:46:01.000Z", "updatedAt": "" } ], "MedicationIngredient": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "nutrient": "vitamin_d", @@ -805,13 +826,13 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "", + "createdAt": "2026-05-02T02:29:00.000Z", "updatedAt": "" } ], "MoodEntry": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-07-01", "mood": "GUT", @@ -823,21 +844,45 @@ "stabilityA5": 3, "tags": "[\"round-trip-tag\"]", "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "source": "rt-MoodEntry-source", "externalId": "rt-MoodEntry-externalId", "moodLoggedAt": "2026-07-01T20:00:00.000Z", "tz": "rt-MoodEntry-tz", - "syncedAt": "", - "createdAt": "", - "updatedAt": "", + "syncedAt": "2026-05-02T04:17:00.000Z", + "createdAt": "2026-05-02T04:18:00.000Z", + "updatedAt": "2026-05-02T04:19:00.000Z", "syncVersion": 3, "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "date": "2026-07-03", + "mood": "SCHLECHT", + "score": 2, + "moodA1": null, + "stressA2": null, + "energyA3": null, + "connectionA4": null, + "stabilityA5": null, + "tags": null, + "note": null, + "noteEncrypted": null, + "source": "MOODLOG", + "externalId": null, + "moodLoggedAt": "2026-07-03T20:00:00.000Z", + "tz": null, + "syncedAt": "2026-05-02T04:17:01.000Z", + "createdAt": "2026-05-02T04:18:01.000Z", + "updatedAt": "2026-05-02T04:19:01.000Z", + "syncVersion": 0, + "deletedAt": "" } ], "MoodContext": [ { - "moodEntryId": "", + "moodEntryId": "", "userId": "round-trip-owner", "workStatus": "regular", "workMinutes": 3, @@ -856,23 +901,23 @@ "eventType": "rt-MoodContext-eventType", "eventValence": 3, "eventAt": "2026-06-30T12:34:56.789Z", - "notesEncrypted": "", + "notesEncrypted": "", "createdAt": "", "updatedAt": "" } ], "MoodEntryTagLink": [ { - "moodEntryId": "", - "moodTagId": "", + "moodEntryId": "", + "moodTagId": "", "createdAt": "", "rating": 4 } ], "MoodTag": [ { - "id": "", - "categoryId": "", + "id": "", + "categoryId": "", "key": "round_trip_factor", "labelKey": "mood.tag.roundTripFactor", "icon": "rt-MoodTag-icon", @@ -883,12 +928,12 @@ "scaleMax": 3, "inverse": true, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "LabResult": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "panel": "rt-LabResult-panel", "analyte": "Ferritin", @@ -903,33 +948,71 @@ "sourceValue": 2.5, "sourceUnit": "rt-LabResult-sourceUnit", "takenAt": "2026-06-30T09:00:00.000Z", - "biomarkerId": "", + "biomarkerId": "", "source": "rt-LabResult-source", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-02T10:58:00.000Z", + "updatedAt": "2026-05-02T10:59:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "panel": null, + "analyte": "TSH", + "value": 2.1, + "valueText": null, + "unit": "mU/L", + "referenceLow": null, + "referenceHigh": null, + "sourceReferenceLow": null, + "sourceReferenceHigh": null, + "sourceReferenceText": null, + "sourceValue": null, + "sourceUnit": null, + "takenAt": "2026-05-30T09:00:00.000Z", + "biomarkerId": null, + "source": "MANUAL", + "noteEncrypted": null, + "createdAt": "2026-05-02T10:58:01.000Z", + "updatedAt": "2026-05-02T10:59:01.000Z", + "deletedAt": "" } ], "Biomarker": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "name": "Ferritin", "unit": "ng/mL", "lowerBound": 2.5, "upperBound": 2.5, - "contextEncrypted": "", + "contextEncrypted": "", "panel": "rt-Biomarker-panel", "hidden": true, "analyteKey": "rt-Biomarker-analyteKey", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T12:30:00.000Z", + "updatedAt": "2026-05-02T12:31:00.000Z" } ], "Allergy": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "substance": "Latex (deleted)", + "category": "OTHER", + "type": "ALLERGY", + "severity": null, + "status": "ACTIVE", + "onsetAt": null, + "reactionEncrypted": null, + "notesEncrypted": null, + "createdAt": "2026-05-02T14:10:01.000Z", + "updatedAt": "2026-05-02T14:11:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "substance": "Penicillin", "category": "FOOD", @@ -937,29 +1020,29 @@ "severity": "MILD", "status": "INACTIVE", "onsetAt": "2026-06-30T12:34:56.789Z", - "reactionEncrypted": "", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "reactionEncrypted": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z", "deletedAt": null } ], "FamilyHistoryEntry": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z", "deletedAt": null } ], "IllnessEpisode": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "label": "Cold", "type": "INFECTION", @@ -967,15 +1050,31 @@ "onsetAt": "2026-06-20T00:00:00.000Z", "resolvedAt": "2026-06-30T12:34:56.789Z", "parentConditionId": null, - "noteEncrypted": "", + "noteEncrypted": "", "bodySiteEncrypted": null, "laterality": null, - "createdAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "updatedAt": "2026-05-02T17:32:00.000Z", + "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "noteEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:03.000Z", "updatedAt": "", "deletedAt": null }, { - "id": "", + "id": "", "userId": "round-trip-owner", "label": "Iron deficiency", "type": "CHRONIC", @@ -984,162 +1083,215 @@ "resolvedAt": null, "parentConditionId": null, "noteEncrypted": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": "BOTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", + "updatedAt": "2026-05-02T17:32:01.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "label": "Sprained ankle (deleted)", + "type": "INJURY", + "lifecycle": "ACUTE", + "onsetAt": "2026-04-10T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": null, + "noteEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:02.000Z", + "updatedAt": "2026-05-02T17:32:02.000Z", + "deletedAt": "" } ], "IllnessDayLog": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "episodeId": "", + "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, - "noteEncrypted": "", + "noteEncrypted": "", "tz": "rt-IllnessDayLog-tz", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T19:08:00.000Z", + "updatedAt": "2026-05-02T19:09:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "episodeId": "", + "date": "2026-06-22", + "functionalImpact": null, + "feverC": null, + "noteEncrypted": null, + "tz": null, + "createdAt": "2026-05-02T19:08:01.000Z", + "updatedAt": "2026-05-02T19:09:01.000Z", + "deletedAt": "" } ], "IllnessSymptomLink": [ { - "dayLogId": "", - "symptomId": "", + "dayLogId": "", + "symptomId": "", "severity": 2, "createdAt": "" } ], "SymptomDefinition": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "labelEncrypted": "", + "labelEncrypted": "", "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "labelEncrypted": "", + "labelEncrypted": "", "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z" } ], "SymptomEvent": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "definitionId": "", + "definitionId": "", "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, "noteEncrypted": null, - "episodeId": "", - "createdAt": "", - "updatedAt": "" + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "definitionId": "", + "definitionId": "", "occurredAt": "2026-06-21T11:00:00.000Z", "intensity": 8, - "noteEncrypted": "", + "noteEncrypted": "", "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "definitionId": "", + "definitionId": "", "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "noteEncrypted": null, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ], "LifeEvent": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "category": "HOME", "startDate": "2023-09-01", "endDate": null, "precision": "MONTH", - "titleEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "titleEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z", "deletedAt": null }, { - "id": "", + "id": "", + "userId": "round-trip-owner", + "category": "OTHER", + "startDate": "2025-12-01", + "endDate": null, + "precision": "DAY", + "titleEncrypted": "", + "noteEncrypted": null, + "createdAt": "2026-05-03T01:48:02.000Z", + "updatedAt": "2026-05-03T01:49:02.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "category": "WORK", "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "titleEncrypted": "", + "titleEncrypted": "", "noteEncrypted": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z", "deletedAt": null } ], "UserHealthProfile": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "aboutMeEncrypted": "", - "conditionsEncrypted": "", - "allergiesEncrypted": "", - "coachFocusEncrypted": "", - "pendingQuestionsEncrypted": "", + "aboutMeEncrypted": "", + "conditionsEncrypted": "", + "allergiesEncrypted": "", + "coachFocusEncrypted": "", + "pendingQuestionsEncrypted": "", "aiIncludedSections": [ "ABOUT_ME" ], "emergencyBloodType": "A_POS", "organDonorStatus": "YES", "advanceDirectiveStatus": "EXISTS", - "emergencyContactsEncrypted": "", - "emergencyImplantsEncrypted": "", - "emergencyNoteEncrypted": "", + "emergencyContactsEncrypted": "", + "emergencyImplantsEncrypted": "", + "emergencyNoteEncrypted": "", "lifeConfirmedJson": { "roundTrip": "rt-UserHealthProfile-lifeConfirmedJson" }, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T03:35:00.000Z", + "updatedAt": "2026-05-03T03:36:00.000Z" } ], "HealthProfileFactRevision": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "SMOKING_STATUS", - "valueEncrypted": "", + "valueEncrypted": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-06-30T12:34:56.789Z", "provenance": "USER_CORRECTION", + "supersededByRevisionId": "", + "createdAt": "2026-05-03T05:08:00.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "kind": "SMOKING_STATUS", + "valueEncrypted": "", + "validFrom": "2026-02-01T00:00:00.000Z", + "validUntil": null, + "provenance": "USER_REPORTED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-03T05:08:01.000Z" } ], "CycleProfile": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "goal": "AVOID_PREGNANCY", "cycleTrackingEnabled": true, @@ -1151,13 +1303,30 @@ "rawChartMode": true, "discreetNotifications": true, "sensitiveCategoryEncryption": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T06:52:00.000Z", + "updatedAt": "2026-05-03T06:53:00.000Z" } ], "MenstrualCycle": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "startDate": "2026-05-04", + "endDate": null, + "periodEndDate": null, + "lengthDays": null, + "ovulationDate": null, + "ovulationConfirmed": false, + "isPredicted": false, + "tz": null, + "syncVersion": 0, + "deletedAt": "", + "absorbedIntoId": null, + "createdAt": "2026-05-03T08:33:02.000Z", + "updatedAt": "2026-05-03T08:34:02.000Z" + }, + { + "id": "", "userId": "round-trip-owner", "startDate": "2026-06-01", "endDate": "rt-MenstrualCycle-endDate", @@ -1170,11 +1339,11 @@ "syncVersion": 3, "deletedAt": null, "absorbedIntoId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T08:33:00.000Z", + "updatedAt": "2026-05-03T08:34:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "startDate": "2026-06-03", "endDate": null, @@ -1186,17 +1355,17 @@ "tz": null, "syncVersion": 0, "deletedAt": "2026-06-04T07:00:00.000Z", - "absorbedIntoId": "", - "createdAt": "", - "updatedAt": "" + "absorbedIntoId": "", + "createdAt": "2026-05-03T08:33:01.000Z", + "updatedAt": "2026-05-03T08:34:01.000Z" } ], "CycleDayLog": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-02", - "cycleId": "", + "cycleId": "", "flow": "HEAVY", "intermenstrualBleeding": true, "basalBodyTempC": 2.5, @@ -1211,20 +1380,49 @@ "pregnancyTest": "NEGATIVE", "progesteroneTest": "NEGATIVE", "contraceptive": "NONE", - "sensitiveEncrypted": "", - "notesEncrypted": "", + "sensitiveEncrypted": "", + "notesEncrypted": "", "source": "WITHINGS", "externalId": "rt-CycleDayLog-externalId", "tz": "rt-CycleDayLog-tz", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T10:25:00.000Z", + "updatedAt": "2026-05-03T10:26:00.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "date": "2026-06-03", + "cycleId": "", + "flow": "LIGHT", + "intermenstrualBleeding": false, + "basalBodyTempC": null, + "temperatureExcluded": false, + "ovulationTest": null, + "cervicalMucus": null, + "cervixPosition": null, + "cervixFirmness": null, + "cervixOpening": null, + "sexualActivity": false, + "protectedSex": null, + "pregnancyTest": null, + "progesteroneTest": null, + "contraceptive": null, + "sensitiveEncrypted": null, + "notesEncrypted": null, + "source": "MANUAL", + "externalId": null, + "tz": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-03T10:25:01.000Z", + "updatedAt": "2026-05-03T10:26:01.000Z" } ], "CycleSymptom": [ { - "id": "", + "id": "", "categoryId": "csc_physical", "key": "custom:round-trip-cramps", "labelKey": "cycle.symptom.custom", @@ -1232,20 +1430,20 @@ "sortOrder": 3, "isActive": false, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "CycleSymptomLink": [ { - "dayLogId": "", - "symptomId": "", + "dayLogId": "", + "symptomId": "", "severity": 3, "createdAt": "" } ], "CustomMetric": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "name": "Grip strength", "unit": "kg", @@ -1254,40 +1452,66 @@ "decimals": 3, "description": "rt-CustomMetric-description", "correlationEnabled": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T15:09:00.000Z", + "updatedAt": "2026-05-03T15:10:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "name": "Plank (deleted)", + "unit": "s", + "targetLow": null, + "targetHigh": null, + "decimals": null, + "description": null, + "correlationEnabled": false, + "createdAt": "2026-05-03T15:09:01.000Z", + "updatedAt": "2026-05-03T15:10:01.000Z", + "deletedAt": "" } ], "CustomMetricEntry": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "customMetricId": "", + "customMetricId": "", + "value": 40, + "unit": "kg", + "measuredAt": "2026-06-28T18:00:00.000Z", + "note": null, + "noteEncrypted": null, + "createdAt": "2026-05-03T16:48:02.000Z", + "deletedAt": "" + }, + { + "id": "", + "userId": "round-trip-owner", + "customMetricId": "", "value": 44, "unit": "kg", "measuredAt": "2026-07-01T18:00:00.000Z", "note": null, - "noteEncrypted": "", - "createdAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T16:48:00.000Z", "deletedAt": null }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "customMetricId": "", + "customMetricId": "", "value": 45, "unit": "kg", "measuredAt": "2026-07-02T18:00:00.000Z", "note": null, - "noteEncrypted": "", - "createdAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T16:48:01.000Z", "deletedAt": null } ], "CorrelationPattern": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", @@ -1305,13 +1529,13 @@ "dismissedEvidenceHash": "abababababababababababababababababababababababababababababababab", "dismissedEffectSize": 2.5, "dismissedSampleSize": 3, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T18:38:00.000Z", + "updatedAt": "2026-05-03T18:39:00.000Z" } ], "HealthScoreRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "dayKey": "2026-07-01", "timezone": "Europe/Berlin", @@ -1329,13 +1553,13 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "", - "createdAt": "" + "computedAt": "2026-05-03T20:12:00.000Z", + "createdAt": "2026-05-03T20:13:00.000Z" } ], "Workout": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "sportType": "RUNNING", "startedAt": "2026-06-29T06:00:00.000Z", @@ -1355,8 +1579,8 @@ "metadata": { "roundTrip": "rt-Workout-metadata" }, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T21:58:00.000Z", + "updatedAt": "2026-05-03T21:59:00.000Z" } ], "NutrientIntakeDay": [ @@ -1368,20 +1592,20 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "", + "createdAt": "2026-05-03T23:27:00.000Z", "updatedAt": "" } ], "InboundDocument": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "LAB_RESULT", "title": "June labs", "filename": "june-labs.pdf", "mimeType": "application/pdf", "byteSize": 57, - "contentEncrypted": "", + "contentEncrypted": "", "contentSha256": "0a738470f0945033965858e9895ee721ce981a25f013514d587d0a7a1946be7a", "contentCodec": "binary2", "status": "EXTRACTING", @@ -1389,7 +1613,7 @@ "reportDate": "2026-06-30T12:34:56.789Z", "documentDate": "2026-06-30T12:34:56.789Z", "errorReason": "rt-InboundDocument-errorReason", - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryGeneratedAt": "2026-06-30T12:34:56.789Z", "summaryState": "PENDING", "lastIndexAttemptAt": "2026-06-30T12:34:56.789Z", @@ -1398,76 +1622,126 @@ "sourceId": "4711", "sourceInstance": "https://paperless.example.test", "aiReadDeferred": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T01:24:00.000Z", + "updatedAt": "2026-05-04T01:25:00.000Z", "deletedAt": null } ], "Practitioner": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "name": "Closed practice (deleted)", + "specialty": null, + "practice": null, + "location": null, + "phone": null, + "locationEncrypted": null, + "phoneEncrypted": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T02:50:01.000Z", + "updatedAt": "2026-05-04T02:51:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": null, "phone": null, - "locationEncrypted": "", - "phoneEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "locationEncrypted": "", + "phoneEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z", "deletedAt": null } ], "Encounter": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "occurredAt": "2026-04-02T08:00:00.000Z", + "status": "DONE", + "kind": "ROUTINE", + "practitionerId": "", + "reasonEncrypted": null, + "outcomeEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "reminderId": null, + "createdAt": "2026-05-04T04:31:01.000Z", + "updatedAt": "2026-05-04T04:32:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", - "reasonEncrypted": "", - "outcomeEncrypted": "", - "bodySiteEncrypted": "", + "practitionerId": "", + "reasonEncrypted": "", + "outcomeEncrypted": "", + "bodySiteEncrypted": "", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "", + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z", "deletedAt": null } ], "EncounterDocumentLink": [ { - "id": "", - "encounterId": "", - "documentId": "", + "id": "", + "encounterId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T06:04:00.000Z" } ], "EncounterLabLink": [ { - "id": "", - "encounterId": "", - "labResultId": "", + "id": "", + "encounterId": "", + "labResultId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T07:44:00.000Z" } ], "EncounterConditionLink": [ { - "id": "", - "encounterId": "", - "episodeId": "", + "id": "", + "encounterId": "", + "episodeId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T09:24:00.000Z" } ], "VaccinationRecord": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "occurredAt": "2026-04-14T00:00:00.000Z", + "antigenSlug": "influenza", + "vaccineName": "Influenza (deleted)", + "doseNumber": null, + "seriesDoses": null, + "lotNumber": null, + "site": null, + "practitionerId": null, + "encounterId": null, + "reminderId": null, + "customVaccineId": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T11:14:01.000Z", + "updatedAt": "2026-05-04T11:15:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", @@ -1476,28 +1750,41 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z", "deletedAt": null } ], "VaccinationDocumentLink": [ { - "id": "", - "vaccinationId": "", - "documentId": "", + "id": "", + "vaccinationId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T12:44:00.000Z" } ], "CustomVaccine": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "name": "Deleted combo", + "components": [ + "rabies" + ], + "typicalSeriesDoses": null, + "boosterIntervalMonths": null, + "deletedAt": "", + "createdAt": "2026-05-04T14:27:01.000Z", + "updatedAt": "2026-05-04T14:28:01.000Z" + }, + { + "id": "", "userId": "round-trip-owner", "name": "Round-trip travel combo", "components": [ @@ -1507,13 +1794,13 @@ "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z" } ], "MeasurementReminder": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", @@ -1532,54 +1819,78 @@ "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, "lastNotifiedAt": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "label": "Gewicht (deleted)", + "measurementType": "WEIGHT", + "intervalDays": 14, + "rrule": null, + "anchorDate": null, + "endsOn": null, + "origin": "VORSORGE", + "notifyHour": 9, + "location": null, + "nextDueAt": null, + "lastSatisfiedAt": null, + "enabled": true, + "vaccinationAntigen": null, + "snoozedUntil": null, + "lastSkippedAt": null, + "skipCount": 0, + "lastNotifiedAt": null, + "createdAt": "2026-05-04T16:19:01.000Z", + "updatedAt": "2026-05-04T16:20:01.000Z", + "deletedAt": "" } ], "MeasurementReminderEvent": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "reminderId": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "reminderId": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" } ], "CoachConversation": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "title": null, - "titleEncrypted": "", - "createdAt": "", - "updatedAt": "", + "titleEncrypted": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "summaryEncrypted": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, "documentScoped": true }, { - "id": "", + "id": "", "userId": "round-trip-owner", "title": null, - "titleEncrypted": "", - "createdAt": "", - "updatedAt": "", - "summaryEncrypted": "", + "titleEncrypted": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", + "summaryEncrypted": "", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, "documentScoped": false @@ -1587,24 +1898,24 @@ ], "CoachMessage": [ { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "assistant", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": null, "providerType": "anthropic", "promptVersion": null, "tokensUsed": 812, "model": "claude-opus-5", - "resultsEncrypted": "", - "trailEncrypted": "", + "resultsEncrypted": "", + "trailEncrypted": "", "createdAt": "2026-07-20T09:59:00.000Z" }, { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "user", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": "rt-CoachMessage-metricSourceJson", "providerType": null, "promptVersion": "rt-CoachMessage-promptVersion", @@ -1615,10 +1926,10 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "user", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": null, "providerType": null, "promptVersion": null, @@ -1631,67 +1942,114 @@ ], "CoachConversationDocument": [ { - "conversationId": "", - "documentId": "", + "conversationId": "", + "documentId": "", "addedAt": "2026-07-21T07:59:00.000Z" } ], "CoachFact": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "factEncrypted": "", + "factEncrypted": "", + "category": "preference", + "confidence": 50, + "sourceConversationId": "", + "createdAt": "2026-05-05T00:26:01.000Z", + "updatedAt": "2026-05-05T00:27:01.000Z", + "deletedAt": "", + "source": "user", + "lastUsedAt": null, + "sourceMessageId": null + }, + { + "id": "", + "userId": "round-trip-owner", + "factEncrypted": "", "category": "constraint", "confidence": 80, - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "", + "sourceConversationId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z", "deletedAt": null, "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "" + "sourceMessageId": "" } ], "CoachPlan": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "metric": "BLOOD_PRESSURE", - "ifCueEncrypted": "", - "thenActionEncrypted": "", - "targetEncrypted": "", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": "", "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "outcomeEncrypted": "", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "", + "outcomeEncrypted": "", + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "metric": "WEIGHT", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": null, + "status": "active", + "reviewDate": null, + "outcomeEncrypted": null, + "sourceConversationId": null, + "createdAt": "2026-05-05T02:10:01.000Z", + "updatedAt": "2026-05-05T02:11:01.000Z", + "deletedAt": "" } ], "CoachReminder": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "noteEncrypted": "", + "noteEncrypted": "", + "metric": null, + "relatedPlanId": "", + "triggerKind": "date", + "dueAt": "2026-09-15T07:00:00.000Z", + "contextCue": null, + "status": "active", + "source": "extractor", + "sourceConversationId": null, + "lastSurfacedAt": null, + "surfaceCount": 0, + "createdAt": "2026-05-05T03:53:01.000Z", + "updatedAt": "2026-05-05T03:54:01.000Z", + "deletedAt": "" + }, + { + "id": "", + "userId": "round-trip-owner", + "noteEncrypted": "", "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z", "deletedAt": null } ], "MedicationInventoryItem": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "state": "ACTIVE", @@ -1699,18 +2057,18 @@ "unitsTotal": "decimal:30", "unitsRemaining": "decimal:21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", "notes": null, - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "state": "USED_UP", @@ -1725,20 +2083,20 @@ "doseStrength": null, "notes": null, "notesEncrypted": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "MedicationInventoryEvent": [ { - "id": "", + "id": "", "medicationId": "", "delta": -8, "reason": "consumed", "occurredAt": "2026-07-09T07:00:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "delta": 30, "reason": "purchased", @@ -1747,26 +2105,26 @@ ], "MoodTagCategory": [ { - "id": "", + "id": "", "key": "round_trip_own_category", "labelKey": "mood.category.roundTripOwn", "icon": "rt-MoodTagCategory-icon", "sortOrder": 90, "isActive": false, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "MoodTagHidden": [ { "userId": "round-trip-owner", "moodTagId": "mt_grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "ReminderPhaseConfig": [ { - "id": "", + "id": "", "medicationId": "", "greenValue": 45, "greenMode": "PERCENT", @@ -1780,12 +2138,32 @@ ], "MentalHealthAssessment": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "instrument": "GAD7", + "locale": "en", + "version": "standard", + "responsesEncrypted": "", + "totalScore": 4, + "severityBand": "minimal", + "item9Flagged": false, + "crisisShownAt": null, + "takenAt": "2026-06-05T18:00:00.000Z", + "tz": "Europe/Berlin", + "source": "WEB", + "externalId": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-05T13:56:01.000Z", + "updatedAt": "2026-05-05T13:57:01.000Z" + }, + { + "id": "", "userId": "round-trip-owner", "instrument": "PHQ9", "locale": "de", "version": "rt-MentalHealthAssessment-version", - "responsesEncrypted": "", + "responsesEncrypted": "", "totalScore": 14, "severityBand": "moderate", "item9Flagged": true, @@ -1796,59 +2174,59 @@ "externalId": "rt-MentalHealthAssessment-externalId", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T13:56:00.000Z", + "updatedAt": "2026-05-05T13:57:00.000Z" } ], "ConsentReceipt": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "ai-processing", "artefact": "JVBERi0xLjQKJWZpeHR1cmU=", "signedAt": "2026-06-01T09:00:00.000Z", "revokedAt": null, - "createdAt": "" + "createdAt": "2026-05-05T15:26:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "research-sharing", "artefact": "eyJhbGciOiJub25lIn0.e30.", "signedAt": "2026-06-02T09:00:00.000Z", "revokedAt": "2026-07-10T11:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T15:26:01.000Z" } ], "DocumentConditionLink": [ { - "id": "", - "documentId": "", - "episodeId": "", + "id": "", + "documentId": "", + "episodeId": "", "userId": "round-trip-owner", "createdAt": "2026-07-02T09:00:00.000Z" } ], "ExtractedFact": [ { - "id": "", - "documentId": "", + "id": "", + "documentId": "", "userId": "round-trip-owner", "factType": "OBSERVATION", "status": "APPROVED", "confidence": 0.94, "needsReview": false, - "dataEncrypted": "", - "provenanceEncrypted": "", - "committedRecordId": "", + "dataEncrypted": "", + "provenanceEncrypted": "", + "committedRecordId": "", "committedRecordType": "labResult", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T18:51:00.000Z", + "updatedAt": "2026-05-05T18:52:00.000Z" } ], "PersonalRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WALKING_RUNNING_DISTANCE", "metricSlot": "running_10km_time", @@ -1859,10 +2237,10 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WALKING_RUNNING_DISTANCE", "metricSlot": "running_5km_time", @@ -1873,10 +2251,10 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WEIGHT", "metricSlot": null, @@ -1887,31 +2265,31 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "UserAchievement": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" } ], "EnvironmentContext": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-15", - "locationEncrypted": "", + "locationEncrypted": "", "source": "TRAVEL", "tempMin": 19.4, "tempMax": 28.1, @@ -1948,14 +2326,14 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-07-01", - "locationEncrypted": "", + "locationEncrypted": "", "source": "HOME", "tempMin": 13.1, "tempMax": 22.7, @@ -1992,24 +2370,24 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "EnvironmentTravelLocation": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "startDate": "2026-06-10", "endDate": "2026-06-20", - "locationEncrypted": "", - "createdAt": "", - "updatedAt": "" + "locationEncrypted": "", + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "DawarichDay": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-15", "totalDistanceM": 48300, @@ -2017,16 +2395,16 @@ "trainDistanceM": 30500, "placesVisited": 4, "awayFromHomeMinutes": 1440, - "countryCodeEncrypted": "", + "countryCodeEncrypted": "", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "MedicationScheduleRevision": [ { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-03-01T00:00:00.000Z", @@ -2039,10 +2417,10 @@ ], "source": "ARCHIVED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-02-01T00:00:00.000Z", "validUntil": "2026-03-01T00:00:00.000Z", @@ -2054,11 +2432,11 @@ } ], "source": "ARCHIVED", - "supersededByRevisionId": "", - "createdAt": "" + "supersededByRevisionId": "", + "createdAt": "2026-05-06T04:47:02.000Z" }, { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-03-01T00:00:00.000Z", "validUntil": "2026-05-01T00:00:00.000Z", @@ -2071,28 +2449,28 @@ ], "source": "MANUAL", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "MedicationEfficacyTarget": [ { - "id": "", + "id": "", "medicationId": "", "measurementType": "WEIGHT", - "biomarkerId": "", + "biomarkerId": "", "primary": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T06:25:00.000Z", + "updatedAt": "2026-05-06T06:26:00.000Z" } ], "EcgRecording": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "source": "MANUAL", "externalRecordingId": "round-trip-signal-1", "recordedAt": "2026-06-15T14:22:00.000Z", - "waveformEncrypted": "", + "waveformEncrypted": "", "samplingFrequency": 300, "sampleCount": 8, "durationSeconds": 0.02666666666666667, @@ -2100,13 +2478,13 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "OnboardingRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "needsJson": { "areas": [ @@ -2169,80 +2547,80 @@ }, "modulesDerivedAt": "2026-07-01T08:00:00.000Z", "completedAt": "2026-07-01T08:00:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T09:47:00.000Z", + "updatedAt": "2026-05-06T09:48:00.000Z" } ], "BiomarkerAlias": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "biomarkerId": "", + "biomarkerId": "", "name": "Ferr.", "nameFolded": "ferr.", "source": "IMPORT_CHOICE", - "createdAt": "" + "createdAt": "2026-05-06T11:26:00.000Z" } ], "BiomarkerMerge": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "targetBiomarkerId": "", + "targetBiomarkerId": "", "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "LabResultDocumentLink": [ { - "id": "", - "labResultId": "", - "documentId": "", + "id": "", + "labResultId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T14:44:00.000Z" } ], "EncounterMedicationLink": [ { - "id": "", - "encounterId": "", + "id": "", + "encounterId": "", "medicationId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "EncounterVaccinationLink": [ { - "id": "", - "encounterId": "", - "vaccinationId": "", + "id": "", + "encounterId": "", + "vaccinationId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T18:04:00.000Z" } ], "MedicationDocumentLink": [ { - "id": "", + "id": "", "medicationId": "", - "documentId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T19:44:00.000Z" } ], "MedicationConditionLink": [ { - "id": "", + "id": "", "medicationId": "", - "episodeId": "", + "episodeId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T21:24:00.000Z" } ], "AccountGrant": [ { - "id": "", + "id": "", "grantorId": "round-trip-owner", "granteeId": "parity-delegate", "access": "READ", @@ -2273,7 +2651,7 @@ "timezone": "America/Chicago", "homeTimezone": "Asia/Tokyo", "homeSince": "2026-06-30T12:34:56.789Z", - "homeLocationEncrypted": "", + "homeLocationEncrypted": "", "environmentAirQualityEnabled": false, "environmentAqHistoryJson": null, "codexAccessTokenEncrypted": null, @@ -2438,7 +2816,7 @@ "passkeyUpgradeNudgeDismissed": true, "fullName": "rt-User-fullName", "insurerName": "rt-User-insurerName", - "insuranceNumberEncrypted": "", + "insuranceNumberEncrypted": "", "insurerIkNumber": "rt-User-insurerIkNumber" }, "AppSettings": { @@ -2450,7 +2828,7 @@ "ntfyGlobal": false, "webPushGlobal": false, "webPushVapidPublicKey": "rt-AppSettings-webPushVapidPublicKey", - "webPushVapidPrivateKeyEncrypted": "", + "webPushVapidPrivateKeyEncrypted": "", "webPushVapidSubject": "rt-AppSettings-webPushVapidSubject", "apiGlobal": false, "umamiEnabled": true, @@ -2464,12 +2842,12 @@ "glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason", "reminderLateMinutes": 3, "reminderMissedMinutes": 3, - "adminAiKeyEncrypted": "", + "adminAiKeyEncrypted": "", "adminAiModel": "rt-AppSettings-adminAiModel", "adminAiBaseUrl": "rt-AppSettings-adminAiBaseUrl", - "adminCodexAccessTokenEncrypted": "", - "adminCodexRefreshTokenEncrypted": "", - "adminCodexAccountIdEncrypted": "", + "adminCodexAccessTokenEncrypted": "", + "adminCodexRefreshTokenEncrypted": "", + "adminCodexAccountIdEncrypted": "", "adminCodexTokenExpiresAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectedAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectionStatus": "rt-AppSettings-adminCodexConnectionStatus", @@ -2518,7 +2896,7 @@ "ntfyGlobal": false, "webPushGlobal": false, "webPushVapidPublicKey": "rt-AppSettings-webPushVapidPublicKey", - "webPushVapidPrivateKeyEncrypted": "", + "webPushVapidPrivateKeyEncrypted": "", "webPushVapidSubject": "rt-AppSettings-webPushVapidSubject", "apiGlobal": false, "umamiEnabled": true, @@ -2532,12 +2910,12 @@ "glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason", "reminderLateMinutes": 3, "reminderMissedMinutes": 3, - "adminAiKeyEncrypted": "", + "adminAiKeyEncrypted": "", "adminAiModel": "rt-AppSettings-adminAiModel", "adminAiBaseUrl": "rt-AppSettings-adminAiBaseUrl", - "adminCodexAccessTokenEncrypted": "", - "adminCodexRefreshTokenEncrypted": "", - "adminCodexAccountIdEncrypted": "", + "adminCodexAccessTokenEncrypted": "", + "adminCodexRefreshTokenEncrypted": "", + "adminCodexAccountIdEncrypted": "", "adminCodexTokenExpiresAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectedAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectionStatus": "rt-AppSettings-adminCodexConnectionStatus", @@ -2581,7 +2959,7 @@ "fullName": "rt-User-fullName", "insurerName": "rt-User-insurerName", "insuranceNumber": null, - "insuranceNumberEncrypted": "", + "insuranceNumberEncrypted": "", "insurerIkNumber": "rt-User-insurerIkNumber", "lastReportPracticeName": "rt-User-lastReportPracticeName", "avatarBytes": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=", @@ -2589,7 +2967,7 @@ "avatarUpdatedAt": "2026-06-30T12:34:56.789Z", "homeTimezone": "Asia/Tokyo", "homeSince": "2026-06-30T12:34:56.789Z", - "homeLocationEncrypted": "", + "homeLocationEncrypted": "", "environmentAirQualityEnabled": false, "timezone": "America/Chicago", "locale": "fr", @@ -2702,8 +3080,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:03.000Z", + "updatedAt": "2026-05-01T08:21:03.000Z" }, { "id": "", @@ -2725,8 +3103,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:04.000Z", + "updatedAt": "2026-05-01T08:21:04.000Z" }, { "id": "", @@ -2748,8 +3126,8 @@ "deviceType": null, "syncVersion": 4, "deletedAt": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:01.000Z", + "updatedAt": "2026-05-01T08:21:01.000Z" }, { "id": "", @@ -2761,7 +3139,7 @@ "measuredAt": "2026-07-01T07:00:00.000Z", "source": "MANUAL", "notes": null, - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": "rt-Measurement-externalSourceVersion", "aggregationProvenance": "HEALTHKIT_STATISTICS", @@ -2771,8 +3149,8 @@ "deviceType": "rt-Measurement-deviceType", "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:00.000Z", + "updatedAt": "2026-05-01T08:21:00.000Z" }, { "id": "", @@ -2794,8 +3172,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:02.000Z", + "updatedAt": "2026-05-01T08:21:02.000Z" } ], "customMedicationCategories": [ @@ -2804,7 +3182,7 @@ "label": "Heart and circulation", "sortOrder": 2, "isActive": false, - "createdAt": "" + "createdAt": "2026-05-01T23:06:00.000Z" } ], "medications": [ @@ -2842,7 +3220,7 @@ "autoMarkTaken": true, "autoMarkTakenSince": "", "category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "createdAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", "schedules": [ { "id": "", @@ -2887,8 +3265,8 @@ { "id": "", "notes": null, - "notesEncrypted": "", - "createdAt": "", + "notesEncrypted": "", + "createdAt": "2026-05-01T16:29:00.000Z", "occurredAt": "2026-07-01T21:00:00.000Z", "category": "GI", "entry": "NAUSEA", @@ -2900,13 +3278,13 @@ "id": "", "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { "id": "", "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "ingredients": [ @@ -2918,7 +3296,7 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "" + "createdAt": "2026-05-02T02:29:00.000Z" } ], "courses": [ @@ -2926,24 +3304,24 @@ "startsOn": "2026-03-01", "endsOn": "2026-03-07", "note": "the March flu", - "createdAt": "" + "createdAt": "2026-05-02T00:46:00.000Z" }, { "startsOn": "2026-06-10", "endsOn": "2026-06-16", "note": null, - "createdAt": "" + "createdAt": "2026-05-02T00:46:01.000Z" } ], "doseChanges": [ { "id": "", "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "effectiveFrom": "2026-04-01T08:00:00.000Z", "doseValue": 5, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:00.000Z" }, { "id": "", @@ -2952,26 +3330,26 @@ "effectiveFrom": "2026-06-01T08:00:00.000Z", "doseValue": 10, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "inventoryItems": [ { "id": "", "notes": null, - "notesEncrypted": "", + "notesEncrypted": "", "state": "ACTIVE", "containerType": "BLISTER", "unitsTotal": "30", "unitsRemaining": "21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { "id": "", @@ -2987,8 +3365,8 @@ "purchasedAt": null, "manufacturer": null, "doseStrength": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "phaseConfig": { @@ -3030,7 +3408,7 @@ ], "source": "ARCHIVED", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { "id": "", @@ -3045,7 +3423,7 @@ ], "source": "ARCHIVED", "supersededByIndex": 2, - "createdAt": "" + "createdAt": "2026-05-06T04:47:02.000Z" }, { "id": "", @@ -3060,14 +3438,14 @@ ], "source": "MANUAL", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "efficacyTargets": [ { "id": "", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-06T06:25:00.000Z", + "updatedAt": "2026-05-06T06:26:00.000Z", "measurementType": "WEIGHT", "biomarkerName": "Ferritin", "primary": false @@ -3079,17 +3457,38 @@ { "id": "", "medicationId": "", + "autoMissed": false, + "attributionSource": "AUTO", + "idempotencyKey": null, + "createdAt": "2026-05-01T14:51:01.000Z", + "injectionSite": null, + "doseTaken": null, + "inventoryConsumption": null, + "externalId": null, + "updatedAt": "2026-05-01T14:56:01.000Z", + "syncVersion": 0, + "deletedAt": "", + "medication": "Round-trip tablet", + "scheduledFor": "2026-07-02T08:00:00.000Z", + "takenAt": "2026-07-02T08:03:00.000Z", + "skipped": false, + "source": "WEB", + "autoRecorded": false + }, + { + "id": "", + "medicationId": "", "autoMissed": true, "attributionSource": "USER_PIN", "idempotencyKey": "rt-MedicationIntakeEvent-idempotencyKey", - "createdAt": "", + "createdAt": "2026-05-01T14:51:00.000Z", "injectionSite": "ABDOMEN_LEFT", "doseTaken": "rt-MedicationIntakeEvent-doseTaken", "inventoryConsumption": { "roundTrip": "rt-MedicationIntakeEvent-inventoryConsumption" }, "externalId": "rt-MedicationIntakeEvent-externalId", - "updatedAt": "", + "updatedAt": "2026-05-01T14:56:00.000Z", "syncVersion": 3, "deletedAt": null, "medication": "Round-trip tablet", @@ -3103,12 +3502,38 @@ "moodEntries": [ { "note": null, - "noteEncrypted": "", - "syncedAt": "", + "noteEncrypted": null, + "syncedAt": "2026-05-02T04:17:01.000Z", + "syncVersion": 0, + "createdAt": "2026-05-02T04:18:01.000Z", + "updatedAt": "2026-05-02T04:19:01.000Z", + "id": "", + "date": "2026-07-03", + "mood": "SCHLECHT", + "score": 2, + "a1": null, + "a2": null, + "a3": null, + "a4": null, + "a5": null, + "tags": null, + "source": "MOODLOG", + "loggedAt": "2026-07-03T20:00:00.000Z", + "externalId": null, + "tz": null, + "deletedAt": "", + "factors": [], + "structuredTags": [], + "context": null + }, + { + "note": null, + "noteEncrypted": "", + "syncedAt": "2026-05-02T04:17:00.000Z", "syncVersion": 3, - "createdAt": "", - "updatedAt": "", - "id": "", + "createdAt": "2026-05-02T04:18:00.000Z", + "updatedAt": "2026-05-02T04:19:00.000Z", + "id": "", "date": "2026-07-01", "mood": "GUT", "score": 4, @@ -3131,7 +3556,7 @@ ], "structuredTags": [], "context": { - "notesEncrypted": "", + "notesEncrypted": "", "workStatus": "regular", "workMinutes": 3, "overtimeMinutes": 3, @@ -3154,41 +3579,41 @@ ], "customMoodTagCategories": [ { - "id": "", + "id": "", "key": "round_trip_own_category", "labelKey": "mood.category.roundTripOwn", "icon": "rt-MoodTagCategory-icon", "sortOrder": 90, "isActive": false, - "labelEncrypted": "" + "labelEncrypted": "" } ], "hiddenMoodTags": [ { "key": "grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "customMoodTags": [ { - "id": "", + "id": "", "key": "round_trip_factor", "labelKey": "mood.tag.roundTripFactor", - "categoryId": "", + "categoryId": "", "kind": "RATED", "isActive": false, "icon": "rt-MoodTag-icon", "sortOrder": 3, - "labelEncrypted": "", + "labelEncrypted": "", "scaleMin": 3, "scaleMax": 3, "inverse": true } ], "cycleProfile": { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-03T06:52:00.000Z", + "updatedAt": "2026-05-03T06:53:00.000Z", "goal": "AVOID_PREGNANCY", "cycleTrackingEnabled": true, "typicalCycleLength": 3, @@ -3202,13 +3627,29 @@ }, "cycles": [ { - "id": "", + "id": "", + "isPredicted": false, + "syncVersion": 0, + "deletedAt": "", + "absorbedIntoId": null, + "createdAt": "2026-05-03T08:33:02.000Z", + "updatedAt": "2026-05-03T08:34:02.000Z", + "startDate": "2026-05-04", + "endDate": null, + "periodEndDate": null, + "lengthDays": null, + "ovulationDate": null, + "ovulationConfirmed": false, + "tz": null + }, + { + "id": "", "isPredicted": true, "syncVersion": 3, "deletedAt": null, "absorbedIntoId": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T08:33:00.000Z", + "updatedAt": "2026-05-03T08:34:00.000Z", "startDate": "2026-06-01", "endDate": "rt-MenstrualCycle-endDate", "periodEndDate": "rt-MenstrualCycle-periodEndDate", @@ -3218,13 +3659,13 @@ "tz": "rt-MenstrualCycle-tz" }, { - "id": "", + "id": "", "isPredicted": false, "syncVersion": 0, "deletedAt": "2026-06-04T07:00:00.000Z", - "absorbedIntoId": "", - "createdAt": "", - "updatedAt": "", + "absorbedIntoId": "", + "createdAt": "2026-05-03T08:33:01.000Z", + "updatedAt": "2026-05-03T08:34:01.000Z", "startDate": "2026-06-03", "endDate": null, "periodEndDate": null, @@ -3236,12 +3677,12 @@ ], "cycleDayLogs": [ { - "id": "", - "cycleId": "", + "id": "", + "cycleId": "", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T10:25:00.000Z", + "updatedAt": "2026-05-03T10:26:00.000Z", "date": "2026-06-02", "flow": "HEAVY", "intermenstrualBleeding": true, @@ -3257,8 +3698,8 @@ "pregnancyTest": "NEGATIVE", "progesteroneTest": "NEGATIVE", "contraceptive": "NONE", - "sensitiveEncrypted": "", - "notesEncrypted": "", + "sensitiveEncrypted": "", + "notesEncrypted": "", "source": "WITHINGS", "externalId": "rt-CycleDayLog-externalId", "tz": "rt-CycleDayLog-tz", @@ -3271,27 +3712,57 @@ "severity": 3 } ] + }, + { + "id": "", + "cycleId": "", + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-03T10:25:01.000Z", + "updatedAt": "2026-05-03T10:26:01.000Z", + "date": "2026-06-03", + "flow": "LIGHT", + "intermenstrualBleeding": false, + "basalBodyTempC": null, + "temperatureExcluded": false, + "ovulationTest": null, + "cervicalMucus": null, + "cervixPosition": null, + "cervixFirmness": null, + "cervixOpening": null, + "sexualActivity": false, + "protectedSex": null, + "pregnancyTest": null, + "progesteroneTest": null, + "contraceptive": null, + "sensitiveEncrypted": null, + "notesEncrypted": null, + "source": "MANUAL", + "externalId": null, + "tz": null, + "symptomKeys": [], + "symptomSeverities": [] } ], "customSymptoms": [ { - "id": "", + "id": "", "key": "custom:round-trip-cramps", "labelKey": "cycle.symptom.custom", "categoryId": "csc_physical", "icon": "rt-CycleSymptom-icon", "sortOrder": 3, "isActive": false, - "labelEncrypted": "" + "labelEncrypted": "" } ], "labResults": [ { - "id": "", - "biomarkerId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "biomarkerId": "", + "noteEncrypted": "", + "createdAt": "2026-05-02T10:58:00.000Z", + "updatedAt": "2026-05-02T10:59:00.000Z", "deletedAt": null, "note": null, "panel": "rt-LabResult-panel", @@ -3309,13 +3780,37 @@ "takenAt": "2026-06-30T09:00:00.000Z", "source": "rt-LabResult-source", "biomarkerName": "Ferritin" + }, + { + "id": "", + "biomarkerId": null, + "noteEncrypted": null, + "createdAt": "2026-05-02T10:58:01.000Z", + "updatedAt": "2026-05-02T10:59:01.000Z", + "deletedAt": "", + "note": null, + "panel": null, + "analyte": "TSH", + "value": 2.1, + "valueText": null, + "unit": "mU/L", + "referenceLow": null, + "referenceHigh": null, + "sourceReferenceLow": null, + "sourceReferenceHigh": null, + "sourceReferenceText": null, + "sourceValue": null, + "sourceUnit": null, + "takenAt": "2026-05-30T09:00:00.000Z", + "source": "MANUAL", + "biomarkerName": null } ], "biomarkers": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-02T12:30:00.000Z", + "updatedAt": "2026-05-02T12:31:00.000Z", "name": "Ferritin", "unit": "ng/mL", "lowerBound": 2.5, @@ -3328,26 +3823,44 @@ { "name": "Ferr.", "source": "IMPORT_CHOICE", - "id": "", - "createdAt": "" + "id": "", + "createdAt": "2026-05-06T11:26:00.000Z" } ] } ], "biomarkerMerges": [ { - "id": "", - "targetBiomarkerId": "", + "id": "", + "targetBiomarkerId": "", "targetName": "Ferritin", "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "illnessEpisodes": [ { - "id": "", + "id": "", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "note": null, + "noteEncrypted": null, + "bodySite": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "updatedAt": "", + "deletedAt": null, + "dayLogs": [] + }, + { + "id": "", "label": "Cold", "type": "INFECTION", "lifecycle": "CHRONIC_ONGOING", @@ -3355,25 +3868,25 @@ "resolvedAt": "2026-06-30T12:34:56.789Z", "parentConditionId": null, "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "bodySite": null, "bodySiteEncrypted": null, "laterality": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "updatedAt": "2026-05-02T17:32:00.000Z", "deletedAt": null, "dayLogs": [ { - "id": "", - "episodeId": "", + "id": "", + "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "tz": "rt-IllnessDayLog-tz", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T19:08:00.000Z", + "updatedAt": "2026-05-02T19:09:00.000Z", "deletedAt": null, "symptoms": [ { @@ -3381,11 +3894,43 @@ "severity": 2 } ] + }, + { + "id": "", + "episodeId": "", + "date": "2026-06-22", + "functionalImpact": null, + "feverC": null, + "note": null, + "noteEncrypted": null, + "tz": null, + "createdAt": "2026-05-02T19:08:01.000Z", + "updatedAt": "2026-05-02T19:09:01.000Z", + "deletedAt": "", + "symptoms": [] } ] }, { - "id": "", + "id": "", + "label": "Sprained ankle (deleted)", + "type": "INJURY", + "lifecycle": "ACUTE", + "onsetAt": "2026-04-10T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": null, + "note": null, + "noteEncrypted": null, + "bodySite": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:02.000Z", + "updatedAt": "2026-05-02T17:32:02.000Z", + "deletedAt": "", + "dayLogs": [] + }, + { + "id": "", "label": "Iron deficiency", "type": "CHRONIC", "lifecycle": "ACUTE", @@ -3395,17 +3940,33 @@ "note": null, "noteEncrypted": null, "bodySite": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": "BOTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", + "updatedAt": "2026-05-02T17:32:01.000Z", "deletedAt": null, "dayLogs": [] } ], "allergies": [ { - "id": "", + "id": "", + "substance": "Latex (deleted)", + "category": "OTHER", + "type": "ALLERGY", + "severity": null, + "status": "ACTIVE", + "onsetAt": null, + "reaction": null, + "note": null, + "reactionEncrypted": null, + "notesEncrypted": null, + "createdAt": "2026-05-02T14:10:01.000Z", + "updatedAt": "2026-05-02T14:11:01.000Z", + "deletedAt": "" + }, + { + "id": "", "substance": "Penicillin", "category": "FOOD", "type": "INTOLERANCE", @@ -3414,29 +3975,29 @@ "onsetAt": "2026-06-30T12:34:56.789Z", "reaction": null, "note": null, - "reactionEncrypted": "", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "reactionEncrypted": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z", "deletedAt": null } ], "familyHistory": [ { - "id": "", + "id": "", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, "note": "rt-FamilyHistoryEntry-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z" } ], "workouts": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-03T21:58:00.000Z", + "updatedAt": "2026-05-03T21:59:00.000Z", "metadata": { "roundTrip": "rt-Workout-metadata" }, @@ -3459,7 +4020,7 @@ ], "documents": [ { - "id": "", + "id": "", "kind": "LAB_RESULT", "title": "June labs", "filename": "june-labs.pdf", @@ -3471,14 +4032,14 @@ "sourceSystem": "PAPERLESS", "sourceId": "4711", "sourceInstance": "https://paperless.example.test", - "createdAt": "", - "updatedAt": "", - "contentEncrypted": "", + "createdAt": "2026-05-04T01:24:00.000Z", + "updatedAt": "2026-05-04T01:25:00.000Z", + "contentEncrypted": "", "contentSha256": "0a738470f0945033965858e9895ee721ce981a25f013514d587d0a7a1946be7a", "contentCodec": "binary2", "providerType": "rt-InboundDocument-providerType", "errorReason": "rt-InboundDocument-errorReason", - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryGeneratedAt": "2026-06-30T12:34:56.789Z", "summaryState": "PENDING", "lastIndexAttemptAt": "2026-06-30T12:34:56.789Z", @@ -3505,7 +4066,7 @@ } }, "healthProfile": { - "id": "", + "id": "", "aboutMe": null, "conditions": null, "allergies": null, @@ -3522,35 +4083,46 @@ "emergencyContacts": null, "emergencyImplants": null, "emergencyNote": null, - "emergencyContactsEncrypted": "", - "emergencyImplantsEncrypted": "", - "emergencyNoteEncrypted": "", - "aboutMeEncrypted": "", - "conditionsEncrypted": "", - "allergiesEncrypted": "", - "coachFocusEncrypted": "", - "pendingQuestionsEncrypted": "", - "createdAt": "", - "updatedAt": "" + "emergencyContactsEncrypted": "", + "emergencyImplantsEncrypted": "", + "emergencyNoteEncrypted": "", + "aboutMeEncrypted": "", + "conditionsEncrypted": "", + "allergiesEncrypted": "", + "coachFocusEncrypted": "", + "pendingQuestionsEncrypted": "", + "createdAt": "2026-05-03T03:35:00.000Z", + "updatedAt": "2026-05-03T03:36:00.000Z" }, "healthProfileFacts": [ { - "id": "", + "id": "", "kind": "SMOKING_STATUS", "value": null, - "valueEncrypted": "", + "valueEncrypted": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-06-30T12:34:56.789Z", "provenance": "USER_CORRECTION", + "supersededByRevisionId": "", + "createdAt": "2026-05-03T05:08:00.000Z" + }, + { + "id": "", + "kind": "SMOKING_STATUS", + "value": null, + "valueEncrypted": "", + "validFrom": "2026-02-01T00:00:00.000Z", + "validUntil": null, + "provenance": "USER_REPORTED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-03T05:08:01.000Z" } ], "customMetrics": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-03T15:09:00.000Z", + "updatedAt": "2026-05-03T15:10:00.000Z", "deletedAt": null, "name": "Grip strength", "unit": "kg", @@ -3561,33 +4133,57 @@ "correlationEnabled": true, "entries": [ { - "id": "", - "createdAt": "", + "id": "", + "createdAt": "2026-05-03T16:48:02.000Z", + "deletedAt": "", + "noteEncrypted": null, + "value": 40, + "unit": "kg", + "measuredAt": "2026-06-28T18:00:00.000Z", + "note": null + }, + { + "id": "", + "createdAt": "2026-05-03T16:48:00.000Z", "deletedAt": null, - "noteEncrypted": "", + "noteEncrypted": "", "value": 44, "unit": "kg", "measuredAt": "2026-07-01T18:00:00.000Z", "note": null }, { - "id": "", - "createdAt": "", + "id": "", + "createdAt": "2026-05-03T16:48:01.000Z", "deletedAt": null, - "noteEncrypted": "", + "noteEncrypted": "", "value": 45, "unit": "kg", "measuredAt": "2026-07-02T18:00:00.000Z", "note": null } ] + }, + { + "id": "", + "createdAt": "2026-05-03T15:09:01.000Z", + "updatedAt": "2026-05-03T15:10:01.000Z", + "deletedAt": "", + "name": "Plank (deleted)", + "unit": "s", + "targetLow": null, + "targetHigh": null, + "decimals": null, + "description": null, + "correlationEnabled": false, + "entries": [] } ], "correlationPatterns": [ { - "id": "", - "updatedAt": "", - "createdAt": "", + "id": "", + "updatedAt": "2026-05-03T18:39:00.000Z", + "createdAt": "2026-05-03T18:38:00.000Z", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", "factorKey": "sleep_duration", @@ -3609,9 +4205,9 @@ "decryptFailures": [], "intradayProfiles": [ { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-01T09:51:00.000Z", + "updatedAt": "2026-05-01T09:52:00.000Z", "type": "ACTIVITY_STEPS", "dateKey": "2026-07-01", "hourlyCumulative": [ @@ -3675,8 +4271,8 @@ ], "healthScoreRecords": [ { - "id": "", - "createdAt": "", + "id": "", + "createdAt": "2026-05-03T20:13:00.000Z", "dayKey": "2026-07-01", "timezone": "Europe/Berlin", "composite": 71, @@ -3693,13 +4289,13 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "" + "computedAt": "2026-05-03T20:12:00.000Z" } ], "onboardingRecord": { - "id": "", - "createdAt": "", - "updatedAt": "", + "id": "", + "createdAt": "2026-05-06T09:47:00.000Z", + "updatedAt": "2026-05-06T09:48:00.000Z", "needs": { "recordTarget": "me", "areas": [ @@ -3764,61 +4360,102 @@ }, "practitioners": [ { - "id": "", + "id": "", + "name": "Closed practice (deleted)", + "specialty": null, + "practice": null, + "location": null, + "phone": null, + "locationEncrypted": null, + "phoneEncrypted": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T02:50:01.000Z", + "updatedAt": "2026-05-04T02:51:01.000Z", + "deletedAt": "" + }, + { + "id": "", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": null, "phone": null, - "locationEncrypted": "", - "phoneEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "locationEncrypted": "", + "phoneEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z", "deletedAt": null } ], "encounters": [ { - "id": "", + "id": "", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", - "reasonEncrypted": "", - "outcomeEncrypted": "", - "bodySiteEncrypted": "", + "practitionerId": "", + "reasonEncrypted": "", + "outcomeEncrypted": "", + "bodySiteEncrypted": "", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "", + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z", "deletedAt": null + }, + { + "id": "", + "occurredAt": "2026-04-02T08:00:00.000Z", + "status": "DONE", + "kind": "ROUTINE", + "practitionerId": "", + "reasonEncrypted": null, + "outcomeEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "reminderId": null, + "createdAt": "2026-05-04T04:31:01.000Z", + "updatedAt": "2026-05-04T04:32:01.000Z", + "deletedAt": "" } ], "encounterDocumentLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T06:04:00.000Z" } ], "encounterLabLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T07:44:00.000Z" } ], "encounterConditionLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T09:24:00.000Z" } ], "customVaccines": [ { - "id": "", + "id": "", + "name": "Deleted combo", + "components": [ + "rabies" + ], + "typicalSeriesDoses": null, + "boosterIntervalMonths": null, + "createdAt": "2026-05-04T14:27:01.000Z", + "updatedAt": "2026-05-04T14:28:01.000Z", + "deletedAt": "" + }, + { + "id": "", "name": "Round-trip travel combo", "components": [ "typhoid", @@ -3826,14 +4463,14 @@ ], "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z", "deletedAt": null } ], "vaccinations": [ { - "id": "", + "id": "", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", "vaccineName": "Tetanus, diphtheria and pertussis", @@ -3841,26 +4478,44 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z", "deletedAt": null + }, + { + "id": "", + "occurredAt": "2026-04-14T00:00:00.000Z", + "antigenSlug": "influenza", + "vaccineName": "Influenza (deleted)", + "doseNumber": null, + "seriesDoses": null, + "lotNumber": null, + "site": null, + "practitionerId": null, + "encounterId": null, + "reminderId": null, + "customVaccineId": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T11:14:01.000Z", + "updatedAt": "2026-05-04T11:15:01.000Z", + "deletedAt": "" } ], "vaccinationDocumentLinks": [ { - "vaccinationId": "", - "targetId": "", - "createdAt": "" + "vaccinationId": "", + "targetId": "", + "createdAt": "2026-05-04T12:44:00.000Z" } ], "measurementReminders": [ { - "id": "", + "id": "", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", "intervalDays": 7, @@ -3877,46 +4532,68 @@ "snoozedUntil": "2026-07-08T06:00:00.000Z", "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z", "deletedAt": null + }, + { + "id": "", + "label": "Gewicht (deleted)", + "measurementType": "WEIGHT", + "intervalDays": 14, + "rrule": null, + "anchorDate": null, + "endsOn": null, + "origin": "VORSORGE", + "notifyHour": 9, + "location": null, + "nextDueAt": null, + "lastSatisfiedAt": null, + "enabled": true, + "vaccinationAntigen": null, + "snoozedUntil": null, + "lastSkippedAt": null, + "skipCount": 0, + "createdAt": "2026-05-04T16:19:01.000Z", + "updatedAt": "2026-05-04T16:20:01.000Z", + "deletedAt": "" } ], "measurementReminderEvents": [ { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" }, { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" } ], "coachConversations": [ { - "id": "", - "titleEncrypted": "", + "id": "", + "titleEncrypted": "", "documentScoped": false, - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": "rt-CoachMessage-metricSourceJson", "providerType": null, "promptVersion": "rt-CoachMessage-promptVersion", @@ -3927,35 +4604,35 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", + "id": "", "role": "assistant", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": null, "providerType": "anthropic", "promptVersion": null, "tokensUsed": 812, "model": "claude-opus-5", - "resultsEncrypted": "", - "trailEncrypted": "", + "resultsEncrypted": "", + "trailEncrypted": "", "createdAt": "2026-07-20T09:59:00.000Z" } ], "attachments": [] }, { - "id": "", - "titleEncrypted": "", + "id": "", + "titleEncrypted": "", "documentScoped": true, "summaryEncrypted": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", - "contentEncrypted": "", + "contentEncrypted": "", "metricSourceJson": null, "providerType": null, "promptVersion": null, @@ -3968,7 +4645,7 @@ ], "attachments": [ { - "documentId": "", + "documentId": "", "addedAt": "2026-07-21T07:59:00.000Z" } ] @@ -3976,61 +4653,124 @@ ], "coachFacts": [ { - "id": "", - "factEncrypted": "", + "id": "", + "factEncrypted": "", "deletedAt": null, "category": "constraint", "confidence": 80, - "sourceConversationId": "", + "sourceConversationId": "", "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "", - "createdAt": "", - "updatedAt": "" + "sourceMessageId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z" + }, + { + "id": "", + "factEncrypted": "", + "deletedAt": "", + "category": "preference", + "confidence": 50, + "sourceConversationId": "", + "source": "user", + "lastUsedAt": null, + "sourceMessageId": null, + "createdAt": "2026-05-05T00:26:01.000Z", + "updatedAt": "2026-05-05T00:27:01.000Z" } ], "coachPlans": [ { - "id": "", + "id": "", "metric": "BLOOD_PRESSURE", - "ifCueEncrypted": "", - "thenActionEncrypted": "", - "targetEncrypted": "", - "outcomeEncrypted": "", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": "", + "outcomeEncrypted": "", "deletedAt": null, "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "" + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z" + }, + { + "id": "", + "metric": "WEIGHT", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": null, + "outcomeEncrypted": null, + "deletedAt": "", + "status": "active", + "reviewDate": null, + "sourceConversationId": null, + "createdAt": "2026-05-05T02:10:01.000Z", + "updatedAt": "2026-05-05T02:11:01.000Z" } ], "coachReminders": [ { - "id": "", - "noteEncrypted": "", + "id": "", + "noteEncrypted": "", "deletedAt": null, "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z" + }, + { + "id": "", + "noteEncrypted": "", + "deletedAt": "", + "metric": null, + "relatedPlanId": "", + "triggerKind": "date", + "dueAt": "2026-09-15T07:00:00.000Z", + "contextCue": null, + "status": "active", + "source": "extractor", + "sourceConversationId": null, + "lastSurfacedAt": null, + "surfaceCount": 0, + "createdAt": "2026-05-05T03:53:01.000Z", + "updatedAt": "2026-05-05T03:54:01.000Z" } ], "mentalHealthAssessments": [ { - "id": "", + "id": "", + "instrument": "GAD7", + "locale": "en", + "version": "standard", + "responsesEncrypted": "", + "totalScore": 4, + "severityBand": "minimal", + "item9Flagged": false, + "crisisShownAt": null, + "takenAt": "2026-06-05T18:00:00.000Z", + "tz": "Europe/Berlin", + "source": "WEB", + "externalId": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-05T13:56:01.000Z", + "updatedAt": "2026-05-05T13:57:01.000Z" + }, + { + "id": "", "instrument": "PHQ9", "locale": "de", "version": "rt-MentalHealthAssessment-version", - "responsesEncrypted": "", + "responsesEncrypted": "", "totalScore": 14, "severityBand": "moderate", "item9Flagged": true, @@ -4041,49 +4781,49 @@ "externalId": "rt-MentalHealthAssessment-externalId", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T13:56:00.000Z", + "updatedAt": "2026-05-05T13:57:00.000Z" } ], "consentReceipts": [ { - "id": "", + "id": "", "kind": "ai-processing", "artefact": "JVBERi0xLjQKJWZpeHR1cmU=", "signedAt": "2026-06-01T09:00:00.000Z", "revokedAt": null, - "createdAt": "" + "createdAt": "2026-05-05T15:26:00.000Z" }, { - "id": "", + "id": "", "kind": "research-sharing", "artefact": "eyJhbGciOiJub25lIn0.e30.", "signedAt": "2026-06-02T09:00:00.000Z", "revokedAt": "2026-07-10T11:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T15:26:01.000Z" } ], "documentConditionLinks": [ { - "documentId": "", - "episodeId": "", + "documentId": "", + "episodeId": "", "createdAt": "2026-07-02T09:00:00.000Z" } ], "extractedFacts": [ { - "id": "", - "documentId": "", + "id": "", + "documentId": "", "factType": "OBSERVATION", "status": "APPROVED", "confidence": 0.94, "needsReview": false, - "committedRecordId": "", + "committedRecordId": "", "committedRecordType": "labResult", - "dataEncrypted": "", - "provenanceEncrypted": "", - "createdAt": "", - "updatedAt": "" + "dataEncrypted": "", + "provenanceEncrypted": "", + "createdAt": "2026-05-05T18:51:00.000Z", + "updatedAt": "2026-05-05T18:52:00.000Z" } ], "personalRecords": [ @@ -4097,7 +4837,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { "metricType": "WALKING_RUNNING_DISTANCE", @@ -4109,7 +4849,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { "metricType": "WEIGHT", @@ -4121,19 +4861,19 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "userAchievements": [ { "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" }, { "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" } ], "environmentContexts": [ @@ -4141,7 +4881,7 @@ "date": "2026-06-15", "lat": null, "lon": null, - "locationEncrypted": "", + "locationEncrypted": "", "locationLabel": null, "source": "TRAVEL", "tempMin": 19.4, @@ -4179,14 +4919,14 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { "date": "2026-07-01", "lat": null, "lon": null, - "locationEncrypted": "", + "locationEncrypted": "", "locationLabel": null, "source": "HOME", "tempMin": 13.1, @@ -4224,8 +4964,8 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "environmentTravelLocations": [ @@ -4235,9 +4975,9 @@ "lat": null, "lon": null, "label": null, - "locationEncrypted": "", - "createdAt": "", - "updatedAt": "" + "locationEncrypted": "", + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "dawarichDays": [ @@ -4249,17 +4989,17 @@ "placesVisited": 4, "awayFromHomeMinutes": 1440, "countryCode": null, - "countryCodeEncrypted": "", + "countryCodeEncrypted": "", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "ecgRecordings": [ { - "id": "", - "waveformEncrypted": "", + "id": "", + "waveformEncrypted": "", "source": "MANUAL", "externalRecordingId": "round-trip-signal-1", "recordedAt": "2026-06-15T14:22:00.000Z", @@ -4270,120 +5010,132 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "symptomDefinitions": [ { - "id": "", - "labelEncrypted": "", + "id": "", + "labelEncrypted": "", "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z", "events": [ { - "id": "", + "id": "", "noteEncrypted": null, "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, - "episodeId": "", - "createdAt": "", - "updatedAt": "" + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { - "id": "", + "id": "", "noteEncrypted": null, "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ] }, { - "id": "", - "labelEncrypted": "", + "id": "", + "labelEncrypted": "", "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z", "events": [ { - "id": "", - "noteEncrypted": "", + "id": "", + "noteEncrypted": "", "occurredAt": "2026-06-21T11:00:00.000Z", "intensity": 8, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" } ] } ], "lifeEvents": [ { - "id": "", - "titleEncrypted": "", - "noteEncrypted": "", + "id": "", + "titleEncrypted": "", + "noteEncrypted": "", "category": "HOME", "startDate": "2023-09-01", "endDate": null, "precision": "MONTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z", "deletedAt": null }, { - "id": "", - "titleEncrypted": "", + "id": "", + "titleEncrypted": "", + "noteEncrypted": null, + "category": "OTHER", + "startDate": "2025-12-01", + "endDate": null, + "precision": "DAY", + "createdAt": "2026-05-03T01:48:02.000Z", + "updatedAt": "2026-05-03T01:49:02.000Z", + "deletedAt": "" + }, + { + "id": "", + "titleEncrypted": "", "noteEncrypted": null, "category": "WORK", "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z", "deletedAt": null } ], "labResultDocumentLinks": [ { - "labResultId": "", - "documentId": "", - "createdAt": "" + "labResultId": "", + "documentId": "", + "createdAt": "2026-05-06T14:44:00.000Z" } ], "encounterMedicationLinks": [ { - "encounterId": "", + "encounterId": "", "medicationId": "", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "encounterVaccinationLinks": [ { - "encounterId": "", - "vaccinationId": "", - "createdAt": "" + "encounterId": "", + "vaccinationId": "", + "createdAt": "2026-05-06T18:04:00.000Z" } ], "medicationDocumentLinks": [ { "medicationId": "", - "documentId": "", - "createdAt": "" + "documentId": "", + "createdAt": "2026-05-06T19:44:00.000Z" } ], "medicationConditionLinks": [ { "medicationId": "", - "episodeId": "", - "createdAt": "" + "episodeId": "", + "createdAt": "2026-05-06T21:24:00.000Z" } ], "nutrientDays": [ @@ -4394,7 +5146,7 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "" + "createdAt": "2026-05-03T23:27:00.000Z" } ] } diff --git a/tests/integration/__golden__/backup-parity/restore-portable.json b/tests/integration/__golden__/backup-parity/restore-portable.json index f3554e295..479f19de8 100644 --- a/tests/integration/__golden__/backup-parity/restore-portable.json +++ b/tests/integration/__golden__/backup-parity/restore-portable.json @@ -19,7 +19,7 @@ "nutrientDays": 1, "labResults": 1, "biomarkers": 1, - "illnessEpisodes": 2, + "illnessEpisodes": 3, "illnessDayLogs": 1, "allergies": 1, "familyHistory": 1, @@ -439,7 +439,7 @@ "labResults": 1, "biomarkers": 1, "nutrientDays": 1, - "illnessEpisodes": 2, + "illnessEpisodes": 3, "illnessDayLogs": 1, "allergies": 1, "familyHistory": 1, @@ -581,7 +581,7 @@ "source": "MANUAL", "measuredAt": "2026-07-01T07:00:00.000Z", "notes": null, - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": null, "aggregationProvenance": null, @@ -694,7 +694,7 @@ "reorderLeadDays": null, "externalSource": null, "externalId": null, - "createdAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", "updatedAt": "" } ], @@ -769,7 +769,7 @@ "entry": "NAUSEA", "severity": 3, "notes": null, - "notesEncrypted": "", + "notesEncrypted": "", "createdAt": "" } ], @@ -780,7 +780,7 @@ "userId": "round-trip-owner", "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { "id": "", @@ -788,7 +788,7 @@ "userId": "round-trip-owner", "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "MedicationDoseChange": [ @@ -799,8 +799,8 @@ "doseValue": 5, "doseUnit": "mg", "note": null, - "noteEncrypted": "", - "createdAt": "" + "noteEncrypted": "", + "createdAt": "2026-05-01T19:47:00.000Z" }, { "id": "", @@ -810,7 +810,7 @@ "doseUnit": "mg", "note": null, "noteEncrypted": null, - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "MedicationCategoryAssignment": [ @@ -825,10 +825,10 @@ "id": "", "userId": "round-trip-owner", "key": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "labelEncrypted": "", + "labelEncrypted": "", "sortOrder": 2, "isActive": false, - "createdAt": "", + "createdAt": "2026-05-01T23:06:00.000Z", "updatedAt": "" } ], @@ -839,8 +839,8 @@ "userId": "round-trip-owner", "startsOn": "2026-03-01T00:00:00.000Z", "endsOn": "2026-03-07T00:00:00.000Z", - "noteEncrypted": "", - "createdAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-02T00:46:00.000Z", "updatedAt": "" }, { @@ -850,7 +850,7 @@ "startsOn": "2026-06-10T00:00:00.000Z", "endsOn": "2026-06-16T00:00:00.000Z", "noteEncrypted": null, - "createdAt": "", + "createdAt": "2026-05-02T00:46:01.000Z", "updatedAt": "" } ], @@ -865,7 +865,7 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "", + "createdAt": "2026-05-02T02:29:00.000Z", "updatedAt": "" } ], @@ -883,7 +883,7 @@ "stabilityA5": 3, "tags": "[\"round-trip-tag\"]", "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "source": "rt-MoodEntry-source", "externalId": "rt-MoodEntry-externalId", "moodLoggedAt": "2026-07-01T20:00:00.000Z", @@ -916,7 +916,7 @@ "eventType": "rt-MoodContext-eventType", "eventValence": 3, "eventAt": "2026-06-30T12:34:56.789Z", - "notesEncrypted": "", + "notesEncrypted": "", "createdAt": "", "updatedAt": "" } @@ -943,7 +943,7 @@ "scaleMax": 3, "inverse": true, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "LabResult": [ @@ -965,7 +965,7 @@ "takenAt": "2026-06-30T09:00:00.000Z", "biomarkerId": "", "source": "rt-LabResult-source", - "noteEncrypted": "", + "noteEncrypted": "", "createdAt": "", "updatedAt": "", "deletedAt": null @@ -979,7 +979,7 @@ "unit": "ng/mL", "lowerBound": 2.5, "upperBound": 2.5, - "contextEncrypted": "", + "contextEncrypted": "", "panel": "rt-Biomarker-panel", "hidden": true, "analyteKey": "rt-Biomarker-analyteKey", @@ -997,10 +997,10 @@ "severity": "MILD", "status": "INACTIVE", "onsetAt": "2026-06-30T12:34:56.789Z", - "reactionEncrypted": "", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "reactionEncrypted": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z", "deletedAt": null } ], @@ -1011,9 +1011,9 @@ "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z", "deletedAt": null } ], @@ -1027,16 +1027,32 @@ "onsetAt": "2026-06-20T00:00:00.000Z", "resolvedAt": "2026-06-30T12:34:56.789Z", "parentConditionId": null, - "noteEncrypted": "", + "noteEncrypted": "", "bodySiteEncrypted": null, "laterality": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "updatedAt": "2026-05-02T17:32:00.000Z", "deletedAt": null }, { "id": "", "userId": "round-trip-owner", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "noteEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "updatedAt": "", + "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", "label": "Iron deficiency", "type": "CHRONIC", "lifecycle": "ACUTE", @@ -1044,129 +1060,129 @@ "resolvedAt": null, "parentConditionId": null, "noteEncrypted": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": "BOTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", + "updatedAt": "2026-05-02T17:32:01.000Z", "deletedAt": null } ], "IllnessDayLog": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, - "noteEncrypted": "", + "noteEncrypted": "", "tz": null, "createdAt": "", - "updatedAt": "", + "updatedAt": "2026-05-02T19:09:00.000Z", "deletedAt": null } ], "IllnessSymptomLink": [ { - "dayLogId": "", - "symptomId": "", + "dayLogId": "", + "symptomId": "", "severity": 2, "createdAt": "" } ], "SymptomDefinition": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "labelEncrypted": "", + "labelEncrypted": "", "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "labelEncrypted": "", + "labelEncrypted": "", "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z" } ], "SymptomEvent": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "definitionId": "", + "definitionId": "", "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, "noteEncrypted": null, "episodeId": "", - "createdAt": "", - "updatedAt": "" - }, - { - "id": "", - "userId": "round-trip-owner", - "definitionId": "", - "occurredAt": "2026-06-21T11:00:00.000Z", - "intensity": 8, - "noteEncrypted": "", - "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { "id": "", "userId": "round-trip-owner", - "definitionId": "", + "definitionId": "", + "occurredAt": "2026-06-21T11:00:00.000Z", + "intensity": 8, + "noteEncrypted": "", + "episodeId": null, + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "definitionId": "", "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "noteEncrypted": null, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ], "LifeEvent": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "category": "HOME", "startDate": "2023-09-01", "endDate": null, "precision": "MONTH", - "titleEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "titleEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z", "deletedAt": null }, { - "id": "", + "id": "", "userId": "round-trip-owner", "category": "WORK", "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "titleEncrypted": "", + "titleEncrypted": "", "noteEncrypted": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z", "deletedAt": null } ], "UserHealthProfile": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "aboutMeEncrypted": "", - "conditionsEncrypted": "", - "allergiesEncrypted": "", - "coachFocusEncrypted": "", + "aboutMeEncrypted": "", + "conditionsEncrypted": "", + "allergiesEncrypted": "", + "coachFocusEncrypted": "", "pendingQuestionsEncrypted": null, "aiIncludedSections": [ "ABOUT_ME" @@ -1174,9 +1190,9 @@ "emergencyBloodType": "A_POS", "organDonorStatus": "YES", "advanceDirectiveStatus": "EXISTS", - "emergencyContactsEncrypted": "", - "emergencyImplantsEncrypted": "", - "emergencyNoteEncrypted": "", + "emergencyContactsEncrypted": "", + "emergencyImplantsEncrypted": "", + "emergencyNoteEncrypted": "", "lifeConfirmedJson": { "roundTrip": "rt-UserHealthProfile-lifeConfirmedJson" }, @@ -1187,7 +1203,7 @@ "HealthProfileFactRevision": [], "CycleProfile": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "goal": "AVOID_PREGNANCY", "cycleTrackingEnabled": true, @@ -1206,7 +1222,7 @@ "MenstrualCycle": [], "CycleDayLog": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-02", "cycleId": null, @@ -1225,7 +1241,7 @@ "progesteroneTest": "NEGATIVE", "contraceptive": "NONE", "sensitiveEncrypted": null, - "notesEncrypted": "", + "notesEncrypted": "", "source": "WITHINGS", "externalId": "rt-CycleDayLog-externalId", "tz": "rt-CycleDayLog-tz", @@ -1237,7 +1253,7 @@ ], "CycleSymptom": [ { - "id": "", + "id": "", "categoryId": "csc_physical", "key": "custom:round-trip-cramps", "labelKey": "cycle.symptom.custom", @@ -1245,20 +1261,20 @@ "sortOrder": 3, "isActive": false, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "CycleSymptomLink": [ { - "dayLogId": "", - "symptomId": "", + "dayLogId": "", + "symptomId": "", "severity": 3, "createdAt": "" } ], "CustomMetric": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "name": "Grip strength", "unit": "kg", @@ -1274,33 +1290,33 @@ ], "CustomMetricEntry": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "customMetricId": "", + "customMetricId": "", "value": 44, "unit": "kg", "measuredAt": "2026-07-01T18:00:00.000Z", "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "createdAt": "", "deletedAt": null }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "customMetricId": "", + "customMetricId": "", "value": 45, "unit": "kg", "measuredAt": "2026-07-02T18:00:00.000Z", "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "createdAt": "", "deletedAt": null } ], "CorrelationPattern": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", @@ -1318,13 +1334,13 @@ "dismissedEvidenceHash": "abababababababababababababababababababababababababababababababab", "dismissedEffectSize": 2.5, "dismissedSampleSize": 3, - "createdAt": "", + "createdAt": "2026-05-03T18:38:00.000Z", "updatedAt": "" } ], "HealthScoreRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "dayKey": "2026-07-01", "timezone": "Europe/Berlin", @@ -1342,13 +1358,13 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "", + "computedAt": "2026-05-03T20:12:00.000Z", "createdAt": "" } ], "Workout": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "sportType": "RUNNING", "startedAt": "2026-06-29T06:00:00.000Z", @@ -1379,43 +1395,43 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "", + "createdAt": "2026-05-03T23:27:00.000Z", "updatedAt": "" } ], "InboundDocument": [], "Practitioner": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": null, "phone": null, - "locationEncrypted": "", - "phoneEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "locationEncrypted": "", + "phoneEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z", "deletedAt": null } ], "Encounter": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", - "reasonEncrypted": "", - "outcomeEncrypted": "", - "bodySiteEncrypted": "", + "practitionerId": "", + "reasonEncrypted": "", + "outcomeEncrypted": "", + "bodySiteEncrypted": "", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "", + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z", "deletedAt": null } ], @@ -1423,16 +1439,16 @@ "EncounterLabLink": [], "EncounterConditionLink": [ { - "id": "", - "encounterId": "", + "id": "", + "encounterId": "", "episodeId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T09:24:00.000Z" } ], "VaccinationRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", @@ -1441,20 +1457,20 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z", "deletedAt": null } ], "VaccinationDocumentLink": [], "CustomVaccine": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "name": "Round-trip travel combo", "components": [ @@ -1464,13 +1480,13 @@ "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z" } ], "MeasurementReminder": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", @@ -1489,54 +1505,54 @@ "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, "lastNotifiedAt": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z", "deletedAt": null } ], "MeasurementReminderEvent": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "reminderId": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "reminderId": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" } ], "CoachConversation": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "title": null, - "titleEncrypted": "", - "createdAt": "", - "updatedAt": "", + "titleEncrypted": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "summaryEncrypted": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, "documentScoped": true }, { - "id": "", + "id": "", "userId": "round-trip-owner", "title": null, - "titleEncrypted": "", - "createdAt": "", - "updatedAt": "", - "summaryEncrypted": "", + "titleEncrypted": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", + "summaryEncrypted": "", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, "documentScoped": false @@ -1544,24 +1560,24 @@ ], "CoachMessage": [ { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "assistant", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": null, "providerType": "anthropic", "promptVersion": null, "tokensUsed": 812, "model": "claude-opus-5", - "resultsEncrypted": "", - "trailEncrypted": "", + "resultsEncrypted": "", + "trailEncrypted": "", "createdAt": "2026-07-20T09:59:00.000Z" }, { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "user", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": "rt-CoachMessage-metricSourceJson", "providerType": null, "promptVersion": "rt-CoachMessage-promptVersion", @@ -1572,10 +1588,10 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "user", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": null, "providerType": null, "promptVersion": null, @@ -1589,60 +1605,60 @@ "CoachConversationDocument": [], "CoachFact": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "factEncrypted": "", + "factEncrypted": "", "category": "constraint", "confidence": 80, - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "", + "sourceConversationId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z", "deletedAt": null, "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "" + "sourceMessageId": "" } ], "CoachPlan": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "metric": "BLOOD_PRESSURE", - "ifCueEncrypted": "", - "thenActionEncrypted": "", - "targetEncrypted": "", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": "", "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "outcomeEncrypted": "", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "", + "outcomeEncrypted": "", + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z", "deletedAt": null } ], "CoachReminder": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "noteEncrypted": "", + "noteEncrypted": "", "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z", "deletedAt": null } ], "MedicationInventoryItem": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "state": "ACTIVE", @@ -1650,18 +1666,18 @@ "unitsTotal": "decimal:30", "unitsRemaining": "decimal:21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", "notes": null, - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "state": "USED_UP", @@ -1676,20 +1692,20 @@ "doseStrength": null, "notes": null, "notesEncrypted": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "MedicationInventoryEvent": [ { - "id": "", + "id": "", "medicationId": "", "delta": -8, "reason": "consumed", "occurredAt": "2026-07-09T07:00:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "delta": 30, "reason": "purchased", @@ -1705,19 +1721,19 @@ "sortOrder": 90, "isActive": false, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "MoodTagHidden": [ { "userId": "round-trip-owner", "moodTagId": "mt_grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "ReminderPhaseConfig": [ { - "id": "", + "id": "", "medicationId": "", "greenValue": 45, "greenMode": "PERCENT", @@ -1735,7 +1751,7 @@ "ExtractedFact": [], "PersonalRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WALKING_RUNNING_DISTANCE", "metricSlot": "running_10km_time", @@ -1746,10 +1762,10 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WALKING_RUNNING_DISTANCE", "metricSlot": "running_5km_time", @@ -1760,10 +1776,10 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WEIGHT", "metricSlot": null, @@ -1774,31 +1790,31 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "UserAchievement": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" } ], "EnvironmentContext": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-15", - "locationEncrypted": "", + "locationEncrypted": "", "source": "TRAVEL", "tempMin": 19.4, "tempMax": 28.1, @@ -1835,14 +1851,14 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-07-01", - "locationEncrypted": "", + "locationEncrypted": "", "source": "HOME", "tempMin": 13.1, "tempMax": 22.7, @@ -1879,24 +1895,24 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "EnvironmentTravelLocation": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "startDate": "2026-06-10", "endDate": "2026-06-20", - "locationEncrypted": "", - "createdAt": "", - "updatedAt": "" + "locationEncrypted": "", + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "DawarichDay": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-15", "totalDistanceM": 48300, @@ -1904,16 +1920,16 @@ "trainDistanceM": 30500, "placesVisited": 4, "awayFromHomeMinutes": 1440, - "countryCodeEncrypted": "", + "countryCodeEncrypted": "", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "MedicationScheduleRevision": [ { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-03-01T00:00:00.000Z", @@ -1926,10 +1942,10 @@ ], "source": "ARCHIVED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-02-01T00:00:00.000Z", "validUntil": "2026-03-01T00:00:00.000Z", @@ -1941,11 +1957,11 @@ } ], "source": "ARCHIVED", - "supersededByRevisionId": "", - "createdAt": "" + "supersededByRevisionId": "", + "createdAt": "2026-05-06T04:47:02.000Z" }, { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-03-01T00:00:00.000Z", "validUntil": "2026-05-01T00:00:00.000Z", @@ -1958,12 +1974,12 @@ ], "source": "MANUAL", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "MedicationEfficacyTarget": [ { - "id": "", + "id": "", "medicationId": "", "measurementType": "WEIGHT", "biomarkerId": "", @@ -1974,12 +1990,12 @@ ], "EcgRecording": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "source": "MANUAL", "externalRecordingId": "round-trip-signal-1", "recordedAt": "2026-06-15T14:22:00.000Z", - "waveformEncrypted": "", + "waveformEncrypted": "", "samplingFrequency": 300, "sampleCount": 8, "durationSeconds": 0.02666666666666667, @@ -1987,13 +2003,13 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "OnboardingRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "needsJson": { "areas": [ @@ -2062,7 +2078,7 @@ ], "BiomarkerAlias": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "biomarkerId": "", "name": "Ferr.", @@ -2073,47 +2089,47 @@ ], "BiomarkerMerge": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "targetBiomarkerId": "", "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "LabResultDocumentLink": [], "EncounterMedicationLink": [ { - "id": "", - "encounterId": "", + "id": "", + "encounterId": "", "medicationId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "EncounterVaccinationLink": [ { - "id": "", - "encounterId": "", - "vaccinationId": "", + "id": "", + "encounterId": "", + "vaccinationId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T18:04:00.000Z" } ], "MedicationDocumentLink": [], "MedicationConditionLink": [ { - "id": "", + "id": "", "medicationId": "", "episodeId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T21:24:00.000Z" } ], "AccountGrant": [ { - "id": "", + "id": "", "grantorId": "round-trip-owner", "granteeId": "parity-delegate", "access": "READ", @@ -2144,7 +2160,7 @@ "timezone": "America/Chicago", "homeTimezone": "Asia/Tokyo", "homeSince": "2026-06-30T12:34:56.789Z", - "homeLocationEncrypted": "", + "homeLocationEncrypted": "", "environmentAirQualityEnabled": false, "environmentAqHistoryJson": null, "codexAccessTokenEncrypted": null, @@ -2309,7 +2325,7 @@ "passkeyUpgradeNudgeDismissed": true, "fullName": "rt-User-fullName", "insurerName": "rt-User-insurerName", - "insuranceNumberEncrypted": "", + "insuranceNumberEncrypted": "", "insurerIkNumber": "rt-User-insurerIkNumber" }, "AppSettings": { @@ -2321,7 +2337,7 @@ "ntfyGlobal": false, "webPushGlobal": false, "webPushVapidPublicKey": "rt-AppSettings-webPushVapidPublicKey", - "webPushVapidPrivateKeyEncrypted": "", + "webPushVapidPrivateKeyEncrypted": "", "webPushVapidSubject": "rt-AppSettings-webPushVapidSubject", "apiGlobal": false, "umamiEnabled": true, @@ -2335,12 +2351,12 @@ "glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason", "reminderLateMinutes": 3, "reminderMissedMinutes": 3, - "adminAiKeyEncrypted": "", + "adminAiKeyEncrypted": "", "adminAiModel": "rt-AppSettings-adminAiModel", "adminAiBaseUrl": "rt-AppSettings-adminAiBaseUrl", - "adminCodexAccessTokenEncrypted": "", - "adminCodexRefreshTokenEncrypted": "", - "adminCodexAccountIdEncrypted": "", + "adminCodexAccessTokenEncrypted": "", + "adminCodexRefreshTokenEncrypted": "", + "adminCodexAccountIdEncrypted": "", "adminCodexTokenExpiresAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectedAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectionStatus": "rt-AppSettings-adminCodexConnectionStatus", @@ -2539,7 +2555,7 @@ "label": "Heart and circulation", "sortOrder": 2, "isActive": false, - "createdAt": "" + "createdAt": "2026-05-01T23:06:00.000Z" } ], "medications": [ @@ -2552,7 +2568,7 @@ "autoMarkTaken": true, "autoMarkTakenSince": "", "category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "createdAt": "", + "createdAt": "2026-05-01T11:50:00.000Z", "schedules": [ { "windowStart": "08:00", @@ -2580,12 +2596,12 @@ { "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "ingredients": [ @@ -2596,7 +2612,7 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "" + "createdAt": "2026-05-02T02:29:00.000Z" } ], "courses": [ @@ -2604,13 +2620,13 @@ "startsOn": "2026-03-01", "endsOn": "2026-03-07", "note": "the March flu", - "createdAt": "" + "createdAt": "2026-05-02T00:46:00.000Z" }, { "startsOn": "2026-06-10", "endsOn": "2026-06-16", "note": null, - "createdAt": "" + "createdAt": "2026-05-02T00:46:01.000Z" } ], "doseChanges": [ @@ -2619,14 +2635,14 @@ "effectiveFrom": "2026-04-01T08:00:00.000Z", "doseValue": 5, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:00.000Z" }, { "note": null, "effectiveFrom": "2026-06-01T08:00:00.000Z", "doseValue": 10, "doseUnit": "mg", - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "inventoryItems": [ @@ -2637,13 +2653,13 @@ "unitsTotal": "30", "unitsRemaining": "21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { "notes": null, @@ -2657,8 +2673,8 @@ "purchasedAt": null, "manufacturer": null, "doseStrength": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "phaseConfig": { @@ -2696,7 +2712,7 @@ ], "source": "ARCHIVED", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { "validFrom": "2026-02-01T00:00:00.000Z", @@ -2710,7 +2726,7 @@ ], "source": "ARCHIVED", "supersededByIndex": 2, - "createdAt": "" + "createdAt": "2026-05-06T04:47:02.000Z" }, { "validFrom": "2026-03-01T00:00:00.000Z", @@ -2724,7 +2740,7 @@ ], "source": "MANUAL", "supersededByIndex": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "efficacyTargets": [ @@ -2807,7 +2823,7 @@ "hiddenMoodTags": [ { "key": "grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "customMoodTags": [ @@ -2927,12 +2943,27 @@ "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "illnessEpisodes": [ { "id": "", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "note": null, + "bodySite": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "updatedAt": "", + "dayLogs": [] + }, + { + "id": "", "label": "Cold", "type": "INFECTION", "lifecycle": "CHRONIC_ONGOING", @@ -2942,12 +2973,12 @@ "note": "rt-IllnessEpisode-noteEncrypted", "bodySite": null, "laterality": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "updatedAt": "2026-05-02T17:32:00.000Z", "dayLogs": [ { - "id": "", - "episodeId": "", + "id": "", + "episodeId": "", "date": "2026-06-21", "functionalImpact": 3, "feverC": 2.5, @@ -2958,12 +2989,12 @@ } ], "note": "rt-IllnessDayLog-noteEncrypted", - "updatedAt": "" + "updatedAt": "2026-05-02T19:09:00.000Z" } ] }, { - "id": "", + "id": "", "label": "Iron deficiency", "type": "CHRONIC", "lifecycle": "ACUTE", @@ -2973,14 +3004,14 @@ "note": null, "bodySite": "Stomach", "laterality": "BOTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", + "updatedAt": "2026-05-02T17:32:01.000Z", "dayLogs": [] } ], "allergies": [ { - "id": "", + "id": "", "substance": "Penicillin", "category": "FOOD", "type": "INTOLERANCE", @@ -2989,19 +3020,19 @@ "onsetAt": "2026-06-30T12:34:56.789Z", "reaction": "rt-Allergy-reactionEncrypted", "note": "rt-Allergy-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z" } ], "familyHistory": [ { - "id": "", + "id": "", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, "note": "rt-FamilyHistoryEntry-notesEncrypted", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z" } ], "workouts": [ @@ -3087,7 +3118,7 @@ ], "correlationPatterns": [ { - "createdAt": "", + "createdAt": "2026-05-03T18:38:00.000Z", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", "factorKey": "sleep_duration", @@ -3188,7 +3219,7 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "" + "computedAt": "2026-05-03T20:12:00.000Z" } ], "onboardingRecord": { @@ -3256,45 +3287,45 @@ }, "practitioners": [ { - "id": "", + "id": "", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": "rt-Practitioner-locationEncrypted", "phone": "rt-Practitioner-phoneEncrypted", "note": "ring the upper bell", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z" } ], "encounters": [ { - "id": "", + "id": "", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", + "practitionerId": "", "reason": "annual check", "outcome": "ferritin back in range, recheck in a year", "bodySite": "rt-Encounter-bodySiteEncrypted", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "" + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z" } ], "encounterDocumentLinks": [], "encounterLabLinks": [], "encounterConditionLinks": [ { - "encounterId": "", - "targetId": "", - "createdAt": "" + "encounterId": "", + "targetId": "", + "createdAt": "2026-05-04T09:24:00.000Z" } ], "customVaccines": [ { - "id": "", + "id": "", "name": "Round-trip travel combo", "components": [ "typhoid", @@ -3302,13 +3333,13 @@ ], "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z" } ], "vaccinations": [ { - "id": "", + "id": "", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", "vaccineName": "Tetanus, diphtheria and pertussis", @@ -3316,19 +3347,19 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", "note": "sore arm for a day, nothing else", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z" } ], "vaccinationDocumentLinks": [], "measurementReminders": [ { - "id": "", + "id": "", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", "intervalDays": 7, @@ -3345,43 +3376,43 @@ "snoozedUntil": "2026-07-08T06:00:00.000Z", "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z" } ], "measurementReminderEvents": [ { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" }, { - "id": "", - "reminderId": "", + "id": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" } ], "coachConversations": [ { - "id": "", + "id": "", "title": "How is my blood pressure trending?", "documentScoped": false, "summary": "earlier turns: weight trend and evening walks", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", "content": "my readings look higher this week, is that real?", "metricSourceJson": "rt-CoachMessage-metricSourceJson", @@ -3394,7 +3425,7 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", + "id": "", "role": "assistant", "content": "the last seven mornings average 4 mmHg above the fortnight before", "metricSourceJson": null, @@ -3410,17 +3441,17 @@ "attachments": [] }, { - "id": "", + "id": "", "title": "About my June labs", "documentScoped": true, "summary": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "messages": [ { - "id": "", + "id": "", "role": "user", "content": "What does the ferritin mean?", "metricSourceJson": null, @@ -3438,21 +3469,21 @@ ], "coachFacts": [ { - "id": "", + "id": "", "fact": "does not tolerate ACE inhibitors", "category": "constraint", "confidence": 80, - "sourceConversationId": "", + "sourceConversationId": "", "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "", - "createdAt": "", - "updatedAt": "" + "sourceMessageId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z" } ], "coachPlans": [ { - "id": "", + "id": "", "metric": "BLOOD_PRESSURE", "ifCue": "if the evening reading is over 140", "thenAction": "then walk twenty minutes before dinner tomorrow", @@ -3460,27 +3491,27 @@ "outcome": "rt-CoachPlan-outcomeEncrypted", "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "" + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z" } ], "coachReminders": [ { - "id": "", + "id": "", "note": "ask how the evening walks are going", "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z" } ], "mentalHealthAssessments": [], @@ -3498,7 +3529,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { "metricType": "WALKING_RUNNING_DISTANCE", @@ -3510,7 +3541,7 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { "metricType": "WEIGHT", @@ -3522,19 +3553,19 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "userAchievements": [ { "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" }, { "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" } ], "environmentContexts": [ @@ -3579,8 +3610,8 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { "date": "2026-07-01", @@ -3623,8 +3654,8 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "environmentTravelLocations": [ @@ -3634,8 +3665,8 @@ "lat": 41.4, "lon": 2.2, "label": "Barcelona", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "dawarichDays": [ @@ -3649,8 +3680,8 @@ "countryCode": "ES", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "ecgRecordings": [ @@ -3675,8 +3706,8 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "symptomDefinitions": [ @@ -3685,24 +3716,24 @@ "icon": "Zap", "sortOrder": 0, "isActive": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z", "events": [ { "note": null, "occurredAt": "2026-06-21T09:00:00.000Z", "intensity": 4, - "episodeId": "", - "createdAt": "", - "updatedAt": "" + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" }, { "note": null, "occurredAt": "2026-07-10T18:30:00.000Z", "intensity": 2, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" } ] }, @@ -3711,16 +3742,16 @@ "icon": "Brain", "sortOrder": 1, "isActive": false, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z", "events": [ { "note": "left side, behind the eye", "occurredAt": "2026-06-21T11:00:00.000Z", "intensity": 8, "episodeId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" } ] } @@ -3733,8 +3764,8 @@ "startDate": "2023-09-01", "endDate": null, "precision": "MONTH", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z" }, { "title": "Parental leave", @@ -3743,31 +3774,31 @@ "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z" } ], "labResultDocumentLinks": [], "encounterMedicationLinks": [ { - "encounterId": "", + "encounterId": "", "medicationId": "", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "encounterVaccinationLinks": [ { - "encounterId": "", - "vaccinationId": "", - "createdAt": "" + "encounterId": "", + "vaccinationId": "", + "createdAt": "2026-05-06T18:04:00.000Z" } ], "medicationDocumentLinks": [], "medicationConditionLinks": [ { "medicationId": "", - "episodeId": "", - "createdAt": "" + "episodeId": "", + "createdAt": "2026-05-06T21:24:00.000Z" } ], "nutrientDays": [ @@ -3778,7 +3809,7 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "" + "createdAt": "2026-05-03T23:27:00.000Z" } ] } diff --git a/tests/integration/__golden__/backup-parity/restore-skips.json b/tests/integration/__golden__/backup-parity/restore-skips.json index 339fe8c13..0861a6e8b 100644 --- a/tests/integration/__golden__/backup-parity/restore-skips.json +++ b/tests/integration/__golden__/backup-parity/restore-skips.json @@ -641,7 +641,7 @@ "scaleMax": 5, "inverse": false, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "LabResult": [], @@ -726,7 +726,7 @@ "sortOrder": 0, "isActive": true, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "MoodTagHidden": [], diff --git a/tests/integration/__golden__/backup-parity/restore-version-1.json b/tests/integration/__golden__/backup-parity/restore-version-1.json index cdc01f836..1223a636a 100644 --- a/tests/integration/__golden__/backup-parity/restore-version-1.json +++ b/tests/integration/__golden__/backup-parity/restore-version-1.json @@ -487,7 +487,7 @@ "source": "MANUAL", "measuredAt": "2026-07-01T07:00:00.000Z", "notes": null, - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": null, "aggregationProvenance": null, @@ -668,7 +668,7 @@ "stabilityA5": null, "tags": null, "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "source": "MOODLOG", "externalId": null, "moodLoggedAt": "2026-07-02T20:00:00.000Z", @@ -726,7 +726,7 @@ "takenAt": "2026-07-05T08:00:00.000Z", "biomarkerId": "", "source": "MANUAL", - "noteEncrypted": "", + "noteEncrypted": "", "createdAt": "", "updatedAt": "", "deletedAt": null @@ -740,7 +740,7 @@ "unit": "ng/mL", "lowerBound": 30, "upperBound": 400, - "contextEncrypted": "", + "contextEncrypted": "", "panel": "Iron", "hidden": false, "analyteKey": null, @@ -758,8 +758,8 @@ "severity": "SEVERE", "status": "ACTIVE", "onsetAt": null, - "reactionEncrypted": "", - "notesEncrypted": "", + "reactionEncrypted": "", + "notesEncrypted": "", "createdAt": "", "updatedAt": "", "deletedAt": null @@ -772,7 +772,7 @@ "relationship": "FATHER", "condition": "Diabetes", "ageAtOnset": 55, - "notesEncrypted": "", + "notesEncrypted": "", "createdAt": "", "updatedAt": "", "deletedAt": null @@ -789,7 +789,7 @@ "resolvedAt": "2026-07-02T00:00:00.000Z", "parentConditionId": "legacy-episode-parent", "noteEncrypted": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": null, "createdAt": "", "updatedAt": "", @@ -804,7 +804,7 @@ "onsetAt": "2025-01-01T00:00:00.000Z", "resolvedAt": null, "parentConditionId": null, - "noteEncrypted": "", + "noteEncrypted": "", "bodySiteEncrypted": null, "laterality": null, "createdAt": "", @@ -820,7 +820,7 @@ "date": "2026-07-01", "functionalImpact": 2, "feverC": null, - "noteEncrypted": "", + "noteEncrypted": "", "tz": null, "createdAt": "", "updatedAt": "", @@ -1350,7 +1350,7 @@ "measuredAt": "2026-07-01T07:00:00.000Z", "source": "MANUAL", "notes": null, - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": null, "aggregationProvenance": null, @@ -1555,7 +1555,7 @@ }, { "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "syncedAt": "", "syncVersion": 0, "createdAt": "", @@ -1591,7 +1591,7 @@ { "id": "", "biomarkerId": "", - "noteEncrypted": "", + "noteEncrypted": "", "createdAt": "", "updatedAt": "", "deletedAt": null, @@ -1642,7 +1642,7 @@ "note": null, "noteEncrypted": null, "bodySite": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": null, "createdAt": "", "updatedAt": "", @@ -1655,7 +1655,7 @@ "functionalImpact": 2, "feverC": null, "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "tz": null, "createdAt": "", "updatedAt": "", @@ -1673,7 +1673,7 @@ "resolvedAt": null, "parentConditionId": null, "note": null, - "noteEncrypted": "", + "noteEncrypted": "", "bodySite": null, "bodySiteEncrypted": null, "laterality": null, @@ -1694,8 +1694,8 @@ "onsetAt": null, "reaction": null, "note": null, - "reactionEncrypted": "", - "notesEncrypted": "", + "reactionEncrypted": "", + "notesEncrypted": "", "createdAt": "", "updatedAt": "", "deletedAt": null diff --git a/tests/integration/__golden__/backup-parity/seeded-account.json b/tests/integration/__golden__/backup-parity/seeded-account.json index 32712c200..1622db7ff 100644 --- a/tests/integration/__golden__/backup-parity/seeded-account.json +++ b/tests/integration/__golden__/backup-parity/seeded-account.json @@ -25,8 +25,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:03.000Z", + "updatedAt": "2026-05-01T08:21:03.000Z" }, { "id": "", @@ -49,8 +49,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:02.000Z", + "updatedAt": "2026-05-01T08:21:02.000Z" }, { "id": "", @@ -73,8 +73,8 @@ "deviceType": null, "syncVersion": 4, "deletedAt": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:01.000Z", + "updatedAt": "2026-05-01T08:21:01.000Z" }, { "id": "", @@ -97,8 +97,8 @@ "deviceType": null, "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:04.000Z", + "updatedAt": "2026-05-01T08:21:04.000Z" }, { "id": "", @@ -111,7 +111,7 @@ "source": "MANUAL", "measuredAt": "2026-07-01T07:00:00.000Z", "notes": "rt-Measurement-notes", - "notesEncrypted": "", + "notesEncrypted": "", "externalId": null, "externalSourceVersion": "rt-Measurement-externalSourceVersion", "aggregationProvenance": "HEALTHKIT_STATISTICS", @@ -121,8 +121,8 @@ "deviceType": "rt-Measurement-deviceType", "syncVersion": 1, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T08:20:00.000Z", + "updatedAt": "2026-05-01T08:21:00.000Z" } ], "IntradayCumulativeProfile": [ @@ -188,8 +188,8 @@ "basis": "HOUR_BUCKETS", "bucketCount": 3, "timezone": "Europe/Berlin", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T09:51:00.000Z", + "updatedAt": "2026-05-01T09:52:00.000Z" } ], "Medication": [ @@ -226,8 +226,8 @@ "reorderLeadDays": 3, "externalSource": "WEB", "externalId": "rt-Medication-externalId", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T11:50:00.000Z", + "updatedAt": "2026-05-01T11:51:00.000Z" } ], "MedicationSchedule": [ @@ -285,21 +285,42 @@ "attributionSource": "USER_PIN", "source": "API", "idempotencyKey": "rt-MedicationIntakeEvent-idempotencyKey", - "createdAt": "", + "createdAt": "2026-05-01T14:51:00.000Z", "injectionSite": "ABDOMEN_LEFT", "doseTaken": "rt-MedicationIntakeEvent-doseTaken", "inventoryConsumption": { "roundTrip": "rt-MedicationIntakeEvent-inventoryConsumption" }, "externalId": "rt-MedicationIntakeEvent-externalId", - "updatedAt": "", + "updatedAt": "2026-05-01T14:56:00.000Z", "syncVersion": 3, "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "medicationId": "", + "scheduledFor": "2026-07-02T08:00:00.000Z", + "takenAt": "2026-07-02T08:03:00.000Z", + "skipped": false, + "autoMissed": false, + "autoRecorded": false, + "attributionSource": "AUTO", + "source": "WEB", + "idempotencyKey": null, + "createdAt": "2026-05-01T14:51:01.000Z", + "injectionSite": null, + "doseTaken": null, + "inventoryConsumption": null, + "externalId": null, + "updatedAt": "2026-05-01T14:56:01.000Z", + "syncVersion": 0, + "deletedAt": "" } ], "MedicationSideEffect": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "occurredAt": "2026-07-01T21:00:00.000Z", @@ -307,94 +328,94 @@ "entry": "NAUSEA", "severity": 3, "notes": "rt-MedicationSideEffect-notes", - "notesEncrypted": "", - "createdAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-01T16:29:00.000Z" } ], "MedicationPauseEra": [ { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "pausedAt": "2026-05-02T08:00:00.000Z", "resumedAt": "2026-05-20T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-01T18:05:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "pausedAt": "2026-07-15T08:00:00.000Z", "resumedAt": null, - "createdAt": "" + "createdAt": "2026-05-01T18:05:01.000Z" } ], "MedicationDoseChange": [ { - "id": "", + "id": "", "medicationId": "", "effectiveFrom": "2026-04-01T08:00:00.000Z", "doseValue": 5, "doseUnit": "mg", "note": "rt-MedicationDoseChange-note", - "noteEncrypted": "", - "createdAt": "" + "noteEncrypted": "", + "createdAt": "2026-05-01T19:47:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "effectiveFrom": "2026-06-01T08:00:00.000Z", "doseValue": 10, "doseUnit": "mg", "note": null, "noteEncrypted": null, - "createdAt": "" + "createdAt": "2026-05-01T19:47:01.000Z" } ], "MedicationCategoryAssignment": [ { "medicationId": "", "category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "updatedAt": "" + "updatedAt": "2026-05-01T21:22:00.000Z" } ], "MedicationCategoryLabel": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "key": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10", - "labelEncrypted": "", + "labelEncrypted": "", "sortOrder": 2, "isActive": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-01T23:06:00.000Z", + "updatedAt": "2026-05-01T23:07:00.000Z" } ], "MedicationCourse": [ { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "startsOn": "2026-03-01T00:00:00.000Z", "endsOn": "2026-03-07T00:00:00.000Z", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "" + "noteEncrypted": "", + "createdAt": "2026-05-02T00:46:00.000Z", + "updatedAt": "2026-05-02T00:47:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "userId": "round-trip-owner", "startsOn": "2026-06-10T00:00:00.000Z", "endsOn": "2026-06-16T00:00:00.000Z", "noteEncrypted": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T00:46:01.000Z", + "updatedAt": "2026-05-02T00:47:01.000Z" } ], "MedicationIngredient": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "nutrient": "vitamin_d", @@ -403,13 +424,13 @@ "enteredAmount": 1000, "enteredUnit": "IU", "source": "LABEL_AI", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T02:29:00.000Z", + "updatedAt": "2026-05-02T02:30:00.000Z" } ], "MoodEntry": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-07-01", "mood": "GUT", @@ -421,21 +442,45 @@ "stabilityA5": 3, "tags": "[\"round-trip-tag\"]", "note": "rt-MoodEntry-note", - "noteEncrypted": "", + "noteEncrypted": "", "source": "rt-MoodEntry-source", "externalId": "rt-MoodEntry-externalId", "moodLoggedAt": "2026-07-01T20:00:00.000Z", "tz": "rt-MoodEntry-tz", - "syncedAt": "", - "createdAt": "", - "updatedAt": "", + "syncedAt": "2026-05-02T04:17:00.000Z", + "createdAt": "2026-05-02T04:18:00.000Z", + "updatedAt": "2026-05-02T04:19:00.000Z", "syncVersion": 3, "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "date": "2026-07-03", + "mood": "SCHLECHT", + "score": 2, + "moodA1": null, + "stressA2": null, + "energyA3": null, + "connectionA4": null, + "stabilityA5": null, + "tags": null, + "note": null, + "noteEncrypted": null, + "source": "MOODLOG", + "externalId": null, + "moodLoggedAt": "2026-07-03T20:00:00.000Z", + "tz": null, + "syncedAt": "2026-05-02T04:17:01.000Z", + "createdAt": "2026-05-02T04:18:01.000Z", + "updatedAt": "2026-05-02T04:19:01.000Z", + "syncVersion": 0, + "deletedAt": "" } ], "MoodContext": [ { - "moodEntryId": "", + "moodEntryId": "", "userId": "round-trip-owner", "workStatus": "regular", "workMinutes": 3, @@ -454,23 +499,23 @@ "eventType": "rt-MoodContext-eventType", "eventValence": 3, "eventAt": "2026-06-30T12:34:56.789Z", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-02T06:00:00.000Z", + "updatedAt": "2026-05-02T06:01:00.000Z" } ], "MoodEntryTagLink": [ { - "moodEntryId": "", - "moodTagId": "", - "createdAt": "", + "moodEntryId": "", + "moodTagId": "", + "createdAt": "2026-05-02T07:22:00.000Z", "rating": 4 } ], "MoodTag": [ { - "id": "", - "categoryId": "", + "id": "", + "categoryId": "", "key": "round_trip_factor", "labelKey": "mood.tag.roundTripFactor", "icon": "rt-MoodTag-icon", @@ -481,12 +526,12 @@ "scaleMax": 3, "inverse": true, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "LabResult": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "panel": "rt-LabResult-panel", "analyte": "Ferritin", @@ -501,33 +546,71 @@ "sourceValue": 2.5, "sourceUnit": "rt-LabResult-sourceUnit", "takenAt": "2026-06-30T09:00:00.000Z", - "biomarkerId": "", + "biomarkerId": "", "source": "rt-LabResult-source", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-02T10:58:00.000Z", + "updatedAt": "2026-05-02T10:59:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "panel": null, + "analyte": "TSH", + "value": 2.1, + "valueText": null, + "unit": "mU/L", + "referenceLow": null, + "referenceHigh": null, + "sourceReferenceLow": null, + "sourceReferenceHigh": null, + "sourceReferenceText": null, + "sourceValue": null, + "sourceUnit": null, + "takenAt": "2026-05-30T09:00:00.000Z", + "biomarkerId": null, + "source": "MANUAL", + "noteEncrypted": null, + "createdAt": "2026-05-02T10:58:01.000Z", + "updatedAt": "2026-05-02T10:59:01.000Z", + "deletedAt": "" } ], "Biomarker": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "name": "Ferritin", "unit": "ng/mL", "lowerBound": 2.5, "upperBound": 2.5, - "contextEncrypted": "", + "contextEncrypted": "", "panel": "rt-Biomarker-panel", "hidden": true, "analyteKey": "rt-Biomarker-analyteKey", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-02T12:30:00.000Z", + "updatedAt": "2026-05-02T12:31:00.000Z" } ], "Allergy": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "substance": "Latex (deleted)", + "category": "OTHER", + "type": "ALLERGY", + "severity": null, + "status": "ACTIVE", + "onsetAt": null, + "reactionEncrypted": null, + "notesEncrypted": null, + "createdAt": "2026-05-02T14:10:01.000Z", + "updatedAt": "2026-05-02T14:11:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "substance": "Penicillin", "category": "FOOD", @@ -535,29 +618,40 @@ "severity": "MILD", "status": "INACTIVE", "onsetAt": "2026-06-30T12:34:56.789Z", - "reactionEncrypted": "", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "reactionEncrypted": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T14:10:00.000Z", + "updatedAt": "2026-05-02T14:11:00.000Z", "deletedAt": null } ], "FamilyHistoryEntry": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "relationship": "FATHER", + "condition": "Hypertension (deleted)", + "ageAtOnset": null, + "notesEncrypted": "", + "createdAt": "2026-05-02T15:46:01.000Z", + "updatedAt": "2026-05-02T15:47:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "relationship": "MOTHER", "condition": "Type 2 diabetes", "ageAtOnset": 3, - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "", + "notesEncrypted": "", + "createdAt": "2026-05-02T15:46:00.000Z", + "updatedAt": "2026-05-02T15:47:00.000Z", "deletedAt": null } ], "IllnessEpisode": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "label": "Cold", "type": "INFECTION", @@ -565,15 +659,31 @@ "onsetAt": "2026-06-20T00:00:00.000Z", "resolvedAt": "2026-06-30T12:34:56.789Z", "parentConditionId": null, - "noteEncrypted": "", + "noteEncrypted": "", "bodySiteEncrypted": null, "laterality": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:00.000Z", + "updatedAt": "2026-05-02T17:32:00.000Z", "deletedAt": null }, { - "id": "", + "id": "", + "userId": "round-trip-owner", + "label": "Iron deficiency flare", + "type": "CHRONIC", + "lifecycle": "FLARE", + "onsetAt": "2026-06-25T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": "", + "noteEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:03.000Z", + "updatedAt": "2026-05-02T17:32:03.000Z", + "deletedAt": null + }, + { + "id": "", "userId": "round-trip-owner", "label": "Iron deficiency", "type": "CHRONIC", @@ -582,162 +692,215 @@ "resolvedAt": null, "parentConditionId": null, "noteEncrypted": null, - "bodySiteEncrypted": "", + "bodySiteEncrypted": "", "laterality": "BOTH", - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-02T17:31:01.000Z", + "updatedAt": "2026-05-02T17:32:01.000Z", "deletedAt": null - } - ], - "IllnessDayLog": [ - { - "id": "", - "userId": "round-trip-owner", - "episodeId": "", - "date": "2026-06-21", - "functionalImpact": 3, - "feverC": 2.5, - "noteEncrypted": "", - "tz": "rt-IllnessDayLog-tz", - "createdAt": "", - "updatedAt": "", - "deletedAt": null - } - ], - "IllnessSymptomLink": [ - { - "dayLogId": "", - "symptomId": "", - "severity": 2, - "createdAt": "" - } - ], - "SymptomDefinition": [ - { - "id": "", - "userId": "round-trip-owner", - "labelEncrypted": "", - "icon": "Zap", - "sortOrder": 0, - "isActive": true, - "createdAt": "", - "updatedAt": "" - }, - { - "id": "", - "userId": "round-trip-owner", - "labelEncrypted": "", - "icon": "Brain", - "sortOrder": 1, - "isActive": false, - "createdAt": "", - "updatedAt": "" - } - ], - "SymptomEvent": [ - { - "id": "", - "userId": "round-trip-owner", - "definitionId": "", - "occurredAt": "2026-06-21T09:00:00.000Z", - "intensity": 4, - "noteEncrypted": null, - "episodeId": "", - "createdAt": "", - "updatedAt": "" - }, - { - "id": "", - "userId": "round-trip-owner", - "definitionId": "", - "occurredAt": "2026-06-21T11:00:00.000Z", - "intensity": 8, - "noteEncrypted": "", - "episodeId": null, - "createdAt": "", - "updatedAt": "" }, { "id": "", "userId": "round-trip-owner", - "definitionId": "", - "occurredAt": "2026-07-10T18:30:00.000Z", - "intensity": 2, + "label": "Sprained ankle (deleted)", + "type": "INJURY", + "lifecycle": "ACUTE", + "onsetAt": "2026-04-10T00:00:00.000Z", + "resolvedAt": null, + "parentConditionId": null, "noteEncrypted": null, - "episodeId": null, - "createdAt": "", - "updatedAt": "" + "bodySiteEncrypted": null, + "laterality": null, + "createdAt": "2026-05-02T17:31:02.000Z", + "updatedAt": "2026-05-02T17:32:02.000Z", + "deletedAt": "" } ], - "LifeEvent": [ + "IllnessDayLog": [ { "id": "", "userId": "round-trip-owner", - "category": "HOME", - "startDate": "2023-09-01", - "endDate": null, - "precision": "MONTH", - "titleEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "episodeId": "", + "date": "2026-06-21", + "functionalImpact": 3, + "feverC": 2.5, + "noteEncrypted": "", + "tz": "rt-IllnessDayLog-tz", + "createdAt": "2026-05-02T19:08:00.000Z", + "updatedAt": "2026-05-02T19:09:00.000Z", "deletedAt": null }, { "id": "", "userId": "round-trip-owner", + "episodeId": "", + "date": "2026-06-22", + "functionalImpact": null, + "feverC": null, + "noteEncrypted": null, + "tz": null, + "createdAt": "2026-05-02T19:08:01.000Z", + "updatedAt": "2026-05-02T19:09:01.000Z", + "deletedAt": "" + } + ], + "IllnessSymptomLink": [ + { + "dayLogId": "", + "symptomId": "", + "severity": 2, + "createdAt": "2026-05-02T20:43:00.000Z" + } + ], + "SymptomDefinition": [ + { + "id": "", + "userId": "round-trip-owner", + "labelEncrypted": "", + "icon": "Zap", + "sortOrder": 0, + "isActive": true, + "createdAt": "2026-05-02T22:26:00.000Z", + "updatedAt": "2026-05-02T22:27:00.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "labelEncrypted": "", + "icon": "Brain", + "sortOrder": 1, + "isActive": false, + "createdAt": "2026-05-02T22:26:01.000Z", + "updatedAt": "2026-05-02T22:27:01.000Z" + } + ], + "SymptomEvent": [ + { + "id": "", + "userId": "round-trip-owner", + "definitionId": "", + "occurredAt": "2026-06-21T09:00:00.000Z", + "intensity": 4, + "noteEncrypted": null, + "episodeId": "", + "createdAt": "2026-05-03T00:07:00.000Z", + "updatedAt": "2026-05-03T00:08:00.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "definitionId": "", + "occurredAt": "2026-06-21T11:00:00.000Z", + "intensity": 8, + "noteEncrypted": "", + "episodeId": null, + "createdAt": "2026-05-03T00:07:01.000Z", + "updatedAt": "2026-05-03T00:08:01.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "definitionId": "", + "occurredAt": "2026-07-10T18:30:00.000Z", + "intensity": 2, + "noteEncrypted": null, + "episodeId": null, + "createdAt": "2026-05-03T00:07:02.000Z", + "updatedAt": "2026-05-03T00:08:02.000Z" + } + ], + "LifeEvent": [ + { + "id": "", + "userId": "round-trip-owner", + "category": "HOME", + "startDate": "2023-09-01", + "endDate": null, + "precision": "MONTH", + "titleEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T01:48:00.000Z", + "updatedAt": "2026-05-03T01:49:00.000Z", + "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "category": "OTHER", + "startDate": "2025-12-01", + "endDate": null, + "precision": "DAY", + "titleEncrypted": "", + "noteEncrypted": null, + "createdAt": "2026-05-03T01:48:02.000Z", + "updatedAt": "2026-05-03T01:49:02.000Z", + "deletedAt": "" + }, + { + "id": "", + "userId": "round-trip-owner", "category": "WORK", "startDate": "2026-03-02", "endDate": "2026-05-29", "precision": "DAY", - "titleEncrypted": "", + "titleEncrypted": "", "noteEncrypted": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T01:48:01.000Z", + "updatedAt": "2026-05-03T01:49:01.000Z", "deletedAt": null } ], "UserHealthProfile": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "aboutMeEncrypted": "", - "conditionsEncrypted": "", - "allergiesEncrypted": "", - "coachFocusEncrypted": "", - "pendingQuestionsEncrypted": "", + "aboutMeEncrypted": "", + "conditionsEncrypted": "", + "allergiesEncrypted": "", + "coachFocusEncrypted": "", + "pendingQuestionsEncrypted": "", "aiIncludedSections": [ "ABOUT_ME" ], "emergencyBloodType": "A_POS", "organDonorStatus": "YES", "advanceDirectiveStatus": "EXISTS", - "emergencyContactsEncrypted": "", - "emergencyImplantsEncrypted": "", - "emergencyNoteEncrypted": "", + "emergencyContactsEncrypted": "", + "emergencyImplantsEncrypted": "", + "emergencyNoteEncrypted": "", "lifeConfirmedJson": { "roundTrip": "rt-UserHealthProfile-lifeConfirmedJson" }, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T03:35:00.000Z", + "updatedAt": "2026-05-03T03:36:00.000Z" } ], "HealthProfileFactRevision": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "SMOKING_STATUS", - "valueEncrypted": "", + "valueEncrypted": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-06-30T12:34:56.789Z", "provenance": "USER_CORRECTION", + "supersededByRevisionId": "", + "createdAt": "2026-05-03T05:08:00.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "kind": "SMOKING_STATUS", + "valueEncrypted": "", + "validFrom": "2026-02-01T00:00:00.000Z", + "validUntil": null, + "provenance": "USER_REPORTED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-03T05:08:01.000Z" } ], "CycleProfile": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "goal": "AVOID_PREGNANCY", "cycleTrackingEnabled": true, @@ -749,13 +912,30 @@ "rawChartMode": true, "discreetNotifications": true, "sensitiveCategoryEncryption": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T06:52:00.000Z", + "updatedAt": "2026-05-03T06:53:00.000Z" } ], "MenstrualCycle": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "startDate": "2026-05-04", + "endDate": null, + "periodEndDate": null, + "lengthDays": null, + "ovulationDate": null, + "ovulationConfirmed": false, + "isPredicted": false, + "tz": null, + "syncVersion": 0, + "deletedAt": "", + "absorbedIntoId": null, + "createdAt": "2026-05-03T08:33:02.000Z", + "updatedAt": "2026-05-03T08:34:02.000Z" + }, + { + "id": "", "userId": "round-trip-owner", "startDate": "2026-06-01", "endDate": "rt-MenstrualCycle-endDate", @@ -768,11 +948,11 @@ "syncVersion": 3, "deletedAt": null, "absorbedIntoId": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T08:33:00.000Z", + "updatedAt": "2026-05-03T08:34:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "startDate": "2026-06-03", "endDate": null, @@ -784,17 +964,17 @@ "tz": null, "syncVersion": 0, "deletedAt": "2026-06-04T07:00:00.000Z", - "absorbedIntoId": "", - "createdAt": "", - "updatedAt": "" + "absorbedIntoId": "", + "createdAt": "2026-05-03T08:33:01.000Z", + "updatedAt": "2026-05-03T08:34:01.000Z" } ], "CycleDayLog": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-02", - "cycleId": "", + "cycleId": "", "flow": "HEAVY", "intermenstrualBleeding": true, "basalBodyTempC": 2.5, @@ -809,20 +989,49 @@ "pregnancyTest": "NEGATIVE", "progesteroneTest": "NEGATIVE", "contraceptive": "NONE", - "sensitiveEncrypted": "", - "notesEncrypted": "", + "sensitiveEncrypted": "", + "notesEncrypted": "", "source": "WITHINGS", "externalId": "rt-CycleDayLog-externalId", "tz": "rt-CycleDayLog-tz", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T10:25:00.000Z", + "updatedAt": "2026-05-03T10:26:00.000Z" + }, + { + "id": "", + "userId": "round-trip-owner", + "date": "2026-06-03", + "cycleId": "", + "flow": "LIGHT", + "intermenstrualBleeding": false, + "basalBodyTempC": null, + "temperatureExcluded": false, + "ovulationTest": null, + "cervicalMucus": null, + "cervixPosition": null, + "cervixFirmness": null, + "cervixOpening": null, + "sexualActivity": false, + "protectedSex": null, + "pregnancyTest": null, + "progesteroneTest": null, + "contraceptive": null, + "sensitiveEncrypted": null, + "notesEncrypted": null, + "source": "MANUAL", + "externalId": null, + "tz": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-03T10:25:01.000Z", + "updatedAt": "2026-05-03T10:26:01.000Z" } ], "CycleSymptom": [ { - "id": "", + "id": "", "categoryId": "csc_physical", "key": "custom:round-trip-cramps", "labelKey": "cycle.symptom.custom", @@ -830,20 +1039,20 @@ "sortOrder": 3, "isActive": false, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "CycleSymptomLink": [ { - "dayLogId": "", - "symptomId": "", + "dayLogId": "", + "symptomId": "", "severity": 3, - "createdAt": "" + "createdAt": "2026-05-03T13:23:00.000Z" } ], "CustomMetric": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "name": "Grip strength", "unit": "kg", @@ -852,40 +1061,66 @@ "decimals": 3, "description": "rt-CustomMetric-description", "correlationEnabled": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-03T15:09:00.000Z", + "updatedAt": "2026-05-03T15:10:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "name": "Plank (deleted)", + "unit": "s", + "targetLow": null, + "targetHigh": null, + "decimals": null, + "description": null, + "correlationEnabled": false, + "createdAt": "2026-05-03T15:09:01.000Z", + "updatedAt": "2026-05-03T15:10:01.000Z", + "deletedAt": "" } ], "CustomMetricEntry": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "customMetricId": "", + "customMetricId": "", + "value": 40, + "unit": "kg", + "measuredAt": "2026-06-28T18:00:00.000Z", + "note": null, + "noteEncrypted": null, + "createdAt": "2026-05-03T16:48:02.000Z", + "deletedAt": "" + }, + { + "id": "", + "userId": "round-trip-owner", + "customMetricId": "", "value": 44, "unit": "kg", "measuredAt": "2026-07-01T18:00:00.000Z", "note": "left hand, after the long ride", "noteEncrypted": null, - "createdAt": "", + "createdAt": "2026-05-03T16:48:00.000Z", "deletedAt": null }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "customMetricId": "", + "customMetricId": "", "value": 45, "unit": "kg", "measuredAt": "2026-07-02T18:00:00.000Z", "note": null, - "noteEncrypted": "", - "createdAt": "", + "noteEncrypted": "", + "createdAt": "2026-05-03T16:48:01.000Z", "deletedAt": null } ], "CorrelationPattern": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1", "family": "sleep", @@ -903,13 +1138,13 @@ "dismissedEvidenceHash": "abababababababababababababababababababababababababababababababab", "dismissedEffectSize": 2.5, "dismissedSampleSize": 3, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T18:38:00.000Z", + "updatedAt": "2026-05-03T18:39:00.000Z" } ], "HealthScoreRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "dayKey": "2026-07-01", "timezone": "Europe/Berlin", @@ -927,13 +1162,13 @@ "inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3", "configVersion": 3, "configChangedAt": "2026-06-30T12:34:56.789Z", - "computedAt": "", - "createdAt": "" + "computedAt": "2026-05-03T20:12:00.000Z", + "createdAt": "2026-05-03T20:13:00.000Z" } ], "Workout": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "sportType": "RUNNING", "startedAt": "2026-06-29T06:00:00.000Z", @@ -953,8 +1188,8 @@ "metadata": { "roundTrip": "rt-Workout-metadata" }, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T21:58:00.000Z", + "updatedAt": "2026-05-03T21:59:00.000Z" } ], "NutrientIntakeDay": [ @@ -966,20 +1201,20 @@ "unit": "ml", "source": "MANUAL", "externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-03T23:27:00.000Z", + "updatedAt": "2026-05-03T23:28:00.000Z" } ], "InboundDocument": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "LAB_RESULT", "title": "June labs", "filename": "june-labs.pdf", "mimeType": "application/pdf", "byteSize": 57, - "contentEncrypted": "", + "contentEncrypted": "", "contentSha256": "0a738470f0945033965858e9895ee721ce981a25f013514d587d0a7a1946be7a", "contentCodec": "binary2", "status": "EXTRACTING", @@ -987,7 +1222,7 @@ "reportDate": "2026-06-30T12:34:56.789Z", "documentDate": "2026-06-30T12:34:56.789Z", "errorReason": "rt-InboundDocument-errorReason", - "summaryEncrypted": "", + "summaryEncrypted": "", "summaryGeneratedAt": "2026-06-30T12:34:56.789Z", "summaryState": "PENDING", "lastIndexAttemptAt": "2026-06-30T12:34:56.789Z", @@ -996,76 +1231,155 @@ "sourceId": "4711", "sourceInstance": "https://paperless.example.test", "aiReadDeferred": true, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T01:24:00.000Z", + "updatedAt": "2026-05-04T01:25:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "kind": "OTHER", + "title": "Deleted scan", + "filename": "deleted-scan.pdf", + "mimeType": "application/pdf", + "byteSize": 57, + "contentEncrypted": "", + "contentSha256": null, + "contentCodec": "binary2", + "status": "STORED", + "providerType": null, + "reportDate": null, + "documentDate": null, + "errorReason": null, + "summaryEncrypted": null, + "summaryGeneratedAt": null, + "summaryState": "NONE", + "lastIndexAttemptAt": null, + "lastIndexOutcome": null, + "sourceSystem": null, + "sourceId": null, + "sourceInstance": null, + "aiReadDeferred": false, + "createdAt": "2026-05-04T01:24:01.000Z", + "updatedAt": "2026-05-04T01:25:01.000Z", + "deletedAt": "" } ], "Practitioner": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "name": "Closed practice (deleted)", + "specialty": null, + "practice": null, + "location": null, + "phone": null, + "locationEncrypted": null, + "phoneEncrypted": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T02:50:01.000Z", + "updatedAt": "2026-05-04T02:51:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "name": "Round-trip practice", "specialty": "Internal medicine", "practice": "rt-Practitioner-practice", "location": "rt-Practitioner-location", "phone": "rt-Practitioner-phone", - "locationEncrypted": "", - "phoneEncrypted": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "locationEncrypted": "", + "phoneEncrypted": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T02:50:00.000Z", + "updatedAt": "2026-05-04T02:51:00.000Z", "deletedAt": null } ], "Encounter": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "occurredAt": "2026-04-02T08:00:00.000Z", + "status": "DONE", + "kind": "ROUTINE", + "practitionerId": "", + "reasonEncrypted": null, + "outcomeEncrypted": null, + "bodySiteEncrypted": null, + "laterality": null, + "reminderId": null, + "createdAt": "2026-05-04T04:31:01.000Z", + "updatedAt": "2026-05-04T04:32:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "occurredAt": "2026-06-30T08:00:00.000Z", "status": "PLANNED", "kind": "ROUTINE", - "practitionerId": "", - "reasonEncrypted": "", - "outcomeEncrypted": "", - "bodySiteEncrypted": "", + "practitionerId": "", + "reasonEncrypted": "", + "outcomeEncrypted": "", + "bodySiteEncrypted": "", "laterality": "LEFT", - "reminderId": "", - "createdAt": "", - "updatedAt": "", + "reminderId": "", + "createdAt": "2026-05-04T04:31:00.000Z", + "updatedAt": "2026-05-04T04:32:00.000Z", "deletedAt": null } ], "EncounterDocumentLink": [ { - "id": "", - "encounterId": "", - "documentId": "", + "id": "", + "encounterId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T06:04:00.000Z" } ], "EncounterLabLink": [ { - "id": "", - "encounterId": "", - "labResultId": "", + "id": "", + "encounterId": "", + "labResultId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T07:44:00.000Z" } ], "EncounterConditionLink": [ { - "id": "", - "encounterId": "", - "episodeId": "", + "id": "", + "encounterId": "", + "episodeId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T09:24:00.000Z" } ], "VaccinationRecord": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "occurredAt": "2026-04-14T00:00:00.000Z", + "antigenSlug": "influenza", + "vaccineName": "Influenza (deleted)", + "doseNumber": null, + "seriesDoses": null, + "lotNumber": null, + "site": null, + "practitionerId": null, + "encounterId": null, + "reminderId": null, + "customVaccineId": null, + "noteEncrypted": null, + "createdAt": "2026-05-04T11:14:01.000Z", + "updatedAt": "2026-05-04T11:15:01.000Z", + "deletedAt": "" + }, + { + "id": "", "userId": "round-trip-owner", "occurredAt": "2026-05-14T00:00:00.000Z", "antigenSlug": "tdap", @@ -1074,28 +1388,41 @@ "seriesDoses": 3, "lotNumber": "RT-4471", "site": "LEFT_ARM", - "practitionerId": "", - "encounterId": "", - "reminderId": "", - "customVaccineId": "", - "noteEncrypted": "", - "createdAt": "", - "updatedAt": "", + "practitionerId": "", + "encounterId": "", + "reminderId": "", + "customVaccineId": "", + "noteEncrypted": "", + "createdAt": "2026-05-04T11:14:00.000Z", + "updatedAt": "2026-05-04T11:15:00.000Z", "deletedAt": null } ], "VaccinationDocumentLink": [ { - "id": "", - "vaccinationId": "", - "documentId": "", + "id": "", + "vaccinationId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-04T12:44:00.000Z" } ], "CustomVaccine": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "name": "Deleted combo", + "components": [ + "rabies" + ], + "typicalSeriesDoses": null, + "boosterIntervalMonths": null, + "deletedAt": "", + "createdAt": "2026-05-04T14:27:01.000Z", + "updatedAt": "2026-05-04T14:28:01.000Z" + }, + { + "id": "", "userId": "round-trip-owner", "name": "Round-trip travel combo", "components": [ @@ -1105,13 +1432,13 @@ "typicalSeriesDoses": 2, "boosterIntervalMonths": 36, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-04T14:27:00.000Z", + "updatedAt": "2026-05-04T14:28:00.000Z" } ], "MeasurementReminder": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "label": "Blutdruck messen", "measurementType": "BLOOD_PRESSURE_SYS", @@ -1130,53 +1457,77 @@ "lastSkippedAt": "2026-06-24T06:00:00.000Z", "skipCount": 2, "lastNotifiedAt": null, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-04T16:19:00.000Z", + "updatedAt": "2026-05-04T16:20:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "label": "Gewicht (deleted)", + "measurementType": "WEIGHT", + "intervalDays": 14, + "rrule": null, + "anchorDate": null, + "endsOn": null, + "origin": "VORSORGE", + "notifyHour": 9, + "location": null, + "nextDueAt": null, + "lastSatisfiedAt": null, + "enabled": true, + "vaccinationAntigen": null, + "snoozedUntil": null, + "lastSkippedAt": null, + "skipCount": 0, + "lastNotifiedAt": null, + "createdAt": "2026-05-04T16:19:01.000Z", + "updatedAt": "2026-05-04T16:20:01.000Z", + "deletedAt": "" } ], "MeasurementReminderEvent": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "reminderId": "", + "reminderId": "", "kind": "SATISFIED", "occurredAt": "2026-07-01T06:05:00.000Z", "onTime": true, "source": "manual", - "createdAt": "" + "createdAt": "2026-05-04T17:47:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", - "reminderId": "", + "reminderId": "", "kind": "SKIPPED", "occurredAt": "2026-06-24T06:00:00.000Z", "onTime": false, "source": "skip", - "createdAt": "" + "createdAt": "2026-05-04T17:47:01.000Z" } ], "CoachConversation": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "title": "How is my blood pressure trending?", "titleEncrypted": null, - "createdAt": "", - "updatedAt": "", - "summaryEncrypted": "", + "createdAt": "2026-05-04T19:24:00.000Z", + "updatedAt": "2026-05-04T19:25:00.000Z", + "summaryEncrypted": "", "summaryUpdatedAt": "2026-07-20T10:00:00.000Z", "summaryTurnCount": 4, "documentScoped": false }, { - "id": "", + "id": "", "userId": "round-trip-owner", "title": null, - "titleEncrypted": "", - "createdAt": "", - "updatedAt": "", + "titleEncrypted": "", + "createdAt": "2026-05-04T19:24:01.000Z", + "updatedAt": "2026-05-04T19:25:01.000Z", "summaryEncrypted": null, "summaryUpdatedAt": null, "summaryTurnCount": 0, @@ -1185,24 +1536,24 @@ ], "CoachMessage": [ { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "assistant", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": null, "providerType": "anthropic", "promptVersion": null, "tokensUsed": 812, "model": "claude-opus-5", - "resultsEncrypted": "", - "trailEncrypted": "", + "resultsEncrypted": "", + "trailEncrypted": "", "createdAt": "2026-07-20T09:59:00.000Z" }, { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "user", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": "rt-CoachMessage-metricSourceJson", "providerType": null, "promptVersion": "rt-CoachMessage-promptVersion", @@ -1213,10 +1564,10 @@ "createdAt": "2026-07-20T09:58:00.000Z" }, { - "id": "", - "conversationId": "", + "id": "", + "conversationId": "", "role": "user", - "encryptedContent": "", + "encryptedContent": "", "metricSourceJson": null, "providerType": null, "promptVersion": null, @@ -1229,67 +1580,114 @@ ], "CoachConversationDocument": [ { - "conversationId": "", - "documentId": "", + "conversationId": "", + "documentId": "", "addedAt": "2026-07-21T07:59:00.000Z" } ], "CoachFact": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "factEncrypted": "", + "factEncrypted": "", + "category": "preference", + "confidence": 50, + "sourceConversationId": "", + "createdAt": "2026-05-05T00:26:01.000Z", + "updatedAt": "2026-05-05T00:27:01.000Z", + "deletedAt": "", + "source": "user", + "lastUsedAt": null, + "sourceMessageId": null + }, + { + "id": "", + "userId": "round-trip-owner", + "factEncrypted": "", "category": "constraint", "confidence": 80, - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "", + "sourceConversationId": "", + "createdAt": "2026-05-05T00:26:00.000Z", + "updatedAt": "2026-05-05T00:27:00.000Z", "deletedAt": null, "source": "user", "lastUsedAt": "2026-07-20T10:00:00.000Z", - "sourceMessageId": "" + "sourceMessageId": "" } ], "CoachPlan": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "metric": "BLOOD_PRESSURE", - "ifCueEncrypted": "", - "thenActionEncrypted": "", - "targetEncrypted": "", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": "", "status": "active", "reviewDate": "2026-10-01T00:00:00.000Z", - "outcomeEncrypted": "", - "sourceConversationId": "", - "createdAt": "", - "updatedAt": "", + "outcomeEncrypted": "", + "sourceConversationId": "", + "createdAt": "2026-05-05T02:10:00.000Z", + "updatedAt": "2026-05-05T02:11:00.000Z", "deletedAt": null + }, + { + "id": "", + "userId": "round-trip-owner", + "metric": "WEIGHT", + "ifCueEncrypted": "", + "thenActionEncrypted": "", + "targetEncrypted": null, + "status": "active", + "reviewDate": null, + "outcomeEncrypted": null, + "sourceConversationId": null, + "createdAt": "2026-05-05T02:10:01.000Z", + "updatedAt": "2026-05-05T02:11:01.000Z", + "deletedAt": "" } ], "CoachReminder": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "noteEncrypted": "", + "noteEncrypted": "", + "metric": null, + "relatedPlanId": "", + "triggerKind": "date", + "dueAt": "2026-09-15T07:00:00.000Z", + "contextCue": null, + "status": "active", + "source": "extractor", + "sourceConversationId": null, + "lastSurfacedAt": null, + "surfaceCount": 0, + "createdAt": "2026-05-05T03:53:01.000Z", + "updatedAt": "2026-05-05T03:54:01.000Z", + "deletedAt": "" + }, + { + "id": "", + "userId": "round-trip-owner", + "noteEncrypted": "", "metric": "BLOOD_PRESSURE", - "relatedPlanId": "", + "relatedPlanId": "", "triggerKind": "rt-CoachReminder-triggerKind", "dueAt": "2026-09-01T07:00:00.000Z", "contextCue": "rt-CoachReminder-contextCue", "status": "rt-CoachReminder-status", "source": "extractor", - "sourceConversationId": "", + "sourceConversationId": "", "lastSurfacedAt": "2026-06-30T12:34:56.789Z", "surfaceCount": 2, - "createdAt": "", - "updatedAt": "", + "createdAt": "2026-05-05T03:53:00.000Z", + "updatedAt": "2026-05-05T03:54:00.000Z", "deletedAt": null } ], "MedicationInventoryItem": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "state": "ACTIVE", @@ -1297,18 +1695,18 @@ "unitsTotal": "decimal:30", "unitsRemaining": "decimal:21", "firstUseAt": "2026-07-01T08:00:00.000Z", - "expiresAt": "2027-01-31T00:00:00.000Z", + "expiresAt": "2026-05-05T05:28:00.000Z", "printedExpiry": "2026-06-30T12:34:56.789Z", "purchasedAt": "2026-06-30T12:34:56.789Z", "manufacturer": "Fixture Pharma", "doseStrength": "10 mg", "notes": "rt-MedicationInventoryItem-notes", - "notesEncrypted": "", - "createdAt": "", - "updatedAt": "" + "notesEncrypted": "", + "createdAt": "2026-05-05T05:35:00.000Z", + "updatedAt": "2026-05-05T05:36:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "medicationId": "", "state": "USED_UP", @@ -1323,20 +1721,20 @@ "doseStrength": null, "notes": null, "notesEncrypted": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T05:35:01.000Z", + "updatedAt": "2026-05-05T05:36:01.000Z" } ], "MedicationInventoryEvent": [ { - "id": "", + "id": "", "medicationId": "", "delta": -8, "reason": "consumed", "occurredAt": "2026-07-09T07:00:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "delta": 30, "reason": "purchased", @@ -1345,26 +1743,26 @@ ], "MoodTagCategory": [ { - "id": "", + "id": "", "key": "round_trip_own_category", "labelKey": "mood.category.roundTripOwn", "icon": "rt-MoodTagCategory-icon", "sortOrder": 90, "isActive": false, "userId": "round-trip-owner", - "labelEncrypted": "" + "labelEncrypted": "" } ], "MoodTagHidden": [ { "userId": "round-trip-owner", "moodTagId": "mt_grateful", - "createdAt": "" + "createdAt": "2026-05-05T10:22:00.000Z" } ], "ReminderPhaseConfig": [ { - "id": "", + "id": "", "medicationId": "", "greenValue": 45, "greenMode": "PERCENT", @@ -1378,12 +1776,32 @@ ], "MentalHealthAssessment": [ { - "id": "", + "id": "", + "userId": "round-trip-owner", + "instrument": "GAD7", + "locale": "en", + "version": "standard", + "responsesEncrypted": "", + "totalScore": 4, + "severityBand": "minimal", + "item9Flagged": false, + "crisisShownAt": null, + "takenAt": "2026-06-05T18:00:00.000Z", + "tz": "Europe/Berlin", + "source": "WEB", + "externalId": null, + "syncVersion": 0, + "deletedAt": "", + "createdAt": "2026-05-05T13:56:01.000Z", + "updatedAt": "2026-05-05T13:57:01.000Z" + }, + { + "id": "", "userId": "round-trip-owner", "instrument": "PHQ9", "locale": "de", "version": "rt-MentalHealthAssessment-version", - "responsesEncrypted": "", + "responsesEncrypted": "", "totalScore": 14, "severityBand": "moderate", "item9Flagged": true, @@ -1394,59 +1812,59 @@ "externalId": "rt-MentalHealthAssessment-externalId", "syncVersion": 3, "deletedAt": null, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T13:56:00.000Z", + "updatedAt": "2026-05-05T13:57:00.000Z" } ], "ConsentReceipt": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "ai-processing", "artefact": "JVBERi0xLjQKJWZpeHR1cmU=", "signedAt": "2026-06-01T09:00:00.000Z", "revokedAt": null, - "createdAt": "" + "createdAt": "2026-05-05T15:26:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "kind": "research-sharing", "artefact": "eyJhbGciOiJub25lIn0.e30.", "signedAt": "2026-06-02T09:00:00.000Z", "revokedAt": "2026-07-10T11:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T15:26:01.000Z" } ], "DocumentConditionLink": [ { - "id": "", - "documentId": "", - "episodeId": "", + "id": "", + "documentId": "", + "episodeId": "", "userId": "round-trip-owner", "createdAt": "2026-07-02T09:00:00.000Z" } ], "ExtractedFact": [ { - "id": "", - "documentId": "", + "id": "", + "documentId": "", "userId": "round-trip-owner", "factType": "OBSERVATION", "status": "APPROVED", "confidence": 0.94, "needsReview": false, - "dataEncrypted": "", - "provenanceEncrypted": "", - "committedRecordId": "", + "dataEncrypted": "", + "provenanceEncrypted": "", + "committedRecordId": "", "committedRecordType": "labResult", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-05T18:51:00.000Z", + "updatedAt": "2026-05-05T18:52:00.000Z" } ], "PersonalRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WALKING_RUNNING_DISTANCE", "metricSlot": "running_10km_time", @@ -1457,10 +1875,10 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-10km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:02.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WALKING_RUNNING_DISTANCE", "metricSlot": "running_5km_time", @@ -1471,10 +1889,10 @@ "sourceMeasurementId": null, "source": "APPLE_HEALTH", "externalId": "workout-pr-5km", - "createdAt": "" + "createdAt": "2026-05-05T20:31:01.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "metricType": "WEIGHT", "metricSlot": null, @@ -1485,31 +1903,31 @@ "sourceMeasurementId": "", "source": "MANUAL", "externalId": null, - "createdAt": "" + "createdAt": "2026-05-05T20:31:00.000Z" } ], "UserAchievement": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "achievementId": "intake-total-10", "unlockedAt": "2026-02-21T10:15:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "achievementId": "retired-badge-from-an-older-release", "unlockedAt": "2025-11-05T08:00:00.000Z", - "createdAt": "" + "createdAt": "2026-05-05T22:04:01.000Z" } ], "EnvironmentContext": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-15", - "locationEncrypted": "", + "locationEncrypted": "", "source": "TRAVEL", "tempMin": 19.4, "tempMax": 28.1, @@ -1546,14 +1964,14 @@ "aqHours": 3, "aqFetchedAt": "2026-06-30T12:34:56.789Z", "fetchedAt": "2026-06-16T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:00.000Z", + "updatedAt": "2026-05-06T00:21:00.000Z" }, { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-07-01", - "locationEncrypted": "", + "locationEncrypted": "", "source": "HOME", "tempMin": 13.1, "tempMax": 22.7, @@ -1590,24 +2008,24 @@ "aqHours": null, "aqFetchedAt": null, "fetchedAt": "2026-07-02T03:15:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T00:20:01.000Z", + "updatedAt": "2026-05-06T00:21:01.000Z" } ], "EnvironmentTravelLocation": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "startDate": "2026-06-10", "endDate": "2026-06-20", - "locationEncrypted": "", - "createdAt": "", - "updatedAt": "" + "locationEncrypted": "", + "createdAt": "2026-05-06T01:25:00.000Z", + "updatedAt": "2026-05-06T01:26:00.000Z" } ], "DawarichDay": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "date": "2026-06-15", "totalDistanceM": 48300, @@ -1615,16 +2033,16 @@ "trainDistanceM": 30500, "placesVisited": 4, "awayFromHomeMinutes": 1440, - "countryCodeEncrypted": "", + "countryCodeEncrypted": "", "isTravelDay": true, "fetchedAt": "2026-06-16T03:20:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T03:11:00.000Z", + "updatedAt": "2026-05-06T03:12:00.000Z" } ], "MedicationScheduleRevision": [ { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-01-01T00:00:00.000Z", "validUntil": "2026-03-01T00:00:00.000Z", @@ -1637,10 +2055,10 @@ ], "source": "ARCHIVED", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:00.000Z" }, { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-02-01T00:00:00.000Z", "validUntil": "2026-03-01T00:00:00.000Z", @@ -1652,11 +2070,11 @@ } ], "source": "ARCHIVED", - "supersededByRevisionId": "", - "createdAt": "" + "supersededByRevisionId": "", + "createdAt": "2026-05-06T04:47:02.000Z" }, { - "id": "", + "id": "", "medicationId": "", "validFrom": "2026-03-01T00:00:00.000Z", "validUntil": "2026-05-01T00:00:00.000Z", @@ -1669,28 +2087,28 @@ ], "source": "MANUAL", "supersededByRevisionId": null, - "createdAt": "" + "createdAt": "2026-05-06T04:47:01.000Z" } ], "MedicationEfficacyTarget": [ { - "id": "", + "id": "", "medicationId": "", "measurementType": "WEIGHT", - "biomarkerId": "", + "biomarkerId": "", "primary": false, - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T06:25:00.000Z", + "updatedAt": "2026-05-06T06:26:00.000Z" } ], "EcgRecording": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "source": "MANUAL", "externalRecordingId": "round-trip-signal-1", "recordedAt": "2026-06-15T14:22:00.000Z", - "waveformEncrypted": "", + "waveformEncrypted": "", "samplingFrequency": 300, "sampleCount": 8, "durationSeconds": 0.02666666666666667, @@ -1698,13 +2116,13 @@ "averageHeartRate": 88, "rhythmClassification": "IRREGULAR", "measurementId": "", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T08:13:00.000Z", + "updatedAt": "2026-05-06T08:14:00.000Z" } ], "OnboardingRecord": [ { - "id": "", + "id": "", "userId": "round-trip-owner", "needsJson": { "areas": [ @@ -1743,80 +2161,80 @@ }, "modulesDerivedAt": "2026-07-01T08:00:00.000Z", "completedAt": "2026-07-01T08:00:00.000Z", - "createdAt": "", - "updatedAt": "" + "createdAt": "2026-05-06T09:47:00.000Z", + "updatedAt": "2026-05-06T09:48:00.000Z" } ], "BiomarkerAlias": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "biomarkerId": "", + "biomarkerId": "", "name": "Ferr.", "nameFolded": "ferr.", "source": "IMPORT_CHOICE", - "createdAt": "" + "createdAt": "2026-05-06T11:26:00.000Z" } ], "BiomarkerMerge": [ { - "id": "", + "id": "", "userId": "round-trip-owner", - "targetBiomarkerId": "", + "targetBiomarkerId": "", "sourceBiomarkerId": "merged-away-marker", "sourceName": "Ferritin (Serum)", "readingCount": 3, - "mergedAt": "" + "mergedAt": "2026-05-06T13:06:00.000Z" } ], "LabResultDocumentLink": [ { - "id": "", - "labResultId": "", - "documentId": "", + "id": "", + "labResultId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T14:44:00.000Z" } ], "EncounterMedicationLink": [ { - "id": "", - "encounterId": "", + "id": "", + "encounterId": "", "medicationId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T16:24:00.000Z" } ], "EncounterVaccinationLink": [ { - "id": "", - "encounterId": "", - "vaccinationId": "", + "id": "", + "encounterId": "", + "vaccinationId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T18:04:00.000Z" } ], "MedicationDocumentLink": [ { - "id": "", + "id": "", "medicationId": "", - "documentId": "", + "documentId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T19:44:00.000Z" } ], "MedicationConditionLink": [ { - "id": "", + "id": "", "medicationId": "", - "episodeId": "", + "episodeId": "", "userId": "round-trip-owner", - "createdAt": "" + "createdAt": "2026-05-06T21:24:00.000Z" } ], "AccountGrant": [ { - "id": "", + "id": "", "grantorId": "round-trip-owner", "granteeId": "parity-delegate", "access": "WRITE", @@ -1825,13 +2243,13 @@ "measurements" ] }, - "invitedAt": "", + "invitedAt": "2026-05-07T02:25:00.000Z", "acceptedAt": "2026-07-02T09:00:00.000Z", "revokedAt": null, "revokedBy": null, "expiresAt": null, "lastUsedAt": null, - "createdAt": "" + "createdAt": "2026-05-07T02:31:00.000Z" } ], "User": { @@ -1843,7 +2261,7 @@ "oidcIssuer": "rt-User-oidcIssuer", "oidcSub": "rt-User-oidcSub", "createdAt": "2026-06-30T12:34:56.789Z", - "updatedAt": "", + "updatedAt": "2026-05-06T23:08:00.000Z", "managedProfileAt": "2026-06-30T12:34:56.789Z", "heightCm": 2.5, "dateOfBirth": "2026-06-30T12:34:56.789Z", @@ -1851,20 +2269,20 @@ "timezone": "America/Chicago", "homeTimezone": "Asia/Tokyo", "homeSince": "2026-06-30T12:34:56.789Z", - "homeLocationEncrypted": "", + "homeLocationEncrypted": "", "environmentAirQualityEnabled": false, "environmentAqHistoryJson": { "roundTrip": "rt-User-environmentAqHistoryJson" }, - "codexAccessTokenEncrypted": "", - "codexRefreshTokenEncrypted": "", + "codexAccessTokenEncrypted": "", + "codexRefreshTokenEncrypted": "", "codexTokenExpiresAt": "2026-06-30T12:34:56.789Z", "codexConnectedAt": "2026-06-30T12:34:56.789Z", "codexConnectionStatus": "rt-User-codexConnectionStatus", "useCentralCodex": true, "insightsPrivacyMode": "raw", "insightsCachedAt": "2026-06-30T12:34:56.789Z", - "insightsCachedTextEncrypted": "", + "insightsCachedTextEncrypted": "", "insightsCachedLocale": "rt-User-insightsCachedLocale", "insightsSnapshotHash": "rt-User-insightsSnapshotHash", "insightsWarmFailedAt": "2026-06-30T12:34:56.789Z", @@ -1879,29 +2297,29 @@ "telegramBotToken": "rt-User-telegramBotToken", "telegramChatId": "rt-User-telegramChatId", "telegramEnabled": true, - "withingsClientIdEncrypted": "", - "withingsClientSecretEncrypted": "", - "whoopClientIdEncrypted": "", - "whoopClientSecretEncrypted": "", - "fitbitClientIdEncrypted": "", - "fitbitClientSecretEncrypted": "", - "googleHealthClientIdEncrypted": "", - "googleHealthClientSecretEncrypted": "", - "nightscoutUrlEncrypted": "", - "nightscoutTokenEncrypted": "", + "withingsClientIdEncrypted": "", + "withingsClientSecretEncrypted": "", + "whoopClientIdEncrypted": "", + "whoopClientSecretEncrypted": "", + "fitbitClientIdEncrypted": "", + "fitbitClientSecretEncrypted": "", + "googleHealthClientIdEncrypted": "", + "googleHealthClientSecretEncrypted": "", + "nightscoutUrlEncrypted": "", + "nightscoutTokenEncrypted": "", "nightscoutAllowPrivateHost": true, - "dawarichUrlEncrypted": "", - "dawarichApiKeyEncrypted": "", - "dawarichPrefsEncrypted": "", + "dawarichUrlEncrypted": "", + "dawarichApiKeyEncrypted": "", + "dawarichPrefsEncrypted": "", "dawarichAllowPrivateHost": true, - "polarAccessTokenEncrypted": "", - "polarUserIdEncrypted": "", - "polarClientIdEncrypted": "", - "polarClientSecretEncrypted": "", - "ouraAccessTokenEncrypted": "", - "ouraRefreshTokenEncrypted": "", - "ouraClientIdEncrypted": "", - "ouraClientSecretEncrypted": "", + "polarAccessTokenEncrypted": "", + "polarUserIdEncrypted": "", + "polarClientIdEncrypted": "", + "polarClientSecretEncrypted": "", + "ouraAccessTokenEncrypted": "", + "ouraRefreshTokenEncrypted": "", + "ouraClientIdEncrypted": "", + "ouraClientSecretEncrypted": "", "ouraScopeDenied": { "roundTrip": "rt-User-ouraScopeDenied" }, @@ -1913,10 +2331,10 @@ "clientAppSharedBy": { "roundTrip": "rt-User-clientAppSharedBy" }, - "stravaClientIdEncrypted": "", - "stravaClientSecretEncrypted": "", - "stravaAccessTokenEncrypted": "", - "stravaRefreshTokenEncrypted": "", + "stravaClientIdEncrypted": "", + "stravaClientSecretEncrypted": "", + "stravaAccessTokenEncrypted": "", + "stravaRefreshTokenEncrypted": "", "stravaAthleteId": "rt-User-stravaAthleteId", "stravaLastActivityAt": "2026-06-30T12:34:56.789Z", "stravaBackfillCompletedAt": "2026-06-30T12:34:56.789Z", @@ -1963,11 +2381,11 @@ "aiProvider": "LOCAL", "aiModel": "rt-User-aiModel", "aiBaseUrl": "https://llm.example.com/v1", - "aiAnthropicKeyEncrypted": "", - "aiLocalKeyEncrypted": "", - "aiOpenaiKeyEncrypted": "", + "aiAnthropicKeyEncrypted": "", + "aiLocalKeyEncrypted": "", + "aiOpenaiKeyEncrypted": "", "aiCompatBaseUrl": "https://gateway.example.com/v1", - "aiCompatKeyEncrypted": "", + "aiCompatKeyEncrypted": "", "aiCompatModel": "rt-User-aiCompatModel", "aiProviderChain": { "roundTrip": "rt-User-aiProviderChain" @@ -2017,14 +2435,14 @@ "avatarBytes": "", "avatarContentType": "image/png", "avatarUpdatedAt": "2026-06-30T12:34:56.789Z", - "totpSecretEncrypted": "", + "totpSecretEncrypted": "", "totpConfirmedAt": "2026-06-30T12:34:56.789Z", "totpLastStep": "bigint:5", "mfaEnforced": true, "passkeyUpgradeNudgeDismissed": true, "fullName": "rt-User-fullName", "insurerName": "rt-User-insurerName", - "insuranceNumberEncrypted": "", + "insuranceNumberEncrypted": "", "insurerIkNumber": "rt-User-insurerIkNumber" }, "AppSettings": { @@ -2036,7 +2454,7 @@ "ntfyGlobal": false, "webPushGlobal": false, "webPushVapidPublicKey": "rt-AppSettings-webPushVapidPublicKey", - "webPushVapidPrivateKeyEncrypted": "", + "webPushVapidPrivateKeyEncrypted": "", "webPushVapidSubject": "rt-AppSettings-webPushVapidSubject", "apiGlobal": false, "umamiEnabled": true, @@ -2050,12 +2468,12 @@ "glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason", "reminderLateMinutes": 3, "reminderMissedMinutes": 3, - "adminAiKeyEncrypted": "", + "adminAiKeyEncrypted": "", "adminAiModel": "rt-AppSettings-adminAiModel", "adminAiBaseUrl": "rt-AppSettings-adminAiBaseUrl", - "adminCodexAccessTokenEncrypted": "", - "adminCodexRefreshTokenEncrypted": "", - "adminCodexAccountIdEncrypted": "", + "adminCodexAccessTokenEncrypted": "", + "adminCodexRefreshTokenEncrypted": "", + "adminCodexAccountIdEncrypted": "", "adminCodexTokenExpiresAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectedAt": "2026-06-30T12:34:56.789Z", "adminCodexConnectionStatus": "rt-AppSettings-adminCodexConnectionStatus", diff --git a/tests/integration/backup-parity.test.ts b/tests/integration/backup-parity.test.ts index 0d6903442..3e83e614c 100644 --- a/tests/integration/backup-parity.test.ts +++ b/tests/integration/backup-parity.test.ts @@ -22,15 +22,29 @@ * 5. Hand the restore malformed and unresolvable files and pin each refusal * and each skip report, and the schema's issue list for a bad file. * + * The account carries a tombstone of every model that keeps them and both + * self-references (a flare under its condition, a superseded profile fact), + * so the second restore pass has something to resolve. Every timestamp the + * database stamped while the fixture ran is pinned to a fixed historical + * value, and the seeded account is asserted to hold none of this run's: a + * restore that drops a row's `createdAt` then shows up as `` against a + * historical value instead of hiding behind a seeded ``. The fixture is + * sealed under the legacy key `v1`, and a second key is active from the + * export on, so a value the restore re-encrypts instead of carrying over + * comes back under `v2`. + * * Values that legitimately differ between two runs are normalised, never * dropped: ids become `` in order of first appearance, ciphertext - * becomes the text it opens to (or its length when no codec opens it), and a - * timestamp written during the run becomes ``. Key order is kept, so a - * file that carries the same values in another order differs. + * becomes the key id it names and the text it opens to (or its length when no + * codec opens it), and a timestamp written during the run becomes ``. + * Key order is kept, so a file that carries the same values in another order + * differs. * * `BACKUP_PARITY_WRITE=1` rewrites the golden copies. Only do that for a * change that means to alter the backup, and review the diff of - * `tests/integration/__golden__/backup-parity/` as part of it. + * `tests/integration/__golden__/backup-parity/` as part of it. A change to + * this harness itself writes them from the backup code as it was before the + * change under test, never from the code being checked. */ import { Buffer } from "node:buffer"; import { existsSync, mkdirSync, readFileSync, writeFileSync } from "node:fs"; @@ -39,8 +53,16 @@ import { join, resolve } from "node:path"; import { afterAll, beforeAll, describe, expect, it, vi } from "vitest"; import type { PrismaClient } from "@/generated/prisma/client"; -import { decrypt, decryptBytes, encrypt } from "@/lib/crypto"; -import { decryptFromBytes } from "@/lib/ai/coach/bytes-codec"; +import { + _resetCryptoCacheForTests, + decrypt, + decryptBytes, + encrypt, + encryptBytes, + extractKeyId, + extractKeyIdFromBytes, +} from "@/lib/crypto"; +import { decryptFromBytes, encryptToBytes } from "@/lib/ai/coach/bytes-codec"; import { openDayCountry } from "@/lib/dawarich/connection"; import { openLocation } from "@/lib/environment/location-cipher"; import { decryptFactData, decryptFactProvenance } from "@/lib/documents/store"; @@ -68,6 +90,7 @@ import { syntheticValue, } from "./backup-column-audit"; import { + AT, COLUMN_PRESENCE_ONLY, FILL_OVERRIDES, OWNER_ID, @@ -187,6 +210,34 @@ function openBytes(value: Uint8Array): string | null { return null; } +/** + * The key id of a sealed byte value: the header of the binary codec, or the + * `.` prefix of a string-codec ciphertext stored as its UTF-8 bytes. + * `-` for neither. + */ +function bytesKeyId(value: Uint8Array): string { + const buffer = Buffer.from(value); + return ( + extractKeyIdFromBytes(buffer) ?? + extractKeyId(buffer.toString("utf8")) ?? + "-" + ); +} + +/** + * The key id of a sealed string: the `.` prefix of the string codec, or + * the header of a sealed byte value carried as base64. `-` for neither (the + * unversioned legacy string form, or another codec). + */ +function stringKeyId(value: string): string { + const id = extractKeyId(value); + if (id !== null) return id; + if (value.length % 4 === 0 && BASE64.test(value)) { + return bytesKeyId(Buffer.from(value, "base64")); + } + return "-"; +} + function openString(value: string): string | null { try { return decrypt(value); @@ -234,11 +285,18 @@ class Normaliser { return DAY.test(out) && this.days.has(out) ? "" : out; } + /** + * A sealed string, as the key it was sealed under and the text it opens to. + * The key id is part of the comparison: a restore that re-encrypted a value + * the file carried as ciphertext opens to the same text under another key, + * and only the id shows it. + */ sealed(value: string): string { const opened = openString(value); + const kid = stringKeyId(value); return opened === null - ? `` - : ``; + ? `` + : ``; } /** A JSON value, key order kept. */ @@ -267,7 +325,7 @@ class Normaliser { const opened = openBytes(value); return opened === null ? `` - : ``; + : ``; } if (typeof value === "bigint") return `bigint:${value}`; if ( @@ -515,7 +573,369 @@ async function seedMaximalAccount(prisma: PrismaClient) { acceptedAt: new Date("2026-07-02T09:00:00.000Z"), }, }); - return { admin, unfillable: unfillable.sort() }; + await seedTombstones(prisma); + await seedSelfReferences(prisma); + const unpinned = await pinRunTimeTimestamps(prisma); + rotateActiveKey(); + return { admin, unfillable: unfillable.sort(), unpinned }; +} + +/** + * One soft-deleted row of every model that keeps tombstones, beside the live + * rows the fixture seeds. A disaster-recovery file carries the tombstones a + * device sync needs to keep a deleted row deleted, and the golden copies pin + * which models' tombstones the file carries and that each comes back deleted. + * Seeded after the column fill so the fill still lands on the live rows. + */ +async function seedTombstones(prisma: PrismaClient) { + const deletedAt = AT(TOMBSTONE_DELETED_AT); + const userId = OWNER_ID; + const medication = await prisma.medication.findFirstOrThrow({ + where: { userId, name: "Round-trip tablet" }, + }); + const episode = await prisma.illnessEpisode.findFirstOrThrow({ + where: { userId, label: "Cold" }, + }); + const cycle = await prisma.menstrualCycle.findFirstOrThrow({ + where: { userId, startDate: "2026-06-01" }, + }); + const metric = await prisma.customMetric.findFirstOrThrow({ + where: { userId, name: "Grip strength" }, + }); + const thread = await prisma.coachConversation.findFirstOrThrow({ + where: { userId, documentScoped: false }, + }); + + await prisma.medicationIntakeEvent.create({ + data: { + userId, + medicationId: medication.id, + scheduledFor: AT("2026-07-02T08:00:00.000Z"), + takenAt: AT("2026-07-02T08:03:00.000Z"), + deletedAt, + }, + }); + await prisma.mentalHealthAssessment.create({ + data: { + userId, + instrument: "GAD7", + locale: "en", + version: "standard", + responsesEncrypted: encryptToBytes( + JSON.stringify({ items: [1, 1, 0, 1, 0, 1, 0], schema: 1 }), + ), + totalScore: 4, + severityBand: "minimal", + takenAt: AT("2026-06-05T18:00:00.000Z"), + tz: "Europe/Berlin", + source: "WEB", + deletedAt, + }, + }); + await prisma.moodEntry.create({ + data: { + userId, + date: "2026-07-03", + mood: "SCHLECHT", + score: 2, + moodLoggedAt: AT("2026-07-03T20:00:00.000Z"), + deletedAt, + }, + }); + await prisma.measurementReminder.create({ + data: { + userId, + label: "Gewicht (deleted)", + measurementType: "WEIGHT", + intervalDays: 14, + deletedAt, + }, + }); + await prisma.labResult.create({ + data: { + userId, + analyte: "TSH", + value: 2.1, + unit: "mU/L", + takenAt: AT("2026-05-30T09:00:00.000Z"), + deletedAt, + }, + }); + await prisma.customMetric.create({ + data: { userId, name: "Plank (deleted)", unit: "s", deletedAt }, + }); + await prisma.customMetricEntry.create({ + data: { + userId, + customMetricId: metric.id, + value: 40, + unit: "kg", + measuredAt: AT("2026-06-28T18:00:00.000Z"), + deletedAt, + }, + }); + await prisma.coachFact.create({ + data: { + userId, + factEncrypted: encryptToBytes("a fact the person deleted"), + category: "preference", + sourceConversationId: thread.id, + source: "user", + deletedAt, + }, + }); + const plan = await prisma.coachPlan.create({ + data: { + userId, + metric: "WEIGHT", + ifCueEncrypted: encryptToBytes("if the scale reads over 75"), + thenActionEncrypted: encryptToBytes("then skip the second helping"), + status: "active", + deletedAt, + }, + }); + await prisma.coachReminder.create({ + data: { + userId, + noteEncrypted: encryptToBytes("a reminder the person deleted"), + relatedPlanId: plan.id, + triggerKind: "date", + dueAt: AT("2026-09-15T07:00:00.000Z"), + status: "active", + source: "extractor", + deletedAt, + }, + }); + await prisma.menstrualCycle.create({ + data: { userId, startDate: "2026-05-04", deletedAt }, + }); + await prisma.cycleDayLog.create({ + data: { + userId, + cycleId: cycle.id, + date: "2026-06-03", + flow: "LIGHT", + deletedAt, + }, + }); + await prisma.illnessEpisode.create({ + data: { + userId, + label: "Sprained ankle (deleted)", + type: "INJURY", + onsetAt: AT("2026-04-10T00:00:00.000Z"), + deletedAt, + }, + }); + await prisma.illnessDayLog.create({ + data: { userId, episodeId: episode.id, date: "2026-06-22", deletedAt }, + }); + await prisma.allergy.create({ + data: { userId, substance: "Latex (deleted)", deletedAt }, + }); + await prisma.familyHistoryEntry.create({ + data: { + userId, + relationship: "FATHER", + condition: "Hypertension (deleted)", + notesEncrypted: encryptToBytes("diagnosed at fifty"), + deletedAt, + }, + }); + const bytes = encryptBytes(Buffer.from("a page the person deleted")); + const contentEncrypted = new Uint8Array(new ArrayBuffer(bytes.byteLength)); + contentEncrypted.set(bytes); + await prisma.inboundDocument.create({ + data: { + userId, + kind: "OTHER", + title: "Deleted scan", + filename: "deleted-scan.pdf", + mimeType: "application/pdf", + byteSize: bytes.byteLength, + contentEncrypted, + contentCodec: "binary2", + deletedAt, + }, + }); + const practitioner = await prisma.practitioner.create({ + data: { userId, name: "Closed practice (deleted)", deletedAt }, + }); + await prisma.encounter.create({ + data: { + userId, + occurredAt: AT("2026-04-02T08:00:00.000Z"), + status: "DONE", + kind: "ROUTINE", + practitionerId: practitioner.id, + deletedAt, + }, + }); + await prisma.customVaccine.create({ + data: { userId, name: "Deleted combo", components: ["rabies"], deletedAt }, + }); + await prisma.vaccinationRecord.create({ + data: { + userId, + occurredAt: AT("2026-04-14T00:00:00.000Z"), + antigenSlug: "influenza", + vaccineName: "Influenza (deleted)", + deletedAt, + }, + }); + await prisma.lifeEvent.create({ + data: { + userId, + category: "OTHER", + startDate: "2025-12-01", + precision: "DAY", + titleEncrypted: encryptToBytes("an event the person deleted"), + deletedAt, + }, + }); +} + +/** + * The two models that point at another row of themselves. The restore writes + * those pointers in a second pass once every row of the model is back; with + * the pointers null, nothing in the file exercised it. + */ +async function seedSelfReferences(prisma: PrismaClient) { + const userId = OWNER_ID; + const chronic = await prisma.illnessEpisode.findFirstOrThrow({ + where: { userId, label: "Iron deficiency" }, + }); + await prisma.illnessEpisode.create({ + data: { + userId, + label: "Iron deficiency flare", + type: "CHRONIC", + lifecycle: "FLARE", + onsetAt: AT("2026-06-25T00:00:00.000Z"), + parentConditionId: chronic.id, + }, + }); + const first = await prisma.healthProfileFactRevision.findFirstOrThrow({ + where: { userId, kind: "SMOKING_STATUS" }, + }); + const correction = await prisma.healthProfileFactRevision.create({ + data: { + userId, + kind: "SMOKING_STATUS", + valueEncrypted: encryptToBytes("former"), + validFrom: AT("2026-02-01T00:00:00.000Z"), + provenance: "USER_REPORTED", + }, + }); + await prisma.healthProfileFactRevision.update({ + where: { id: first.id }, + data: { supersededByRevisionId: correction.id }, + }); +} + +/** + * Give every timestamp the database stamped while the fixture ran a fixed + * historical value. A restore that loses a row's `createdAt` writes the + * restore's own time; while the seeded value was itself "now", both read as + * `` after normalisation and the loss could not show. Pinned, the seeded + * account holds no run-time timestamp at all (asserted below), so a `` in + * a restored row is the restore's own doing and is pinned as such. Returns the + * columns that would not take a value. + */ +async function pinRunTimeTimestamps(prisma: PrismaClient): Promise { + const from = RUN_STARTED - 5 * 60_000; + const runTime = (value: unknown) => + value instanceof Date && value.getTime() >= from; + const base = Date.UTC(2026, 4, 1, 8, 0, 0); + const unpinned: string[] = []; + const pin = async ( + model: AuditModel, + rows: Record[], + modelIndex: number, + ) => { + for (const [rowIndex, row] of rows.entries()) { + const data: Record = {}; + model.columns.forEach((column, columnIndex) => { + if (column.type !== "DateTime" || !runTime(row[column.name])) return; + data[column.name] = new Date( + base + (modelIndex * 100 + columnIndex) * 60_000 + rowIndex * 1000, + ); + }); + if (Object.keys(data).length === 0) continue; + try { + await delegateOf(prisma, model).update({ + where: primaryKeyWhere(model, row), + data, + }); + } catch { + unpinned.push(`${model.name}:${Object.keys(data).join(",")}`); + } + } + }; + const models = auditModels(prisma); + const byName = new Map(models.map((m) => [m.name, m])); + for (const [index, model] of models.entries()) { + const rows = await delegateOf(prisma, model).findMany({ + where: ownerWhere(byName, prisma, model.name, OWNER_ID), + orderBy: model.primaryKey.map((key) => ({ [key]: "asc" as const })), + }); + await pin(model, rows, index); + } + const extra = readAuditModels(prisma, [ + "User", + "AppSettings", + "AccountGrant", + ]); + const [user, settings, grant] = extra; + await pin( + user, + [await prisma.user.findUniqueOrThrow({ where: { id: OWNER_ID } })], + models.length, + ); + await pin( + settings, + [ + await prisma.appSettings.findUniqueOrThrow({ + where: { id: "singleton" }, + }), + ], + models.length + 1, + ); + await pin( + grant, + (await prisma.accountGrant.findMany({ + where: { grantorId: OWNER_ID }, + orderBy: { id: "asc" }, + })) as Record[], + models.length + 2, + ); + return unpinned.sort(); +} + +/** + * Everything above was sealed under the legacy key, which the environment + * names `v1`. From here on a second key is the active one, so a value the + * restore re-encrypts instead of carrying over comes back under `v2`, and the + * key id in the normalised copies shows it. + */ +const ORIGINAL_KEY_ENV = { + keys: process.env.ENCRYPTION_KEYS, + active: process.env.ENCRYPTION_ACTIVE_KEY_ID, +}; +function rotateActiveKey() { + process.env.ENCRYPTION_KEYS = JSON.stringify({ v2: "11".repeat(32) }); + process.env.ENCRYPTION_ACTIVE_KEY_ID = "v2"; + _resetCryptoCacheForTests(); +} +function restoreKeyEnv() { + for (const [name, value] of [ + ["ENCRYPTION_KEYS", ORIGINAL_KEY_ENV.keys], + ["ENCRYPTION_ACTIVE_KEY_ID", ORIGINAL_KEY_ENV.active], + ] as const) { + if (value === undefined) delete process.env[name]; + else process.env[name] = value; + } + _resetCryptoCacheForTests(); } /** Every row the account holds, model by model, normalised. */ @@ -705,15 +1125,20 @@ describe("backup parity", () => { }, SLOW); afterAll(async () => { + restoreKeyEnv(); await truncateAllTables(prisma); }, SLOW); it( "exports the maximal account as it did", async () => { - const { admin, unfillable } = await seedMaximalAccount(prisma); + const { admin, unfillable, unpinned } = await seedMaximalAccount(prisma); adminId = admin.id; const before = await snapshotAccount(prisma, OWNER_ID); + // The seeded account holds no timestamp of this run, so every `` + // further down is one a restore or an export wrote. + expect(unpinned).toEqual([]); + expect(JSON.stringify(before)).not.toContain(""); const dr = await exportFile(prisma, "disaster-recovery"); const portable = await exportFile(prisma, "portable-export"); drJson = dr.json;