mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 04:12:04 +00:00
Seed one account as far as the schema allows (a row of every two-ended model, every column of those rows and of the account row, the instance settings, a sharing grant), export it both ways and restore each file into a fresh account, over the live account, and from a version-1 file in the old shapes. The files, counts, parsed payload, preview, restore outcome, reported phases, audit rows, wide-event fields and every row the account holds afterwards are compared with golden copies after ids, ciphertext and run-time timestamps are normalised. Refusals, skip reports and the schema's issue list for malformed files are pinned the same way. The seed moves out of the round-trip test into a shared fixture module so both files fill the same account.
3786 lines
108 KiB
JSON
3786 lines
108 KiB
JSON
{
|
|
"outcome": {
|
|
"ok": true,
|
|
"response": {
|
|
"restored": true,
|
|
"summary": {
|
|
"schemaVersion": "2",
|
|
"userId": "round-trip-owner",
|
|
"exportedAt": "2026-08-01T00:00:00.000Z",
|
|
"measurements": 4,
|
|
"medications": 1,
|
|
"intakeEvents": 1,
|
|
"medicationSideEffects": 1,
|
|
"medicationEfficacyTargets": 1,
|
|
"medicationScheduleRevisions": 3,
|
|
"moodEntries": 1,
|
|
"cycles": 0,
|
|
"cycleDayLogs": 1,
|
|
"nutrientDays": 1,
|
|
"labResults": 1,
|
|
"biomarkers": 1,
|
|
"illnessEpisodes": 2,
|
|
"illnessDayLogs": 1,
|
|
"allergies": 1,
|
|
"familyHistory": 1,
|
|
"workouts": 1,
|
|
"documents": 0,
|
|
"documentConditionLinks": 1,
|
|
"extractedFacts": 1,
|
|
"healthProfile": 1,
|
|
"healthProfileFactRevisions": 0,
|
|
"customMetrics": 1,
|
|
"customMetricEntries": 2,
|
|
"correlationPatterns": 1,
|
|
"intradayProfiles": 1,
|
|
"healthScoreRecords": 1,
|
|
"onboardingRecords": 1,
|
|
"practitioners": 1,
|
|
"encounters": 1,
|
|
"encounterLinks": 3,
|
|
"vaccinations": 1,
|
|
"vaccinationLinks": 1,
|
|
"relationLinks": 5,
|
|
"customVaccines": 1,
|
|
"measurementReminders": 1,
|
|
"measurementReminderEvents": 2,
|
|
"coachConversations": 2,
|
|
"coachMessages": 3,
|
|
"coachFacts": 1,
|
|
"coachPlans": 1,
|
|
"coachReminders": 1,
|
|
"mentalHealthAssessments": 0,
|
|
"consentReceipts": 0,
|
|
"personalRecords": 3,
|
|
"userAchievements": 2,
|
|
"environmentContexts": 2,
|
|
"environmentTravelLocations": 1,
|
|
"dawarichDays": 1,
|
|
"ecgRecordings": 1
|
|
},
|
|
"skipped": {
|
|
"catalogueKeys": [
|
|
{
|
|
"catalogue": "coachAttachment",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "cycleCiphertext",
|
|
"key": "cycleDayLogs.2026-06-02.sensitiveEncrypted",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "documentConditionLink",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "extractedFact",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "relationLink",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "relationLink",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "vaccinationReference",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "visitReference",
|
|
"key": "<id:2>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "visitReference",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
}
|
|
],
|
|
"links": 9
|
|
},
|
|
"cleared": {
|
|
"measurements": 0,
|
|
"medications": 0,
|
|
"intakeEvents": 0,
|
|
"moodEntries": 0,
|
|
"notificationChannels": 0,
|
|
"pushSubscriptions": 0,
|
|
"telegramScheduledDeletions": 0,
|
|
"cycles": 0,
|
|
"cycleDayLogs": 0,
|
|
"cycleProfile": 0,
|
|
"labResults": 0,
|
|
"biomarkers": 0,
|
|
"nutrientDays": 0,
|
|
"illnessEpisodes": 0,
|
|
"allergies": 0,
|
|
"familyHistory": 0,
|
|
"workouts": 0,
|
|
"documents": 0,
|
|
"documentConditionLinks": 0,
|
|
"extractedFacts": 0,
|
|
"healthProfile": 0,
|
|
"healthProfileFactRevisions": 0,
|
|
"customMetrics": 0,
|
|
"correlationPatterns": 0,
|
|
"intradayProfiles": 0,
|
|
"healthScoreRecords": 0,
|
|
"onboardingRecords": 0,
|
|
"practitioners": 0,
|
|
"encounters": 0,
|
|
"encounterLinks": 0,
|
|
"vaccinations": 0,
|
|
"vaccinationLinks": 0,
|
|
"relationLinks": 0,
|
|
"customVaccines": 0,
|
|
"measurementReminders": 0,
|
|
"measurementReminderEvents": 0,
|
|
"coachConversations": 0,
|
|
"coachMessages": 0,
|
|
"coachConversationDocuments": 0,
|
|
"coachFacts": 0,
|
|
"coachPlans": 0,
|
|
"coachReminders": 0,
|
|
"mentalHealthAssessments": 0,
|
|
"consentReceipts": 0,
|
|
"personalRecords": 0,
|
|
"userAchievements": 0,
|
|
"environmentContexts": 0,
|
|
"environmentTravelLocations": 0,
|
|
"dawarichDays": 0,
|
|
"ecgRecordings": 0,
|
|
"symptomDefinitions": 0,
|
|
"lifeEvents": 0
|
|
}
|
|
}
|
|
},
|
|
"progress": [
|
|
{
|
|
"phase": "validating",
|
|
"sectionsDone": 0,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": null
|
|
},
|
|
{
|
|
"phase": "validating",
|
|
"sectionsDone": 0,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "clearing",
|
|
"sectionsDone": 0,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "measurements",
|
|
"sectionsDone": 0,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 0,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 1,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 2,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 3,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 4,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 5,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 6,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 7,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 8,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 9,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 10,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 11,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 12,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 13,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 14,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 15,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 16,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "sections",
|
|
"sectionsDone": 17,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
},
|
|
{
|
|
"phase": "rebuilding",
|
|
"sectionsDone": 17,
|
|
"sectionsTotal": 17,
|
|
"measurementsTotal": 4
|
|
}
|
|
],
|
|
"audit": [
|
|
{
|
|
"action": "admin.backups.restore.start",
|
|
"userId": "<actor>",
|
|
"details": {
|
|
"backupId": "<id:3>",
|
|
"ownerId": "round-trip-owner",
|
|
"ownerUsername": "round-trip-owner",
|
|
"snapshotExportedAt": "2026-08-01T00:00:00.000Z",
|
|
"restoreInstanceSettings": false
|
|
}
|
|
},
|
|
{
|
|
"action": "admin.backups.restore",
|
|
"userId": "<actor>",
|
|
"details": {
|
|
"backupId": "<id:3>",
|
|
"ownerId": "round-trip-owner",
|
|
"ownerUsername": "round-trip-owner",
|
|
"restoreInstanceSettings": false,
|
|
"cleared": {
|
|
"measurements": 0,
|
|
"medications": 0,
|
|
"intakeEvents": 0,
|
|
"moodEntries": 0,
|
|
"notificationChannels": 0,
|
|
"pushSubscriptions": 0,
|
|
"telegramScheduledDeletions": 0,
|
|
"cycles": 0,
|
|
"cycleDayLogs": 0,
|
|
"cycleProfile": 0,
|
|
"labResults": 0,
|
|
"biomarkers": 0,
|
|
"nutrientDays": 0,
|
|
"illnessEpisodes": 0,
|
|
"allergies": 0,
|
|
"familyHistory": 0,
|
|
"workouts": 0,
|
|
"documents": 0,
|
|
"documentConditionLinks": 0,
|
|
"extractedFacts": 0,
|
|
"healthProfile": 0,
|
|
"healthProfileFactRevisions": 0,
|
|
"customMetrics": 0,
|
|
"correlationPatterns": 0,
|
|
"intradayProfiles": 0,
|
|
"healthScoreRecords": 0,
|
|
"onboardingRecords": 0,
|
|
"practitioners": 0,
|
|
"encounters": 0,
|
|
"encounterLinks": 0,
|
|
"vaccinations": 0,
|
|
"vaccinationLinks": 0,
|
|
"relationLinks": 0,
|
|
"customVaccines": 0,
|
|
"measurementReminders": 0,
|
|
"measurementReminderEvents": 0,
|
|
"coachConversations": 0,
|
|
"coachMessages": 0,
|
|
"coachConversationDocuments": 0,
|
|
"coachFacts": 0,
|
|
"coachPlans": 0,
|
|
"coachReminders": 0,
|
|
"mentalHealthAssessments": 0,
|
|
"consentReceipts": 0,
|
|
"personalRecords": 0,
|
|
"userAchievements": 0,
|
|
"environmentContexts": 0,
|
|
"environmentTravelLocations": 0,
|
|
"dawarichDays": 0,
|
|
"ecgRecordings": 0,
|
|
"symptomDefinitions": 0,
|
|
"lifeEvents": 0
|
|
},
|
|
"accountSettingsApplied": 62,
|
|
"skipped": {
|
|
"catalogueKeys": [
|
|
{
|
|
"catalogue": "coachAttachment",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "cycleCiphertext",
|
|
"key": "cycleDayLogs.2026-06-02.sensitiveEncrypted",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "documentConditionLink",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "extractedFact",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "relationLink",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "relationLink",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "vaccinationReference",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "visitReference",
|
|
"key": "<id:2>",
|
|
"links": 1
|
|
},
|
|
{
|
|
"catalogue": "visitReference",
|
|
"key": "<id:1>",
|
|
"links": 1
|
|
}
|
|
],
|
|
"links": 9
|
|
},
|
|
"restored": {
|
|
"measurements": 4,
|
|
"medications": 1,
|
|
"intakeEvents": 1,
|
|
"moodEntries": 1,
|
|
"cycles": 0,
|
|
"cycleDayLogs": 1,
|
|
"labResults": 1,
|
|
"biomarkers": 1,
|
|
"nutrientDays": 1,
|
|
"illnessEpisodes": 2,
|
|
"illnessDayLogs": 1,
|
|
"allergies": 1,
|
|
"familyHistory": 1,
|
|
"workouts": 1,
|
|
"documents": 0,
|
|
"healthProfile": 1,
|
|
"healthProfileFactRevisions": 0,
|
|
"customMetrics": 1,
|
|
"customMetricEntries": 2,
|
|
"correlationPatterns": 1,
|
|
"practitioners": 1,
|
|
"encounters": 1,
|
|
"encounterLinks": 3,
|
|
"vaccinations": 1,
|
|
"vaccinationLinks": 1,
|
|
"relationLinks": 5,
|
|
"customVaccines": 1,
|
|
"measurementReminders": 1,
|
|
"measurementReminderEvents": 2
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"effects": {
|
|
"invalidated": [
|
|
"round-trip-owner"
|
|
],
|
|
"unitRefresh": [
|
|
"round-trip-owner"
|
|
],
|
|
"foldRepair": [
|
|
"round-trip-owner"
|
|
],
|
|
"annotations": [
|
|
{
|
|
"action": {
|
|
"name": "admin.backups.restore"
|
|
},
|
|
"meta": {
|
|
"id": "<id:3>",
|
|
"restore_instance_settings": false
|
|
}
|
|
},
|
|
{
|
|
"meta": {
|
|
"restore_expired_tombstones_skipped": 0
|
|
}
|
|
},
|
|
{
|
|
"meta": {
|
|
"restoreSkippedLinks": 9,
|
|
"restoreSkippedKeys": "coachAttachment:<id:1>,cycleCiphertext:cycleDayLogs.2026-06-02.sensitiveEncrypted,documentConditionLink:<id:1>,extractedFact:<id:1>,relationLink:<id:1>,relationLink:<id:1>,vaccinationReference:<id:1>,visitReference:<id:2>,visitReference:<id:1>"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"snapshot": {
|
|
"Measurement": [
|
|
{
|
|
"id": "<id:1>",
|
|
"userId": "round-trip-owner",
|
|
"type": "BLOOD_GLUCOSE",
|
|
"value": 5.4,
|
|
"valueMin": null,
|
|
"valueMax": null,
|
|
"unit": "mmol/L",
|
|
"source": "MANUAL",
|
|
"measuredAt": "2026-07-03T06:45:00.000Z",
|
|
"notes": null,
|
|
"notesEncrypted": null,
|
|
"externalId": null,
|
|
"externalSourceVersion": null,
|
|
"aggregationProvenance": null,
|
|
"glucoseContext": null,
|
|
"sleepStage": null,
|
|
"rhythmClassification": null,
|
|
"deviceType": null,
|
|
"syncVersion": 1,
|
|
"deletedAt": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:2>",
|
|
"userId": "round-trip-owner",
|
|
"type": "IRREGULAR_RHYTHM_NOTIFICATION",
|
|
"value": 1,
|
|
"valueMin": null,
|
|
"valueMax": null,
|
|
"unit": "event",
|
|
"source": "WITHINGS",
|
|
"measuredAt": "2026-06-15T14:22:00.000Z",
|
|
"notes": null,
|
|
"notesEncrypted": "<sealed:rt-Measurement-notesEncrypted>",
|
|
"externalId": null,
|
|
"externalSourceVersion": null,
|
|
"aggregationProvenance": null,
|
|
"glucoseContext": null,
|
|
"sleepStage": null,
|
|
"rhythmClassification": null,
|
|
"deviceType": null,
|
|
"syncVersion": 1,
|
|
"deletedAt": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:3>",
|
|
"userId": "round-trip-owner",
|
|
"type": "SLEEP_DURATION",
|
|
"value": 95,
|
|
"valueMin": null,
|
|
"valueMax": null,
|
|
"unit": "min",
|
|
"source": "APPLE_HEALTH",
|
|
"measuredAt": "2026-07-03T02:00:00.000Z",
|
|
"notes": null,
|
|
"notesEncrypted": null,
|
|
"externalId": null,
|
|
"externalSourceVersion": null,
|
|
"aggregationProvenance": null,
|
|
"glucoseContext": null,
|
|
"sleepStage": null,
|
|
"rhythmClassification": null,
|
|
"deviceType": null,
|
|
"syncVersion": 1,
|
|
"deletedAt": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:4>",
|
|
"userId": "round-trip-owner",
|
|
"type": "WEIGHT",
|
|
"value": 74.2,
|
|
"valueMin": null,
|
|
"valueMax": null,
|
|
"unit": "kg",
|
|
"source": "MANUAL",
|
|
"measuredAt": "2026-07-01T07:00:00.000Z",
|
|
"notes": null,
|
|
"notesEncrypted": null,
|
|
"externalId": null,
|
|
"externalSourceVersion": null,
|
|
"aggregationProvenance": null,
|
|
"glucoseContext": null,
|
|
"sleepStage": null,
|
|
"rhythmClassification": null,
|
|
"deviceType": null,
|
|
"syncVersion": 1,
|
|
"deletedAt": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"IntradayCumulativeProfile": [
|
|
{
|
|
"id": "<id:5>",
|
|
"userId": "round-trip-owner",
|
|
"type": "ACTIVITY_STEPS",
|
|
"dateKey": "2026-07-01",
|
|
"hourlyCumulative": [
|
|
0,
|
|
350,
|
|
700,
|
|
1050,
|
|
1400,
|
|
1750,
|
|
2100,
|
|
2450,
|
|
2800,
|
|
3150,
|
|
3500,
|
|
3850,
|
|
4200,
|
|
4550,
|
|
4900,
|
|
5250,
|
|
5600,
|
|
5950,
|
|
6300,
|
|
6650,
|
|
7000,
|
|
7350,
|
|
7700,
|
|
8050
|
|
],
|
|
"dayTotal": 8050,
|
|
"sampleCount": 24,
|
|
"hourlyIncrements": [
|
|
-1,
|
|
-1,
|
|
-1,
|
|
-1,
|
|
-1,
|
|
-1,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350
|
|
],
|
|
"basis": "HOUR_BUCKETS",
|
|
"bucketCount": 3,
|
|
"timezone": "Europe/Berlin",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"Medication": [
|
|
{
|
|
"id": "<id:6>",
|
|
"userId": "round-trip-owner",
|
|
"name": "Round-trip tablet",
|
|
"dose": "5 mg",
|
|
"treatmentClass": "GENERIC",
|
|
"dosesPerUnit": null,
|
|
"unitsPerDose": "decimal:1",
|
|
"active": false,
|
|
"notificationsEnabled": true,
|
|
"pausedAt": null,
|
|
"snoozedUntil": null,
|
|
"startsOn": "2026-06-10T00:00:00.000Z",
|
|
"endsOn": "2026-06-16T00:00:00.000Z",
|
|
"oneShot": false,
|
|
"asNeeded": false,
|
|
"trackIntake": false,
|
|
"autoMarkTaken": true,
|
|
"autoMarkTakenSince": "<now>",
|
|
"deliveryForm": "ORAL",
|
|
"trackInjectionSites": false,
|
|
"allowedInjectionSites": [],
|
|
"liveActivityEnabled": false,
|
|
"criticalAlarmEnabled": false,
|
|
"atcCode": null,
|
|
"rxNormCode": null,
|
|
"lowStockNotifiedAt": null,
|
|
"lowStockNotifiedThresholdDays": null,
|
|
"reorderLeadDays": null,
|
|
"externalSource": null,
|
|
"externalId": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationSchedule": [
|
|
{
|
|
"id": "<id:7>",
|
|
"medicationId": "<id:6>",
|
|
"windowStart": "08:00",
|
|
"windowEnd": "09:00",
|
|
"label": "Morning",
|
|
"dose": "rt-MedicationSchedule-dose",
|
|
"unitsPerDose": null,
|
|
"daysOfWeek": null,
|
|
"timesOfDay": [],
|
|
"reminderGraceMinutes": null,
|
|
"rrule": null,
|
|
"rollingIntervalDays": null,
|
|
"scheduleType": "SCHEDULED",
|
|
"cyclicOnWeeks": null,
|
|
"cyclicOffWeeks": null,
|
|
"doseWindows": null
|
|
},
|
|
{
|
|
"id": "<id:8>",
|
|
"medicationId": "<id:6>",
|
|
"windowStart": "20:00",
|
|
"windowEnd": "21:00",
|
|
"label": "Every third evening",
|
|
"dose": null,
|
|
"unitsPerDose": null,
|
|
"daysOfWeek": null,
|
|
"timesOfDay": [],
|
|
"reminderGraceMinutes": null,
|
|
"rrule": null,
|
|
"rollingIntervalDays": null,
|
|
"scheduleType": "SCHEDULED",
|
|
"cyclicOnWeeks": null,
|
|
"cyclicOffWeeks": null,
|
|
"doseWindows": null
|
|
}
|
|
],
|
|
"MedicationIntakeEvent": [
|
|
{
|
|
"id": "<id:9>",
|
|
"userId": "round-trip-owner",
|
|
"medicationId": "<id:6>",
|
|
"scheduledFor": "2026-07-01T08:00:00.000Z",
|
|
"takenAt": "2026-07-01T08:04:00.000Z",
|
|
"skipped": true,
|
|
"autoMissed": false,
|
|
"autoRecorded": true,
|
|
"attributionSource": "AUTO",
|
|
"source": "API",
|
|
"idempotencyKey": null,
|
|
"createdAt": "<now>",
|
|
"injectionSite": null,
|
|
"doseTaken": null,
|
|
"inventoryConsumption": null,
|
|
"externalId": null,
|
|
"updatedAt": "<now>",
|
|
"syncVersion": 0,
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"MedicationSideEffect": [
|
|
{
|
|
"id": "<id:10>",
|
|
"userId": "round-trip-owner",
|
|
"medicationId": "<id:6>",
|
|
"occurredAt": "2026-07-01T21:00:00.000Z",
|
|
"category": "GI",
|
|
"entry": "NAUSEA",
|
|
"severity": 3,
|
|
"notes": null,
|
|
"notesEncrypted": "<sealed:nausea for two hours after the evening dose>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationPauseEra": [
|
|
{
|
|
"id": "<id:11>",
|
|
"medicationId": "<id:6>",
|
|
"userId": "round-trip-owner",
|
|
"pausedAt": "2026-05-02T08:00:00.000Z",
|
|
"resumedAt": "2026-05-20T08:00:00.000Z",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:12>",
|
|
"medicationId": "<id:6>",
|
|
"userId": "round-trip-owner",
|
|
"pausedAt": "2026-07-15T08:00:00.000Z",
|
|
"resumedAt": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationDoseChange": [
|
|
{
|
|
"id": "<id:13>",
|
|
"medicationId": "<id:6>",
|
|
"effectiveFrom": "2026-04-01T08:00:00.000Z",
|
|
"doseValue": 5,
|
|
"doseUnit": "mg",
|
|
"note": null,
|
|
"noteEncrypted": "<sealed:titration note, encrypted at rest>",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:14>",
|
|
"medicationId": "<id:6>",
|
|
"effectiveFrom": "2026-06-01T08:00:00.000Z",
|
|
"doseValue": 10,
|
|
"doseUnit": "mg",
|
|
"note": null,
|
|
"noteEncrypted": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationCategoryAssignment": [
|
|
{
|
|
"medicationId": "<id:6>",
|
|
"category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationCategoryLabel": [
|
|
{
|
|
"id": "<id:15>",
|
|
"userId": "round-trip-owner",
|
|
"key": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10",
|
|
"labelEncrypted": "<sealed:Heart and circulation>",
|
|
"sortOrder": 2,
|
|
"isActive": false,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationCourse": [
|
|
{
|
|
"id": "<id:16>",
|
|
"medicationId": "<id:6>",
|
|
"userId": "round-trip-owner",
|
|
"startsOn": "2026-03-01T00:00:00.000Z",
|
|
"endsOn": "2026-03-07T00:00:00.000Z",
|
|
"noteEncrypted": "<sealed:the March flu>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:17>",
|
|
"medicationId": "<id:6>",
|
|
"userId": "round-trip-owner",
|
|
"startsOn": "2026-06-10T00:00:00.000Z",
|
|
"endsOn": "2026-06-16T00:00:00.000Z",
|
|
"noteEncrypted": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationIngredient": [
|
|
{
|
|
"id": "<id:18>",
|
|
"userId": "round-trip-owner",
|
|
"medicationId": "<id:6>",
|
|
"nutrient": "vitamin_d",
|
|
"amountPerUnit": 25,
|
|
"unit": "ug",
|
|
"enteredAmount": 1000,
|
|
"enteredUnit": "IU",
|
|
"source": "LABEL_AI",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MoodEntry": [
|
|
{
|
|
"id": "<id:19>",
|
|
"userId": "round-trip-owner",
|
|
"date": "2026-07-01",
|
|
"mood": "GUT",
|
|
"score": 4,
|
|
"moodA1": 3,
|
|
"stressA2": 3,
|
|
"energyA3": 3,
|
|
"connectionA4": 3,
|
|
"stabilityA5": 3,
|
|
"tags": "[\"round-trip-tag\"]",
|
|
"note": null,
|
|
"noteEncrypted": "<sealed:rt-MoodEntry-noteEncrypted>",
|
|
"source": "rt-MoodEntry-source",
|
|
"externalId": "rt-MoodEntry-externalId",
|
|
"moodLoggedAt": "2026-07-01T20:00:00.000Z",
|
|
"tz": "rt-MoodEntry-tz",
|
|
"syncedAt": "<now>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"syncVersion": 0,
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"MoodContext": [
|
|
{
|
|
"moodEntryId": "<id:19>",
|
|
"userId": "round-trip-owner",
|
|
"workStatus": "regular",
|
|
"workMinutes": 3,
|
|
"overtimeMinutes": 3,
|
|
"workLoad": 3,
|
|
"workSatisfaction": 3,
|
|
"contactCircles": "[\"family\"]",
|
|
"contactForm": "rt-MoodContext-contactForm",
|
|
"contactExtent": "rt-MoodContext-contactExtent",
|
|
"contactQuality": 3,
|
|
"contactSupport": 3,
|
|
"leisureCategories": "rt-MoodContext-leisureCategories",
|
|
"leisureMinutes": 3,
|
|
"leisureJoy": 6,
|
|
"leisureRecovery": 3,
|
|
"eventType": "rt-MoodContext-eventType",
|
|
"eventValence": 3,
|
|
"eventAt": "2026-06-30T12:34:56.789Z",
|
|
"notesEncrypted": "<sealed:rt-MoodContext-notesEncrypted>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MoodEntryTagLink": [
|
|
{
|
|
"moodEntryId": "<id:19>",
|
|
"moodTagId": "<id:20>",
|
|
"createdAt": "<now>",
|
|
"rating": 4
|
|
}
|
|
],
|
|
"MoodTag": [
|
|
{
|
|
"id": "<id:20>",
|
|
"categoryId": "<id:21>",
|
|
"key": "round_trip_factor",
|
|
"labelKey": "mood.tag.roundTripFactor",
|
|
"icon": "rt-MoodTag-icon",
|
|
"sortOrder": 3,
|
|
"isActive": false,
|
|
"kind": "RATED",
|
|
"scaleMin": 3,
|
|
"scaleMax": 3,
|
|
"inverse": true,
|
|
"userId": "round-trip-owner",
|
|
"labelEncrypted": "<sealed:rt-MoodTag-labelEncrypted>"
|
|
}
|
|
],
|
|
"LabResult": [
|
|
{
|
|
"id": "<id:22>",
|
|
"userId": "round-trip-owner",
|
|
"panel": "rt-LabResult-panel",
|
|
"analyte": "Ferritin",
|
|
"value": 91,
|
|
"valueText": "rt-LabResult-valueText",
|
|
"unit": "ng/mL",
|
|
"referenceLow": 2.5,
|
|
"referenceHigh": 2.5,
|
|
"sourceReferenceLow": 2.5,
|
|
"sourceReferenceHigh": 2.5,
|
|
"sourceReferenceText": "rt-LabResult-sourceReferenceText",
|
|
"sourceValue": 2.5,
|
|
"sourceUnit": "rt-LabResult-sourceUnit",
|
|
"takenAt": "2026-06-30T09:00:00.000Z",
|
|
"biomarkerId": "<id:23>",
|
|
"source": "rt-LabResult-source",
|
|
"noteEncrypted": "<sealed:rt-LabResult-noteEncrypted>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"Biomarker": [
|
|
{
|
|
"id": "<id:23>",
|
|
"userId": "round-trip-owner",
|
|
"name": "Ferritin",
|
|
"unit": "ng/mL",
|
|
"lowerBound": 2.5,
|
|
"upperBound": 2.5,
|
|
"contextEncrypted": "<sealed:fasted, morning draw>",
|
|
"panel": "rt-Biomarker-panel",
|
|
"hidden": true,
|
|
"analyteKey": "rt-Biomarker-analyteKey",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"Allergy": [
|
|
{
|
|
"id": "<id:24>",
|
|
"userId": "round-trip-owner",
|
|
"substance": "Penicillin",
|
|
"category": "FOOD",
|
|
"type": "INTOLERANCE",
|
|
"severity": "MILD",
|
|
"status": "INACTIVE",
|
|
"onsetAt": "2026-06-30T12:34:56.789Z",
|
|
"reactionEncrypted": "<sealed:rt-Allergy-reactionEncrypted>",
|
|
"notesEncrypted": "<sealed:rt-Allergy-notesEncrypted>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"FamilyHistoryEntry": [
|
|
{
|
|
"id": "<id:25>",
|
|
"userId": "round-trip-owner",
|
|
"relationship": "MOTHER",
|
|
"condition": "Type 2 diabetes",
|
|
"ageAtOnset": 3,
|
|
"notesEncrypted": "<sealed:rt-FamilyHistoryEntry-notesEncrypted>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"IllnessEpisode": [
|
|
{
|
|
"id": "<id:26>",
|
|
"userId": "round-trip-owner",
|
|
"label": "Cold",
|
|
"type": "INFECTION",
|
|
"lifecycle": "CHRONIC_ONGOING",
|
|
"onsetAt": "2026-06-20T00:00:00.000Z",
|
|
"resolvedAt": "2026-06-30T12:34:56.789Z",
|
|
"parentConditionId": null,
|
|
"noteEncrypted": "<sealed:rt-IllnessEpisode-noteEncrypted>",
|
|
"bodySiteEncrypted": null,
|
|
"laterality": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
},
|
|
{
|
|
"id": "<id:27>",
|
|
"userId": "round-trip-owner",
|
|
"label": "Iron deficiency",
|
|
"type": "CHRONIC",
|
|
"lifecycle": "ACUTE",
|
|
"onsetAt": "2026-03-01T00:00:00.000Z",
|
|
"resolvedAt": null,
|
|
"parentConditionId": null,
|
|
"noteEncrypted": null,
|
|
"bodySiteEncrypted": "<sealed:Stomach>",
|
|
"laterality": "BOTH",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"IllnessDayLog": [
|
|
{
|
|
"id": "<id:28>",
|
|
"userId": "round-trip-owner",
|
|
"episodeId": "<id:26>",
|
|
"date": "2026-06-21",
|
|
"functionalImpact": 3,
|
|
"feverC": 2.5,
|
|
"noteEncrypted": "<sealed:rt-IllnessDayLog-noteEncrypted>",
|
|
"tz": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"IllnessSymptomLink": [
|
|
{
|
|
"dayLogId": "<id:28>",
|
|
"symptomId": "<id:29>",
|
|
"severity": 2,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"SymptomDefinition": [
|
|
{
|
|
"id": "<id:30>",
|
|
"userId": "round-trip-owner",
|
|
"labelEncrypted": "<sealed:Aura>",
|
|
"icon": "Zap",
|
|
"sortOrder": 0,
|
|
"isActive": true,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:31>",
|
|
"userId": "round-trip-owner",
|
|
"labelEncrypted": "<sealed:Headache>",
|
|
"icon": "Brain",
|
|
"sortOrder": 1,
|
|
"isActive": false,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"SymptomEvent": [
|
|
{
|
|
"id": "<id:32>",
|
|
"userId": "round-trip-owner",
|
|
"definitionId": "<id:30>",
|
|
"occurredAt": "2026-06-21T09:00:00.000Z",
|
|
"intensity": 4,
|
|
"noteEncrypted": null,
|
|
"episodeId": "<id:26>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:33>",
|
|
"userId": "round-trip-owner",
|
|
"definitionId": "<id:31>",
|
|
"occurredAt": "2026-06-21T11:00:00.000Z",
|
|
"intensity": 8,
|
|
"noteEncrypted": "<sealed:left side, behind the eye>",
|
|
"episodeId": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:34>",
|
|
"userId": "round-trip-owner",
|
|
"definitionId": "<id:30>",
|
|
"occurredAt": "2026-07-10T18:30:00.000Z",
|
|
"intensity": 2,
|
|
"noteEncrypted": null,
|
|
"episodeId": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"LifeEvent": [
|
|
{
|
|
"id": "<id:35>",
|
|
"userId": "round-trip-owner",
|
|
"category": "HOME",
|
|
"startDate": "2023-09-01",
|
|
"endDate": null,
|
|
"precision": "MONTH",
|
|
"titleEncrypted": "<sealed:Moved to the coast>",
|
|
"noteEncrypted": "<sealed:the flat with the long hallway>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
},
|
|
{
|
|
"id": "<id:36>",
|
|
"userId": "round-trip-owner",
|
|
"category": "WORK",
|
|
"startDate": "2026-03-02",
|
|
"endDate": "2026-05-29",
|
|
"precision": "DAY",
|
|
"titleEncrypted": "<sealed:Parental leave>",
|
|
"noteEncrypted": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"UserHealthProfile": [
|
|
{
|
|
"id": "<id:37>",
|
|
"userId": "round-trip-owner",
|
|
"aboutMeEncrypted": "<sealed:Runs three times a week>",
|
|
"conditionsEncrypted": "<sealed:rt-UserHealthProfile-conditionsEncrypted>",
|
|
"allergiesEncrypted": "<sealed:rt-UserHealthProfile-allergiesEncrypted>",
|
|
"coachFocusEncrypted": "<sealed:rt-UserHealthProfile-coachFocusEncrypted>",
|
|
"pendingQuestionsEncrypted": null,
|
|
"aiIncludedSections": [
|
|
"ABOUT_ME"
|
|
],
|
|
"emergencyBloodType": "A_POS",
|
|
"organDonorStatus": "YES",
|
|
"advanceDirectiveStatus": "EXISTS",
|
|
"emergencyContactsEncrypted": "<sealed:rt-UserHealthProfile-emergencyContactsEncrypted>",
|
|
"emergencyImplantsEncrypted": "<sealed:rt-UserHealthProfile-emergencyImplantsEncrypted>",
|
|
"emergencyNoteEncrypted": "<sealed:rt-UserHealthProfile-emergencyNoteEncrypted>",
|
|
"lifeConfirmedJson": {
|
|
"roundTrip": "rt-UserHealthProfile-lifeConfirmedJson"
|
|
},
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"HealthProfileFactRevision": [],
|
|
"CycleProfile": [
|
|
{
|
|
"id": "<id:38>",
|
|
"userId": "round-trip-owner",
|
|
"goal": "AVOID_PREGNANCY",
|
|
"cycleTrackingEnabled": true,
|
|
"typicalCycleLength": 3,
|
|
"typicalPeriodLength": 3,
|
|
"lutealPhaseLength": 3,
|
|
"secondarySymptom": "CERVIX",
|
|
"predictionEnabled": false,
|
|
"rawChartMode": true,
|
|
"discreetNotifications": true,
|
|
"sensitiveCategoryEncryption": false,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MenstrualCycle": [],
|
|
"CycleDayLog": [
|
|
{
|
|
"id": "<id:39>",
|
|
"userId": "round-trip-owner",
|
|
"date": "2026-06-02",
|
|
"cycleId": null,
|
|
"flow": "HEAVY",
|
|
"intermenstrualBleeding": true,
|
|
"basalBodyTempC": 2.5,
|
|
"temperatureExcluded": true,
|
|
"ovulationTest": "NEGATIVE",
|
|
"cervicalMucus": "DRY",
|
|
"cervixPosition": "LOW",
|
|
"cervixFirmness": "FIRM",
|
|
"cervixOpening": "CLOSED",
|
|
"sexualActivity": true,
|
|
"protectedSex": true,
|
|
"pregnancyTest": "NEGATIVE",
|
|
"progesteroneTest": "NEGATIVE",
|
|
"contraceptive": "NONE",
|
|
"sensitiveEncrypted": null,
|
|
"notesEncrypted": "<sealed:rt-CycleDayLog-notesEncrypted>",
|
|
"source": "WITHINGS",
|
|
"externalId": "rt-CycleDayLog-externalId",
|
|
"tz": "rt-CycleDayLog-tz",
|
|
"syncVersion": 0,
|
|
"deletedAt": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"CycleSymptom": [
|
|
{
|
|
"id": "<id:40>",
|
|
"categoryId": "csc_physical",
|
|
"key": "custom:round-trip-cramps",
|
|
"labelKey": "cycle.symptom.custom",
|
|
"icon": "rt-CycleSymptom-icon",
|
|
"sortOrder": 3,
|
|
"isActive": false,
|
|
"userId": "round-trip-owner",
|
|
"labelEncrypted": "<sealed:Round-trip cramps>"
|
|
}
|
|
],
|
|
"CycleSymptomLink": [
|
|
{
|
|
"dayLogId": "<id:39>",
|
|
"symptomId": "<id:40>",
|
|
"severity": 3,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"CustomMetric": [
|
|
{
|
|
"id": "<id:41>",
|
|
"userId": "round-trip-owner",
|
|
"name": "Grip strength",
|
|
"unit": "kg",
|
|
"targetLow": 2.5,
|
|
"targetHigh": 2.5,
|
|
"decimals": 3,
|
|
"description": "rt-CustomMetric-description",
|
|
"correlationEnabled": true,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"CustomMetricEntry": [
|
|
{
|
|
"id": "<id:42>",
|
|
"userId": "round-trip-owner",
|
|
"customMetricId": "<id:41>",
|
|
"value": 44,
|
|
"unit": "kg",
|
|
"measuredAt": "2026-07-01T18:00:00.000Z",
|
|
"note": null,
|
|
"noteEncrypted": "<sealed:left hand, after the long ride>",
|
|
"createdAt": "<now>",
|
|
"deletedAt": null
|
|
},
|
|
{
|
|
"id": "<id:43>",
|
|
"userId": "round-trip-owner",
|
|
"customMetricId": "<id:41>",
|
|
"value": 45,
|
|
"unit": "kg",
|
|
"measuredAt": "2026-07-02T18:00:00.000Z",
|
|
"note": null,
|
|
"noteEncrypted": "<sealed:right hand, rested>",
|
|
"createdAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"CorrelationPattern": [
|
|
{
|
|
"id": "<id:44>",
|
|
"userId": "round-trip-owner",
|
|
"canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
|
|
"family": "sleep",
|
|
"factorKey": "sleep_duration",
|
|
"outcomeKey": "weight",
|
|
"lagDays": 1,
|
|
"sampleSize": 30,
|
|
"effectSize": 0.42,
|
|
"pValue": 0.01,
|
|
"qValue": 0.04,
|
|
"evidenceHash": "b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2",
|
|
"isCurrent": false,
|
|
"lastComputedAt": "2026-07-01T00:00:00.000Z",
|
|
"dismissedAt": "2026-06-30T12:34:56.789Z",
|
|
"dismissedEvidenceHash": "abababababababababababababababababababababababababababababababab",
|
|
"dismissedEffectSize": 2.5,
|
|
"dismissedSampleSize": 3,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"HealthScoreRecord": [
|
|
{
|
|
"id": "<id:45>",
|
|
"userId": "round-trip-owner",
|
|
"dayKey": "2026-07-01",
|
|
"timezone": "Europe/Berlin",
|
|
"composite": 71,
|
|
"band": "green",
|
|
"scoreVersion": 1,
|
|
"composition": [
|
|
"activity",
|
|
"sleep"
|
|
],
|
|
"pillarScores": {
|
|
"sleep": 72,
|
|
"activity": 70
|
|
},
|
|
"inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",
|
|
"configVersion": 3,
|
|
"configChangedAt": "2026-06-30T12:34:56.789Z",
|
|
"computedAt": "<now>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"Workout": [
|
|
{
|
|
"id": "<id:46>",
|
|
"userId": "round-trip-owner",
|
|
"sportType": "RUNNING",
|
|
"startedAt": "2026-06-29T06:00:00.000Z",
|
|
"endedAt": "2026-06-29T06:30:00.000Z",
|
|
"durationSec": 1800,
|
|
"totalEnergyKcal": 2.5,
|
|
"totalDistanceM": 2.5,
|
|
"avgHeartRate": 3,
|
|
"maxHeartRate": 3,
|
|
"minHeartRate": 3,
|
|
"stepCount": 3,
|
|
"elevationM": 2.5,
|
|
"pauseDurationSec": 3,
|
|
"source": "WITHINGS",
|
|
"externalId": "rt-Workout-externalId",
|
|
"externalSourceVersion": null,
|
|
"metadata": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"NutrientIntakeDay": [
|
|
{
|
|
"userId": "round-trip-owner",
|
|
"day": "2026-07-01",
|
|
"nutrient": "WATER",
|
|
"amount": 2100,
|
|
"unit": "ml",
|
|
"source": "MANUAL",
|
|
"externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"InboundDocument": [],
|
|
"Practitioner": [
|
|
{
|
|
"id": "<id:47>",
|
|
"userId": "round-trip-owner",
|
|
"name": "Round-trip practice",
|
|
"specialty": "Internal medicine",
|
|
"practice": "rt-Practitioner-practice",
|
|
"location": null,
|
|
"phone": null,
|
|
"locationEncrypted": "<sealed:rt-Practitioner-locationEncrypted>",
|
|
"phoneEncrypted": "<sealed:rt-Practitioner-phoneEncrypted>",
|
|
"noteEncrypted": "<sealed:ring the upper bell>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"Encounter": [
|
|
{
|
|
"id": "<id:48>",
|
|
"userId": "round-trip-owner",
|
|
"occurredAt": "2026-06-30T08:00:00.000Z",
|
|
"status": "PLANNED",
|
|
"kind": "ROUTINE",
|
|
"practitionerId": "<id:47>",
|
|
"reasonEncrypted": "<sealed:annual check>",
|
|
"outcomeEncrypted": "<sealed:ferritin back in range, recheck in a year>",
|
|
"bodySiteEncrypted": "<sealed:rt-Encounter-bodySiteEncrypted>",
|
|
"laterality": "LEFT",
|
|
"reminderId": "<id:49>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"EncounterDocumentLink": [],
|
|
"EncounterLabLink": [],
|
|
"EncounterConditionLink": [
|
|
{
|
|
"id": "<id:50>",
|
|
"encounterId": "<id:48>",
|
|
"episodeId": "<id:26>",
|
|
"userId": "round-trip-owner",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"VaccinationRecord": [
|
|
{
|
|
"id": "<id:51>",
|
|
"userId": "round-trip-owner",
|
|
"occurredAt": "2026-05-14T00:00:00.000Z",
|
|
"antigenSlug": "tdap",
|
|
"vaccineName": "Tetanus, diphtheria and pertussis",
|
|
"doseNumber": 3,
|
|
"seriesDoses": 3,
|
|
"lotNumber": "RT-4471",
|
|
"site": "LEFT_ARM",
|
|
"practitionerId": "<id:47>",
|
|
"encounterId": "<id:48>",
|
|
"reminderId": "<id:49>",
|
|
"customVaccineId": "<id:52>",
|
|
"noteEncrypted": "<sealed:sore arm for a day, nothing else>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"VaccinationDocumentLink": [],
|
|
"CustomVaccine": [
|
|
{
|
|
"id": "<id:52>",
|
|
"userId": "round-trip-owner",
|
|
"name": "Round-trip travel combo",
|
|
"components": [
|
|
"typhoid",
|
|
"hepatitis-a"
|
|
],
|
|
"typicalSeriesDoses": 2,
|
|
"boosterIntervalMonths": 36,
|
|
"deletedAt": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MeasurementReminder": [
|
|
{
|
|
"id": "<id:49>",
|
|
"userId": "round-trip-owner",
|
|
"label": "Blutdruck messen",
|
|
"measurementType": "BLOOD_PRESSURE_SYS",
|
|
"intervalDays": 7,
|
|
"rrule": "rt-MeasurementReminder-rrule",
|
|
"anchorDate": "2026-06-30T12:34:56.789Z",
|
|
"endsOn": "2026-06-30T12:34:56.789Z",
|
|
"origin": "COACH",
|
|
"notifyHour": 8,
|
|
"location": "Zuhause",
|
|
"nextDueAt": "2026-07-08T06:00:00.000Z",
|
|
"lastSatisfiedAt": "2026-07-01T06:05:00.000Z",
|
|
"enabled": false,
|
|
"vaccinationAntigen": "tetanus",
|
|
"snoozedUntil": "2026-07-08T06:00:00.000Z",
|
|
"lastSkippedAt": "2026-06-24T06:00:00.000Z",
|
|
"skipCount": 2,
|
|
"lastNotifiedAt": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"MeasurementReminderEvent": [
|
|
{
|
|
"id": "<id:53>",
|
|
"userId": "round-trip-owner",
|
|
"reminderId": "<id:49>",
|
|
"kind": "SATISFIED",
|
|
"occurredAt": "2026-07-01T06:05:00.000Z",
|
|
"onTime": true,
|
|
"source": "manual",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:54>",
|
|
"userId": "round-trip-owner",
|
|
"reminderId": "<id:49>",
|
|
"kind": "SKIPPED",
|
|
"occurredAt": "2026-06-24T06:00:00.000Z",
|
|
"onTime": false,
|
|
"source": "skip",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"CoachConversation": [
|
|
{
|
|
"id": "<id:55>",
|
|
"userId": "round-trip-owner",
|
|
"title": null,
|
|
"titleEncrypted": "<sealed:About my June labs>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"summaryEncrypted": null,
|
|
"summaryUpdatedAt": null,
|
|
"summaryTurnCount": 0,
|
|
"documentScoped": true
|
|
},
|
|
{
|
|
"id": "<id:56>",
|
|
"userId": "round-trip-owner",
|
|
"title": null,
|
|
"titleEncrypted": "<sealed:How is my blood pressure trending?>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"summaryEncrypted": "<sealed:earlier turns: weight trend and evening walks>",
|
|
"summaryUpdatedAt": "2026-07-20T10:00:00.000Z",
|
|
"summaryTurnCount": 4,
|
|
"documentScoped": false
|
|
}
|
|
],
|
|
"CoachMessage": [
|
|
{
|
|
"id": "<id:57>",
|
|
"conversationId": "<id:56>",
|
|
"role": "assistant",
|
|
"encryptedContent": "<sealed:the last seven mornings average 4 mmHg above the fortnight before>",
|
|
"metricSourceJson": null,
|
|
"providerType": "anthropic",
|
|
"promptVersion": null,
|
|
"tokensUsed": 812,
|
|
"model": "claude-opus-5",
|
|
"resultsEncrypted": "<sealed:[{\"ref\":\"r1\",\"source\":{\"tool\":\"get_metric_series\",\"domain\":\"bp\",\"window\":\"last7days\",\"period\":\"current\",\"granularity\":\"day\"},\"shape\":\"timeSeries\",\"titleKey\":\"coach.result.title.metricByPeriod\",\"title\":\"Blood pressure by day\",\"rowCount\":2,\"chartKind\":\"line\",\"displayed\":true,\"columns\":[{\"key\":\"period\",\"kind\":\"period\",\"labelKey\":\"coach.result.column.day\",\"label\":\"Day\"},{\"key\":\"sys\",\"kind\":\"number\",\"labelKey\":\"coach.result.column.systolic\",\"label\":\"Systolic\",\"unit\":\"mmHg\"}],\"rows\":[[\"2026-07-19\",131],[\"2026-07-20\",null]],\"truncated\":false,\"chart\":{\"kind\":\"line\",\"x\":\"period\",\"series\":[\"sys\"]}}]>",
|
|
"trailEncrypted": "<sealed:{\"entries\":[{\"id\":\"a1\",\"title\":\"Checking the trend\",\"text\":\"Read 30 days.\"}]}>",
|
|
"createdAt": "2026-07-20T09:59:00.000Z"
|
|
},
|
|
{
|
|
"id": "<id:58>",
|
|
"conversationId": "<id:56>",
|
|
"role": "user",
|
|
"encryptedContent": "<sealed:my readings look higher this week, is that real?>",
|
|
"metricSourceJson": "rt-CoachMessage-metricSourceJson",
|
|
"providerType": null,
|
|
"promptVersion": "rt-CoachMessage-promptVersion",
|
|
"tokensUsed": null,
|
|
"model": null,
|
|
"resultsEncrypted": null,
|
|
"trailEncrypted": null,
|
|
"createdAt": "2026-07-20T09:58:00.000Z"
|
|
},
|
|
{
|
|
"id": "<id:59>",
|
|
"conversationId": "<id:55>",
|
|
"role": "user",
|
|
"encryptedContent": "<sealed:What does the ferritin mean?>",
|
|
"metricSourceJson": null,
|
|
"providerType": null,
|
|
"promptVersion": null,
|
|
"tokensUsed": null,
|
|
"model": null,
|
|
"resultsEncrypted": null,
|
|
"trailEncrypted": null,
|
|
"createdAt": "2026-07-21T08:00:00.000Z"
|
|
}
|
|
],
|
|
"CoachConversationDocument": [],
|
|
"CoachFact": [
|
|
{
|
|
"id": "<id:60>",
|
|
"userId": "round-trip-owner",
|
|
"factEncrypted": "<sealed:does not tolerate ACE inhibitors>",
|
|
"category": "constraint",
|
|
"confidence": 80,
|
|
"sourceConversationId": "<id:56>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null,
|
|
"source": "user",
|
|
"lastUsedAt": "2026-07-20T10:00:00.000Z",
|
|
"sourceMessageId": "<id:57>"
|
|
}
|
|
],
|
|
"CoachPlan": [
|
|
{
|
|
"id": "<id:61>",
|
|
"userId": "round-trip-owner",
|
|
"metric": "BLOOD_PRESSURE",
|
|
"ifCueEncrypted": "<sealed:if the evening reading is over 140>",
|
|
"thenActionEncrypted": "<sealed:then walk twenty minutes before dinner tomorrow>",
|
|
"targetEncrypted": "<sealed:under 130 by October>",
|
|
"status": "active",
|
|
"reviewDate": "2026-10-01T00:00:00.000Z",
|
|
"outcomeEncrypted": "<sealed:rt-CoachPlan-outcomeEncrypted>",
|
|
"sourceConversationId": "<id:56>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"CoachReminder": [
|
|
{
|
|
"id": "<id:62>",
|
|
"userId": "round-trip-owner",
|
|
"noteEncrypted": "<sealed:ask how the evening walks are going>",
|
|
"metric": "BLOOD_PRESSURE",
|
|
"relatedPlanId": "<id:61>",
|
|
"triggerKind": "rt-CoachReminder-triggerKind",
|
|
"dueAt": "2026-09-01T07:00:00.000Z",
|
|
"contextCue": "rt-CoachReminder-contextCue",
|
|
"status": "rt-CoachReminder-status",
|
|
"source": "extractor",
|
|
"sourceConversationId": "<id:56>",
|
|
"lastSurfacedAt": "2026-06-30T12:34:56.789Z",
|
|
"surfaceCount": 2,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"MedicationInventoryItem": [
|
|
{
|
|
"id": "<id:63>",
|
|
"userId": "round-trip-owner",
|
|
"medicationId": "<id:6>",
|
|
"state": "ACTIVE",
|
|
"containerType": "BLISTER",
|
|
"unitsTotal": "decimal:30",
|
|
"unitsRemaining": "decimal:21",
|
|
"firstUseAt": "2026-07-01T08:00:00.000Z",
|
|
"expiresAt": "2027-01-31T00:00: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": "<sealed:second pack, kept in the kitchen drawer>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:64>",
|
|
"userId": "round-trip-owner",
|
|
"medicationId": "<id:6>",
|
|
"state": "USED_UP",
|
|
"containerType": "BOTTLE",
|
|
"unitsTotal": "decimal:60",
|
|
"unitsRemaining": "decimal:0",
|
|
"firstUseAt": null,
|
|
"expiresAt": null,
|
|
"printedExpiry": null,
|
|
"purchasedAt": null,
|
|
"manufacturer": null,
|
|
"doseStrength": null,
|
|
"notes": null,
|
|
"notesEncrypted": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationInventoryEvent": [
|
|
{
|
|
"id": "<id:65>",
|
|
"medicationId": "<id:6>",
|
|
"delta": -8,
|
|
"reason": "consumed",
|
|
"occurredAt": "2026-07-09T07:00:00.000Z"
|
|
},
|
|
{
|
|
"id": "<id:66>",
|
|
"medicationId": "<id:6>",
|
|
"delta": 30,
|
|
"reason": "purchased",
|
|
"occurredAt": "2026-07-01T07:00:00.000Z"
|
|
}
|
|
],
|
|
"MoodTagCategory": [
|
|
{
|
|
"id": "<id:21>",
|
|
"key": "round_trip_own_category",
|
|
"labelKey": "mood.category.roundTripOwn",
|
|
"icon": "rt-MoodTagCategory-icon",
|
|
"sortOrder": 90,
|
|
"isActive": false,
|
|
"userId": "round-trip-owner",
|
|
"labelEncrypted": "<sealed:rt-MoodTagCategory-labelEncrypted>"
|
|
}
|
|
],
|
|
"MoodTagHidden": [
|
|
{
|
|
"userId": "round-trip-owner",
|
|
"moodTagId": "mt_grateful",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"ReminderPhaseConfig": [
|
|
{
|
|
"id": "<id:67>",
|
|
"medicationId": "<id:6>",
|
|
"greenValue": 45,
|
|
"greenMode": "PERCENT",
|
|
"yellowValue": 20,
|
|
"yellowMode": "PERCENT",
|
|
"orangeValue": 5,
|
|
"orangeMode": "PERCENT",
|
|
"redValue": 180,
|
|
"redMode": "PERCENT"
|
|
}
|
|
],
|
|
"MentalHealthAssessment": [],
|
|
"ConsentReceipt": [],
|
|
"DocumentConditionLink": [],
|
|
"ExtractedFact": [],
|
|
"PersonalRecord": [
|
|
{
|
|
"id": "<id:68>",
|
|
"userId": "round-trip-owner",
|
|
"metricType": "WALKING_RUNNING_DISTANCE",
|
|
"metricSlot": "running_10km_time",
|
|
"direction": "MIN",
|
|
"value": 3184,
|
|
"unit": "s",
|
|
"achievedAt": "2026-05-18T09:20:00.000Z",
|
|
"sourceMeasurementId": null,
|
|
"source": "APPLE_HEALTH",
|
|
"externalId": "workout-pr-10km",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:69>",
|
|
"userId": "round-trip-owner",
|
|
"metricType": "WALKING_RUNNING_DISTANCE",
|
|
"metricSlot": "running_5km_time",
|
|
"direction": "MIN",
|
|
"value": 1512,
|
|
"unit": "s",
|
|
"achievedAt": "2026-05-18T09:20:00.000Z",
|
|
"sourceMeasurementId": null,
|
|
"source": "APPLE_HEALTH",
|
|
"externalId": "workout-pr-5km",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:70>",
|
|
"userId": "round-trip-owner",
|
|
"metricType": "WEIGHT",
|
|
"metricSlot": null,
|
|
"direction": "MIN",
|
|
"value": 74.2,
|
|
"unit": "kg",
|
|
"achievedAt": "2026-07-01T07:00:00.000Z",
|
|
"sourceMeasurementId": "<id:4>",
|
|
"source": "MANUAL",
|
|
"externalId": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"UserAchievement": [
|
|
{
|
|
"id": "<id:71>",
|
|
"userId": "round-trip-owner",
|
|
"achievementId": "intake-total-10",
|
|
"unlockedAt": "2026-02-21T10:15:00.000Z",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:72>",
|
|
"userId": "round-trip-owner",
|
|
"achievementId": "retired-badge-from-an-older-release",
|
|
"unlockedAt": "2025-11-05T08:00:00.000Z",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"EnvironmentContext": [
|
|
{
|
|
"id": "<id:73>",
|
|
"userId": "round-trip-owner",
|
|
"date": "2026-06-15",
|
|
"locationEncrypted": "<sealed:{\"lat\":41.4,\"lon\":2.2,\"label\":\"Barcelona\"}>",
|
|
"source": "TRAVEL",
|
|
"tempMin": 19.4,
|
|
"tempMax": 28.1,
|
|
"tempMean": 23.6,
|
|
"apparentMean": 25.2,
|
|
"sunshineSec": 39600,
|
|
"daylightSec": 52800,
|
|
"precipSum": 0,
|
|
"pressureMean": 1016.4,
|
|
"pressureDelta": 3.2,
|
|
"humidityMean": 63,
|
|
"cloudMean": 12,
|
|
"weatherCode": 1,
|
|
"apparentMax": 2.5,
|
|
"pm25Mean": 2.5,
|
|
"pm25Max": 2.5,
|
|
"pm10Mean": 2.5,
|
|
"no2Mean": 2.5,
|
|
"so2Mean": 2.5,
|
|
"coMean": 2.5,
|
|
"o3Max8h": 2.5,
|
|
"eaqiMax": 2.5,
|
|
"usaqiMax": 2.5,
|
|
"uvIndexMax": 2.5,
|
|
"dustMax": 2.5,
|
|
"aodMax": 2.5,
|
|
"pollenAlderMax": 2.5,
|
|
"pollenBirchMax": 2.5,
|
|
"pollenGrassMax": 2.5,
|
|
"pollenMugwortMax": 2.5,
|
|
"pollenOliveMax": 2.5,
|
|
"pollenRagweedMax": 2.5,
|
|
"aqDomain": "rt-EnvironmentContext-aqDomain",
|
|
"aqHours": 3,
|
|
"aqFetchedAt": "2026-06-30T12:34:56.789Z",
|
|
"fetchedAt": "2026-06-16T03:15:00.000Z",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:74>",
|
|
"userId": "round-trip-owner",
|
|
"date": "2026-07-01",
|
|
"locationEncrypted": "<sealed:{\"lat\":52.5,\"lon\":13.4,\"label\":\"Berlin\"}>",
|
|
"source": "HOME",
|
|
"tempMin": 13.1,
|
|
"tempMax": 22.7,
|
|
"tempMean": 17.9,
|
|
"apparentMean": 17.1,
|
|
"sunshineSec": 28800,
|
|
"daylightSec": 59400,
|
|
"precipSum": 4.6,
|
|
"pressureMean": 1008.9,
|
|
"pressureDelta": 7.8,
|
|
"humidityMean": 74,
|
|
"cloudMean": 68,
|
|
"weatherCode": 61,
|
|
"apparentMax": null,
|
|
"pm25Mean": null,
|
|
"pm25Max": null,
|
|
"pm10Mean": null,
|
|
"no2Mean": null,
|
|
"so2Mean": null,
|
|
"coMean": null,
|
|
"o3Max8h": null,
|
|
"eaqiMax": null,
|
|
"usaqiMax": null,
|
|
"uvIndexMax": null,
|
|
"dustMax": null,
|
|
"aodMax": null,
|
|
"pollenAlderMax": null,
|
|
"pollenBirchMax": null,
|
|
"pollenGrassMax": null,
|
|
"pollenMugwortMax": null,
|
|
"pollenOliveMax": null,
|
|
"pollenRagweedMax": null,
|
|
"aqDomain": null,
|
|
"aqHours": null,
|
|
"aqFetchedAt": null,
|
|
"fetchedAt": "2026-07-02T03:15:00.000Z",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"EnvironmentTravelLocation": [
|
|
{
|
|
"id": "<id:75>",
|
|
"userId": "round-trip-owner",
|
|
"startDate": "2026-06-10",
|
|
"endDate": "2026-06-20",
|
|
"locationEncrypted": "<sealed:{\"lat\":41.4,\"lon\":2.2,\"label\":\"Barcelona\"}>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"DawarichDay": [
|
|
{
|
|
"id": "<id:76>",
|
|
"userId": "round-trip-owner",
|
|
"date": "2026-06-15",
|
|
"totalDistanceM": 48300,
|
|
"drivingDistanceM": 12000,
|
|
"trainDistanceM": 30500,
|
|
"placesVisited": 4,
|
|
"awayFromHomeMinutes": 1440,
|
|
"countryCodeEncrypted": "<sealed:country:ES>",
|
|
"isTravelDay": true,
|
|
"fetchedAt": "2026-06-16T03:20:00.000Z",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationScheduleRevision": [
|
|
{
|
|
"id": "<id:77>",
|
|
"medicationId": "<id:6>",
|
|
"validFrom": "2026-01-01T00:00:00.000Z",
|
|
"validUntil": "2026-03-01T00:00:00.000Z",
|
|
"payload": [
|
|
{
|
|
"dose": "5 mg",
|
|
"windowEnd": "09:00",
|
|
"windowStart": "07:00"
|
|
}
|
|
],
|
|
"source": "ARCHIVED",
|
|
"supersededByRevisionId": null,
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:78>",
|
|
"medicationId": "<id:6>",
|
|
"validFrom": "2026-02-01T00:00:00.000Z",
|
|
"validUntil": "2026-03-01T00:00:00.000Z",
|
|
"payload": [
|
|
{
|
|
"dose": "10 mg",
|
|
"windowEnd": "13:00",
|
|
"windowStart": "12:00"
|
|
}
|
|
],
|
|
"source": "ARCHIVED",
|
|
"supersededByRevisionId": "<id:79>",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:79>",
|
|
"medicationId": "<id:6>",
|
|
"validFrom": "2026-03-01T00:00:00.000Z",
|
|
"validUntil": "2026-05-01T00:00:00.000Z",
|
|
"payload": [
|
|
{
|
|
"dose": "10 mg",
|
|
"windowEnd": "10:00",
|
|
"windowStart": "08:00"
|
|
}
|
|
],
|
|
"source": "MANUAL",
|
|
"supersededByRevisionId": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationEfficacyTarget": [
|
|
{
|
|
"id": "<id:80>",
|
|
"medicationId": "<id:6>",
|
|
"measurementType": "WEIGHT",
|
|
"biomarkerId": "<id:23>",
|
|
"primary": false,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"EcgRecording": [
|
|
{
|
|
"id": "<id:81>",
|
|
"userId": "round-trip-owner",
|
|
"source": "MANUAL",
|
|
"externalRecordingId": "round-trip-signal-1",
|
|
"recordedAt": "2026-06-15T14:22:00.000Z",
|
|
"waveformEncrypted": "<sealed:[-12,4,118,-33,7,2,-5,61]>",
|
|
"samplingFrequency": 300,
|
|
"sampleCount": 8,
|
|
"durationSeconds": 0.02666666666666667,
|
|
"lead": "I",
|
|
"averageHeartRate": 88,
|
|
"rhythmClassification": "IRREGULAR",
|
|
"measurementId": "<id:2>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"OnboardingRecord": [
|
|
{
|
|
"id": "<id:82>",
|
|
"userId": "round-trip-owner",
|
|
"needsJson": {
|
|
"areas": [
|
|
"blood-pressure",
|
|
"sleep"
|
|
],
|
|
"units": {
|
|
"glucoseUnit": "mmol/L",
|
|
"unitPreference": "metric"
|
|
},
|
|
"visit": "within-a-month",
|
|
"sources": [
|
|
"withings"
|
|
],
|
|
"medication": "yes",
|
|
"recordTarget": "me"
|
|
},
|
|
"stepsJson": [
|
|
{
|
|
"id": "who",
|
|
"status": "done"
|
|
},
|
|
{
|
|
"id": "areas",
|
|
"status": "done"
|
|
},
|
|
{
|
|
"id": "medication",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "sources",
|
|
"status": "skipped"
|
|
},
|
|
{
|
|
"id": "visit",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "units",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "confirm",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "first-result",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "done",
|
|
"status": "pending"
|
|
}
|
|
],
|
|
"firstResultJson": {
|
|
"task": "connect-source",
|
|
"target": "withings",
|
|
"completedAt": "2026-07-01T08:30:00.000Z"
|
|
},
|
|
"modulesDerivedAt": "2026-07-01T08:00:00.000Z",
|
|
"completedAt": "2026-07-01T08:00:00.000Z",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"BiomarkerAlias": [
|
|
{
|
|
"id": "<id:83>",
|
|
"userId": "round-trip-owner",
|
|
"biomarkerId": "<id:23>",
|
|
"name": "Ferr.",
|
|
"nameFolded": "ferr.",
|
|
"source": "IMPORT_CHOICE",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"BiomarkerMerge": [
|
|
{
|
|
"id": "<id:84>",
|
|
"userId": "round-trip-owner",
|
|
"targetBiomarkerId": "<id:23>",
|
|
"sourceBiomarkerId": "merged-away-marker",
|
|
"sourceName": "Ferritin (Serum)",
|
|
"readingCount": 3,
|
|
"mergedAt": "<now>"
|
|
}
|
|
],
|
|
"LabResultDocumentLink": [],
|
|
"EncounterMedicationLink": [
|
|
{
|
|
"id": "<id:85>",
|
|
"encounterId": "<id:48>",
|
|
"medicationId": "<id:6>",
|
|
"userId": "round-trip-owner",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"EncounterVaccinationLink": [
|
|
{
|
|
"id": "<id:86>",
|
|
"encounterId": "<id:48>",
|
|
"vaccinationId": "<id:51>",
|
|
"userId": "round-trip-owner",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"MedicationDocumentLink": [],
|
|
"MedicationConditionLink": [
|
|
{
|
|
"id": "<id:87>",
|
|
"medicationId": "<id:6>",
|
|
"episodeId": "<id:26>",
|
|
"userId": "round-trip-owner",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"AccountGrant": [
|
|
{
|
|
"id": "<id:88>",
|
|
"grantorId": "round-trip-owner",
|
|
"granteeId": "parity-delegate",
|
|
"access": "READ",
|
|
"scopeJson": null,
|
|
"invitedAt": "<now>",
|
|
"acceptedAt": "2026-07-03T09:00:00.000Z",
|
|
"revokedAt": null,
|
|
"revokedBy": null,
|
|
"expiresAt": null,
|
|
"lastUsedAt": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"User": {
|
|
"id": "round-trip-owner",
|
|
"username": "round-trip-owner",
|
|
"email": "round-trip-owner@example.test",
|
|
"passwordHash": null,
|
|
"role": "USER",
|
|
"oidcIssuer": null,
|
|
"oidcSub": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"managedProfileAt": null,
|
|
"heightCm": 2.5,
|
|
"dateOfBirth": "2026-06-30T12:34:56.789Z",
|
|
"gender": "FEMALE",
|
|
"timezone": "America/Chicago",
|
|
"homeTimezone": "Asia/Tokyo",
|
|
"homeSince": "2026-06-30T12:34:56.789Z",
|
|
"homeLocationEncrypted": "<sealed:{\"lat\":2.5,\"lon\":2.5,\"label\":\"round-trip home\"}>",
|
|
"environmentAirQualityEnabled": false,
|
|
"environmentAqHistoryJson": null,
|
|
"codexAccessTokenEncrypted": null,
|
|
"codexRefreshTokenEncrypted": null,
|
|
"codexTokenExpiresAt": null,
|
|
"codexConnectedAt": null,
|
|
"codexConnectionStatus": "disconnected",
|
|
"useCentralCodex": true,
|
|
"insightsPrivacyMode": "raw",
|
|
"insightsCachedAt": null,
|
|
"insightsCachedTextEncrypted": null,
|
|
"insightsCachedLocale": null,
|
|
"insightsSnapshotHash": null,
|
|
"insightsWarmFailedAt": null,
|
|
"insightsBriefingRerollDate": null,
|
|
"morningDigestRefreshedOn": null,
|
|
"insightsExcludeMetrics": [
|
|
"rt-User-insightsExcludeMetrics"
|
|
],
|
|
"globalExcludedInjectionSites": [
|
|
"THIGH_LEFT"
|
|
],
|
|
"telegramBotToken": null,
|
|
"telegramChatId": null,
|
|
"telegramEnabled": false,
|
|
"withingsClientIdEncrypted": null,
|
|
"withingsClientSecretEncrypted": null,
|
|
"whoopClientIdEncrypted": null,
|
|
"whoopClientSecretEncrypted": null,
|
|
"fitbitClientIdEncrypted": null,
|
|
"fitbitClientSecretEncrypted": null,
|
|
"googleHealthClientIdEncrypted": null,
|
|
"googleHealthClientSecretEncrypted": null,
|
|
"nightscoutUrlEncrypted": null,
|
|
"nightscoutTokenEncrypted": null,
|
|
"nightscoutAllowPrivateHost": false,
|
|
"dawarichUrlEncrypted": null,
|
|
"dawarichApiKeyEncrypted": null,
|
|
"dawarichPrefsEncrypted": null,
|
|
"dawarichAllowPrivateHost": false,
|
|
"polarAccessTokenEncrypted": null,
|
|
"polarUserIdEncrypted": null,
|
|
"polarClientIdEncrypted": null,
|
|
"polarClientSecretEncrypted": null,
|
|
"ouraAccessTokenEncrypted": null,
|
|
"ouraRefreshTokenEncrypted": null,
|
|
"ouraClientIdEncrypted": null,
|
|
"ouraClientSecretEncrypted": null,
|
|
"ouraScopeDenied": null,
|
|
"ouraBackfillProgress": null,
|
|
"ouraBackfillCompletedAt": null,
|
|
"ouraUserId": null,
|
|
"clientAppSharedBy": null,
|
|
"stravaClientIdEncrypted": null,
|
|
"stravaClientSecretEncrypted": null,
|
|
"stravaAccessTokenEncrypted": null,
|
|
"stravaRefreshTokenEncrypted": null,
|
|
"stravaAthleteId": null,
|
|
"stravaLastActivityAt": null,
|
|
"stravaBackfillCompletedAt": null,
|
|
"stravaBackfillResumeBefore": null,
|
|
"locale": "fr",
|
|
"thresholdsJson": {
|
|
"WEIGHT": {
|
|
"max": 80,
|
|
"min": 60
|
|
}
|
|
},
|
|
"dashboardWidgetsJson": {
|
|
"roundTrip": "rt-User-dashboardWidgetsJson"
|
|
},
|
|
"insightsLayoutJson": {
|
|
"roundTrip": "rt-User-insightsLayoutJson"
|
|
},
|
|
"medicationListLayoutJson": {
|
|
"roundTrip": "rt-User-medicationListLayoutJson"
|
|
},
|
|
"documentsLayoutJson": {
|
|
"roundTrip": "rt-User-documentsLayoutJson"
|
|
},
|
|
"moodTagLayoutJson": {
|
|
"roundTrip": "rt-User-moodTagLayoutJson"
|
|
},
|
|
"moduleListLayoutJson": {
|
|
"roundTrip": "rt-User-moduleListLayoutJson"
|
|
},
|
|
"previewFeaturesJson": {
|
|
"roundTrip": "rt-User-previewFeaturesJson"
|
|
},
|
|
"activityGoalsJson": {
|
|
"stepsPerMonth": 250000,
|
|
"workoutsPerWeek": 4
|
|
},
|
|
"glucoseUnit": "mmol/L",
|
|
"hasDiabetes": true,
|
|
"labsLocalOcrEnabled": true,
|
|
"storeWorkoutRoutes": true,
|
|
"unitPreference": "imperial",
|
|
"timeFormat": "H12",
|
|
"dateFormat": "DMY",
|
|
"aiProvider": "LOCAL",
|
|
"aiModel": "rt-User-aiModel",
|
|
"aiBaseUrl": "https://llm.example.com/v1",
|
|
"aiAnthropicKeyEncrypted": null,
|
|
"aiLocalKeyEncrypted": null,
|
|
"aiOpenaiKeyEncrypted": null,
|
|
"aiCompatBaseUrl": "https://gateway.example.com/v1",
|
|
"aiCompatKeyEncrypted": null,
|
|
"aiCompatModel": "rt-User-aiCompatModel",
|
|
"aiProviderChain": {
|
|
"roundTrip": "rt-User-aiProviderChain"
|
|
},
|
|
"aiResponseTimeoutSeconds": 3,
|
|
"documentsAutoAiRead": true,
|
|
"onboardingCompletedAt": "2026-06-30T12:34:56.789Z",
|
|
"onboardingTourCompleted": true,
|
|
"onboardingTourProgressJson": {
|
|
"roundTrip": "rt-User-onboardingTourProgressJson"
|
|
},
|
|
"disclaimerAcknowledgedAt": "2026-06-30T12:34:56.789Z",
|
|
"disclaimerAcknowledgedVersion": "rt-User-disclaimerAcknowledgedVersion",
|
|
"healthKitConfigJson": {
|
|
"roundTrip": "rt-User-healthKitConfigJson"
|
|
},
|
|
"healthKitLastSyncedAt": null,
|
|
"healthKitLastSyncTrigger": null,
|
|
"healthKitLastBackgroundSyncAt": null,
|
|
"displayName": "rt-User-displayName",
|
|
"lastReportPracticeName": "rt-User-lastReportPracticeName",
|
|
"coachPrefsJson": {
|
|
"roundTrip": "rt-User-coachPrefsJson"
|
|
},
|
|
"sourcePriorityJson": {
|
|
"roundTrip": "rt-User-sourcePriorityJson"
|
|
},
|
|
"lastSyncedAt": null,
|
|
"syncResetAt": "<now>",
|
|
"moodReminderEnabled": true,
|
|
"reportSelectionJson": {
|
|
"roundTrip": "rt-User-reportSelectionJson"
|
|
},
|
|
"notificationPrefs": {
|
|
"roundTrip": "rt-User-notificationPrefs"
|
|
},
|
|
"disableCoach": true,
|
|
"aiUsageLevel": "FRUGAL",
|
|
"modulePreferencesJson": {
|
|
"roundTrip": "rt-User-modulePreferencesJson"
|
|
},
|
|
"healthScoreConfigJson": {
|
|
"roundTrip": "rt-User-healthScoreConfigJson"
|
|
},
|
|
"documentQuotaBytes": null,
|
|
"coachLastSeenAt": null,
|
|
"avatarBytes": "<bytes:iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=>",
|
|
"avatarContentType": "image/png",
|
|
"avatarUpdatedAt": "2026-06-30T12:34:56.789Z",
|
|
"totpSecretEncrypted": null,
|
|
"totpConfirmedAt": null,
|
|
"totpLastStep": null,
|
|
"mfaEnforced": false,
|
|
"passkeyUpgradeNudgeDismissed": true,
|
|
"fullName": "rt-User-fullName",
|
|
"insurerName": "rt-User-insurerName",
|
|
"insuranceNumberEncrypted": "<sealed:rt-User-insuranceNumberEncrypted>",
|
|
"insurerIkNumber": "rt-User-insurerIkNumber"
|
|
},
|
|
"AppSettings": {
|
|
"id": "singleton",
|
|
"registrationEnabled": false,
|
|
"mfaRequired": true,
|
|
"defaultLocale": "fr",
|
|
"telegramGlobal": false,
|
|
"ntfyGlobal": false,
|
|
"webPushGlobal": false,
|
|
"webPushVapidPublicKey": "rt-AppSettings-webPushVapidPublicKey",
|
|
"webPushVapidPrivateKeyEncrypted": "<sealed:rt-AppSettings-webPushVapidPrivateKeyEncrypted>",
|
|
"webPushVapidSubject": "rt-AppSettings-webPushVapidSubject",
|
|
"apiGlobal": false,
|
|
"umamiEnabled": true,
|
|
"umamiScriptUrl": "rt-AppSettings-umamiScriptUrl",
|
|
"umamiWebsiteId": "rt-AppSettings-umamiWebsiteId",
|
|
"glitchtipEnabled": true,
|
|
"glitchtipDsn": "rt-AppSettings-glitchtipDsn",
|
|
"glitchtipEnvironment": "rt-AppSettings-glitchtipEnvironment",
|
|
"glitchtipLastOkAt": "2026-06-30T12:34:56.789Z",
|
|
"glitchtipLastFailureAt": "2026-06-30T12:34:56.789Z",
|
|
"glitchtipLastFailureReason": "rt-AppSettings-glitchtipLastFailureReason",
|
|
"reminderLateMinutes": 3,
|
|
"reminderMissedMinutes": 3,
|
|
"adminAiKeyEncrypted": "<sealed:rt-AppSettings-adminAiKeyEncrypted>",
|
|
"adminAiModel": "rt-AppSettings-adminAiModel",
|
|
"adminAiBaseUrl": "rt-AppSettings-adminAiBaseUrl",
|
|
"adminCodexAccessTokenEncrypted": "<sealed:rt-AppSettings-adminCodexAccessTokenEncrypted>",
|
|
"adminCodexRefreshTokenEncrypted": "<sealed:rt-AppSettings-adminCodexRefreshTokenEncrypted>",
|
|
"adminCodexAccountIdEncrypted": "<sealed:rt-AppSettings-adminCodexAccountIdEncrypted>",
|
|
"adminCodexTokenExpiresAt": "2026-06-30T12:34:56.789Z",
|
|
"adminCodexConnectedAt": "2026-06-30T12:34:56.789Z",
|
|
"adminCodexConnectionStatus": "rt-AppSettings-adminCodexConnectionStatus",
|
|
"adminAiInsightsFeedbackSummary": {
|
|
"helpful": 3
|
|
},
|
|
"defaultUserTimezone": "America/Chicago",
|
|
"assistantEnabled": false,
|
|
"assistantCoachEnabled": false,
|
|
"assistantBriefingEnabled": false,
|
|
"assistantInsightStatusEnabled": false,
|
|
"assistantDocumentAiEnabled": false,
|
|
"aiUsageMaxLevel": "FRUGAL",
|
|
"aiUsageDefaultLevel": "FRUGAL",
|
|
"aiSyncRegenGapHours": 3,
|
|
"aiReasoningEnabled": false,
|
|
"aiReasoningMaxEffort": "low",
|
|
"moduleAvailabilityJson": {
|
|
"mood": "off"
|
|
},
|
|
"documentMaxFileBytes": 3,
|
|
"documentQuotaBytes": "bigint:5",
|
|
"encryptionKeyBackupConfirmedAt": "2026-06-30T12:34:56.789Z",
|
|
"encryptionKeyBackupConfirmedKeyId": "rt-AppSettings-encryptionKeyBackupConfirmedKeyId",
|
|
"encryptionKeyBackupConfirmedFingerprint": "rt-AppSettings-encryptionKeyBackupConfirmedFingerprint",
|
|
"encryptionKeyBackupConfirmedByUserId": "rt-AppSettings-encryptionKeyBackupConfirmedByUserId",
|
|
"correlationSeasonalEngineSince": "2026-06-30T12:34:56.789Z",
|
|
"pulseDayMeanMethod": "hour_mean_v1",
|
|
"pulseDayMeanAppliedAt": "2026-06-30T12:34:56.789Z",
|
|
"pulseDayMeanDryRunJson": {
|
|
"roundTrip": "rt-AppSettings-pulseDayMeanDryRunJson"
|
|
},
|
|
"workoutClimbBackfillCursor": "rt-AppSettings-workoutClimbBackfillCursor"
|
|
}
|
|
},
|
|
"reexport": {
|
|
"schemaVersion": "2",
|
|
"exportedAt": "2026-08-01T00:00:00.000Z",
|
|
"userId": "round-trip-owner",
|
|
"appSettings": null,
|
|
"accountSettings": {
|
|
"heightCm": 2.5,
|
|
"dateOfBirth": "2026-06-30T12:34:56.789Z",
|
|
"gender": "FEMALE",
|
|
"hasDiabetes": true,
|
|
"displayName": "rt-User-displayName",
|
|
"fullName": "rt-User-fullName",
|
|
"insurerName": "rt-User-insurerName",
|
|
"insuranceNumber": "rt-User-insuranceNumberEncrypted",
|
|
"insurerIkNumber": "rt-User-insurerIkNumber",
|
|
"lastReportPracticeName": "rt-User-lastReportPracticeName",
|
|
"avatarBytes": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII=",
|
|
"avatarContentType": "image/png",
|
|
"avatarUpdatedAt": "2026-06-30T12:34:56.789Z",
|
|
"homeTimezone": "Asia/Tokyo",
|
|
"homeSince": "2026-06-30T12:34:56.789Z",
|
|
"homeLat": 2.5,
|
|
"homeLon": 2.5,
|
|
"homeLabel": "round-trip home",
|
|
"environmentAirQualityEnabled": false,
|
|
"timezone": "America/Chicago",
|
|
"locale": "fr",
|
|
"unitPreference": "imperial",
|
|
"glucoseUnit": "mmol/L",
|
|
"timeFormat": "H12",
|
|
"dateFormat": "DMY",
|
|
"modulePreferencesJson": {
|
|
"roundTrip": "rt-User-modulePreferencesJson"
|
|
},
|
|
"thresholdsJson": {
|
|
"WEIGHT": {
|
|
"max": 80,
|
|
"min": 60
|
|
}
|
|
},
|
|
"healthScoreConfigJson": {
|
|
"roundTrip": "rt-User-healthScoreConfigJson"
|
|
},
|
|
"sourcePriorityJson": {
|
|
"roundTrip": "rt-User-sourcePriorityJson"
|
|
},
|
|
"dashboardWidgetsJson": {
|
|
"roundTrip": "rt-User-dashboardWidgetsJson"
|
|
},
|
|
"insightsLayoutJson": {
|
|
"roundTrip": "rt-User-insightsLayoutJson"
|
|
},
|
|
"medicationListLayoutJson": {
|
|
"roundTrip": "rt-User-medicationListLayoutJson"
|
|
},
|
|
"moodTagLayoutJson": {
|
|
"roundTrip": "rt-User-moodTagLayoutJson"
|
|
},
|
|
"documentsLayoutJson": {
|
|
"roundTrip": "rt-User-documentsLayoutJson"
|
|
},
|
|
"moduleListLayoutJson": {
|
|
"roundTrip": "rt-User-moduleListLayoutJson"
|
|
},
|
|
"previewFeaturesJson": {
|
|
"roundTrip": "rt-User-previewFeaturesJson"
|
|
},
|
|
"activityGoalsJson": {
|
|
"stepsPerMonth": 250000,
|
|
"workoutsPerWeek": 4
|
|
},
|
|
"reportSelectionJson": {
|
|
"roundTrip": "rt-User-reportSelectionJson"
|
|
},
|
|
"globalExcludedInjectionSites": [
|
|
"THIGH_LEFT"
|
|
],
|
|
"healthKitConfigJson": {
|
|
"roundTrip": "rt-User-healthKitConfigJson"
|
|
},
|
|
"notificationPrefs": {
|
|
"roundTrip": "rt-User-notificationPrefs"
|
|
},
|
|
"moodReminderEnabled": true,
|
|
"aiProvider": "LOCAL",
|
|
"aiModel": "rt-User-aiModel",
|
|
"aiBaseUrl": "https://llm.example.com/v1",
|
|
"aiCompatBaseUrl": "https://gateway.example.com/v1",
|
|
"aiCompatModel": "rt-User-aiCompatModel",
|
|
"aiProviderChain": {
|
|
"roundTrip": "rt-User-aiProviderChain"
|
|
},
|
|
"aiResponseTimeoutSeconds": 3,
|
|
"useCentralCodex": true,
|
|
"insightsPrivacyMode": "raw",
|
|
"insightsExcludeMetrics": [
|
|
"rt-User-insightsExcludeMetrics"
|
|
],
|
|
"disableCoach": true,
|
|
"aiUsageLevel": "FRUGAL",
|
|
"coachPrefsJson": {
|
|
"roundTrip": "rt-User-coachPrefsJson"
|
|
},
|
|
"documentsAutoAiRead": true,
|
|
"labsLocalOcrEnabled": true,
|
|
"storeWorkoutRoutes": true,
|
|
"onboardingCompletedAt": "2026-06-30T12:34:56.789Z",
|
|
"onboardingTourCompleted": true,
|
|
"onboardingTourProgressJson": {
|
|
"roundTrip": "rt-User-onboardingTourProgressJson"
|
|
},
|
|
"disclaimerAcknowledgedAt": "2026-06-30T12:34:56.789Z",
|
|
"disclaimerAcknowledgedVersion": "rt-User-disclaimerAcknowledgedVersion",
|
|
"passkeyUpgradeNudgeDismissed": true
|
|
},
|
|
"measurements": [
|
|
{
|
|
"id": "<id:1>",
|
|
"type": "BLOOD_GLUCOSE",
|
|
"value": 5.4,
|
|
"unit": "mmol/L",
|
|
"measuredAt": "2026-07-03T06:45:00.000Z",
|
|
"source": "MANUAL",
|
|
"notes": null,
|
|
"deletedAt": null
|
|
},
|
|
{
|
|
"id": "<id:2>",
|
|
"type": "SLEEP_DURATION",
|
|
"value": 95,
|
|
"unit": "min",
|
|
"measuredAt": "2026-07-03T02:00:00.000Z",
|
|
"source": "APPLE_HEALTH",
|
|
"notes": null,
|
|
"deletedAt": null
|
|
},
|
|
{
|
|
"id": "<id:3>",
|
|
"type": "WEIGHT",
|
|
"value": 74.2,
|
|
"unit": "kg",
|
|
"measuredAt": "2026-07-01T07:00:00.000Z",
|
|
"source": "MANUAL",
|
|
"notes": null,
|
|
"deletedAt": null
|
|
},
|
|
{
|
|
"id": "<id:4>",
|
|
"type": "IRREGULAR_RHYTHM_NOTIFICATION",
|
|
"value": 1,
|
|
"unit": "event",
|
|
"measuredAt": "2026-06-15T14:22:00.000Z",
|
|
"source": "WITHINGS",
|
|
"notes": "rt-Measurement-notesEncrypted",
|
|
"deletedAt": null
|
|
}
|
|
],
|
|
"customMedicationCategories": [
|
|
{
|
|
"key": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10",
|
|
"label": "Heart and circulation",
|
|
"sortOrder": 2,
|
|
"isActive": false,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"medications": [
|
|
{
|
|
"ref": "<id:5>",
|
|
"name": "Round-trip tablet",
|
|
"dose": "5 mg",
|
|
"active": false,
|
|
"trackIntake": false,
|
|
"autoMarkTaken": true,
|
|
"autoMarkTakenSince": "<now>",
|
|
"category": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10",
|
|
"createdAt": "<now>",
|
|
"schedules": [
|
|
{
|
|
"windowStart": "08:00",
|
|
"windowEnd": "09:00",
|
|
"label": "Morning",
|
|
"dose": "rt-MedicationSchedule-dose"
|
|
},
|
|
{
|
|
"windowStart": "20:00",
|
|
"windowEnd": "21:00",
|
|
"label": "Every third evening",
|
|
"dose": null
|
|
}
|
|
],
|
|
"sideEffects": [
|
|
{
|
|
"notes": "nausea for two hours after the evening dose",
|
|
"occurredAt": "2026-07-01T21:00:00.000Z",
|
|
"category": "GI",
|
|
"entry": "NAUSEA",
|
|
"severity": 3
|
|
}
|
|
],
|
|
"pauseEras": [
|
|
{
|
|
"pausedAt": "2026-05-02T08:00:00.000Z",
|
|
"resumedAt": "2026-05-20T08:00:00.000Z",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"pausedAt": "2026-07-15T08:00:00.000Z",
|
|
"resumedAt": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"ingredients": [
|
|
{
|
|
"nutrient": "vitamin_d",
|
|
"amountPerUnit": 25,
|
|
"unit": "ug",
|
|
"enteredAmount": 1000,
|
|
"enteredUnit": "IU",
|
|
"source": "LABEL_AI",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"courses": [
|
|
{
|
|
"startsOn": "2026-03-01",
|
|
"endsOn": "2026-03-07",
|
|
"note": "the March flu",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"startsOn": "2026-06-10",
|
|
"endsOn": "2026-06-16",
|
|
"note": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"doseChanges": [
|
|
{
|
|
"note": "titration note, encrypted at rest",
|
|
"effectiveFrom": "2026-04-01T08:00:00.000Z",
|
|
"doseValue": 5,
|
|
"doseUnit": "mg",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"note": null,
|
|
"effectiveFrom": "2026-06-01T08:00:00.000Z",
|
|
"doseValue": 10,
|
|
"doseUnit": "mg",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"inventoryItems": [
|
|
{
|
|
"notes": "second pack, kept in the kitchen drawer",
|
|
"state": "ACTIVE",
|
|
"containerType": "BLISTER",
|
|
"unitsTotal": "30",
|
|
"unitsRemaining": "21",
|
|
"firstUseAt": "2026-07-01T08:00:00.000Z",
|
|
"expiresAt": "2027-01-31T00:00:00.000Z",
|
|
"printedExpiry": "2026-06-30T12:34:56.789Z",
|
|
"purchasedAt": "2026-06-30T12:34:56.789Z",
|
|
"manufacturer": "Fixture Pharma",
|
|
"doseStrength": "10 mg",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"notes": null,
|
|
"state": "USED_UP",
|
|
"containerType": "BOTTLE",
|
|
"unitsTotal": "60",
|
|
"unitsRemaining": "0",
|
|
"firstUseAt": null,
|
|
"expiresAt": null,
|
|
"printedExpiry": null,
|
|
"purchasedAt": null,
|
|
"manufacturer": null,
|
|
"doseStrength": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"phaseConfig": {
|
|
"greenValue": 45,
|
|
"greenMode": "PERCENT",
|
|
"yellowValue": 20,
|
|
"yellowMode": "PERCENT",
|
|
"orangeValue": 5,
|
|
"orangeMode": "PERCENT",
|
|
"redValue": 180,
|
|
"redMode": "PERCENT"
|
|
},
|
|
"inventoryEvents": [
|
|
{
|
|
"delta": 30,
|
|
"reason": "purchased",
|
|
"occurredAt": "2026-07-01T07:00:00.000Z"
|
|
},
|
|
{
|
|
"delta": -8,
|
|
"reason": "consumed",
|
|
"occurredAt": "2026-07-09T07:00:00.000Z"
|
|
}
|
|
],
|
|
"scheduleRevisions": [
|
|
{
|
|
"validFrom": "2026-01-01T00:00:00.000Z",
|
|
"validUntil": "2026-03-01T00:00:00.000Z",
|
|
"payload": [
|
|
{
|
|
"dose": "5 mg",
|
|
"windowEnd": "09:00",
|
|
"windowStart": "07:00"
|
|
}
|
|
],
|
|
"source": "ARCHIVED",
|
|
"supersededByIndex": null,
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"validFrom": "2026-02-01T00:00:00.000Z",
|
|
"validUntil": "2026-03-01T00:00:00.000Z",
|
|
"payload": [
|
|
{
|
|
"dose": "10 mg",
|
|
"windowEnd": "13:00",
|
|
"windowStart": "12:00"
|
|
}
|
|
],
|
|
"source": "ARCHIVED",
|
|
"supersededByIndex": 2,
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"validFrom": "2026-03-01T00:00:00.000Z",
|
|
"validUntil": "2026-05-01T00:00:00.000Z",
|
|
"payload": [
|
|
{
|
|
"dose": "10 mg",
|
|
"windowEnd": "10:00",
|
|
"windowStart": "08:00"
|
|
}
|
|
],
|
|
"source": "MANUAL",
|
|
"supersededByIndex": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"efficacyTargets": [
|
|
{
|
|
"measurementType": "WEIGHT",
|
|
"biomarkerName": "Ferritin",
|
|
"primary": false
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"intakeEvents": [
|
|
{
|
|
"medication": "Round-trip tablet",
|
|
"scheduledFor": "2026-07-01T08:00:00.000Z",
|
|
"takenAt": "2026-07-01T08:04:00.000Z",
|
|
"skipped": true,
|
|
"source": "API",
|
|
"autoRecorded": true
|
|
}
|
|
],
|
|
"moodEntries": [
|
|
{
|
|
"note": "rt-MoodEntry-noteEncrypted",
|
|
"id": "<id:6>",
|
|
"date": "2026-07-01",
|
|
"mood": "GUT",
|
|
"score": 4,
|
|
"a1": 3,
|
|
"a2": 3,
|
|
"a3": 3,
|
|
"a4": 3,
|
|
"a5": 3,
|
|
"tags": "[\"round-trip-tag\"]",
|
|
"source": "rt-MoodEntry-source",
|
|
"loggedAt": "2026-07-01T20:00:00.000Z",
|
|
"externalId": "rt-MoodEntry-externalId",
|
|
"tz": "rt-MoodEntry-tz",
|
|
"deletedAt": null,
|
|
"factors": [
|
|
{
|
|
"key": "round_trip_factor",
|
|
"rating": 4
|
|
}
|
|
],
|
|
"structuredTags": [],
|
|
"context": {
|
|
"note": "rt-MoodContext-notesEncrypted",
|
|
"workStatus": "regular",
|
|
"workMinutes": 3,
|
|
"overtimeMinutes": 3,
|
|
"workLoad": 3,
|
|
"workSatisfaction": 3,
|
|
"contactCircles": "[\"family\"]",
|
|
"contactForm": "rt-MoodContext-contactForm",
|
|
"contactExtent": "rt-MoodContext-contactExtent",
|
|
"contactQuality": 3,
|
|
"contactSupport": 3,
|
|
"leisureCategories": "rt-MoodContext-leisureCategories",
|
|
"leisureMinutes": 3,
|
|
"leisureJoy": 6,
|
|
"leisureRecovery": 3,
|
|
"eventType": "rt-MoodContext-eventType",
|
|
"eventValence": 3,
|
|
"eventAt": "2026-06-30T12:34:56.789Z"
|
|
}
|
|
}
|
|
],
|
|
"customMoodTagCategories": [
|
|
{
|
|
"id": "<id:7>",
|
|
"key": "round_trip_own_category",
|
|
"labelKey": "mood.category.roundTripOwn",
|
|
"icon": "rt-MoodTagCategory-icon",
|
|
"sortOrder": 90,
|
|
"isActive": false,
|
|
"label": "rt-MoodTagCategory-labelEncrypted"
|
|
}
|
|
],
|
|
"hiddenMoodTags": [
|
|
{
|
|
"key": "grateful",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"customMoodTags": [
|
|
{
|
|
"key": "round_trip_factor",
|
|
"labelKey": "mood.tag.roundTripFactor",
|
|
"categoryId": "<id:7>",
|
|
"kind": "RATED",
|
|
"isActive": false,
|
|
"icon": "rt-MoodTag-icon",
|
|
"sortOrder": 3,
|
|
"label": "rt-MoodTag-labelEncrypted",
|
|
"scaleMin": 3,
|
|
"scaleMax": 3,
|
|
"inverse": true
|
|
}
|
|
],
|
|
"cycleProfile": {
|
|
"goal": "AVOID_PREGNANCY",
|
|
"cycleTrackingEnabled": true,
|
|
"typicalCycleLength": 3,
|
|
"typicalPeriodLength": 3,
|
|
"lutealPhaseLength": 3,
|
|
"secondarySymptom": "CERVIX",
|
|
"predictionEnabled": false,
|
|
"rawChartMode": true,
|
|
"discreetNotifications": true,
|
|
"sensitiveCategoryEncryption": false
|
|
},
|
|
"cycles": [],
|
|
"cycleDayLogs": [
|
|
{
|
|
"date": "2026-06-02",
|
|
"flow": "HEAVY",
|
|
"intermenstrualBleeding": true,
|
|
"basalBodyTempC": 2.5,
|
|
"temperatureExcluded": true,
|
|
"ovulationTest": "NEGATIVE",
|
|
"cervicalMucus": "DRY",
|
|
"cervixPosition": "LOW",
|
|
"cervixFirmness": "FIRM",
|
|
"cervixOpening": "CLOSED",
|
|
"sexualActivity": true,
|
|
"protectedSex": true,
|
|
"pregnancyTest": "NEGATIVE",
|
|
"progesteroneTest": "NEGATIVE",
|
|
"contraceptive": "NONE",
|
|
"sensitive": null,
|
|
"note": "rt-CycleDayLog-notesEncrypted",
|
|
"source": "WITHINGS",
|
|
"externalId": "rt-CycleDayLog-externalId",
|
|
"tz": "rt-CycleDayLog-tz",
|
|
"symptomKeys": [
|
|
"custom:round-trip-cramps"
|
|
],
|
|
"symptomSeverities": [
|
|
{
|
|
"key": "custom:round-trip-cramps",
|
|
"severity": 3
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"customSymptoms": [
|
|
{
|
|
"key": "custom:round-trip-cramps",
|
|
"labelKey": "cycle.symptom.custom",
|
|
"categoryId": "csc_physical",
|
|
"icon": "rt-CycleSymptom-icon",
|
|
"sortOrder": 3,
|
|
"isActive": false,
|
|
"label": "Round-trip cramps"
|
|
}
|
|
],
|
|
"labResults": [
|
|
{
|
|
"ref": "<id:8>",
|
|
"note": "rt-LabResult-noteEncrypted",
|
|
"panel": "rt-LabResult-panel",
|
|
"analyte": "Ferritin",
|
|
"value": 91,
|
|
"valueText": "rt-LabResult-valueText",
|
|
"unit": "ng/mL",
|
|
"referenceLow": 2.5,
|
|
"referenceHigh": 2.5,
|
|
"sourceReferenceLow": 2.5,
|
|
"sourceReferenceHigh": 2.5,
|
|
"sourceReferenceText": "rt-LabResult-sourceReferenceText",
|
|
"sourceValue": 2.5,
|
|
"sourceUnit": "rt-LabResult-sourceUnit",
|
|
"takenAt": "2026-06-30T09:00:00.000Z",
|
|
"source": "rt-LabResult-source",
|
|
"biomarkerName": "Ferritin"
|
|
}
|
|
],
|
|
"biomarkers": [
|
|
{
|
|
"name": "Ferritin",
|
|
"unit": "ng/mL",
|
|
"lowerBound": 2.5,
|
|
"upperBound": 2.5,
|
|
"panel": "rt-Biomarker-panel",
|
|
"hidden": true,
|
|
"context": "fasted, morning draw",
|
|
"analyteKey": "rt-Biomarker-analyteKey",
|
|
"aliases": [
|
|
{
|
|
"name": "Ferr.",
|
|
"source": "IMPORT_CHOICE"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"biomarkerMerges": [
|
|
{
|
|
"targetName": "Ferritin",
|
|
"sourceBiomarkerId": "merged-away-marker",
|
|
"sourceName": "Ferritin (Serum)",
|
|
"readingCount": 3,
|
|
"mergedAt": "<now>"
|
|
}
|
|
],
|
|
"illnessEpisodes": [
|
|
{
|
|
"id": "<id:9>",
|
|
"label": "Cold",
|
|
"type": "INFECTION",
|
|
"lifecycle": "CHRONIC_ONGOING",
|
|
"onsetAt": "2026-06-20T00:00:00.000Z",
|
|
"resolvedAt": "2026-06-30T12:34:56.789Z",
|
|
"parentConditionId": null,
|
|
"note": "rt-IllnessEpisode-noteEncrypted",
|
|
"bodySite": null,
|
|
"laterality": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"dayLogs": [
|
|
{
|
|
"id": "<id:10>",
|
|
"episodeId": "<id:9>",
|
|
"date": "2026-06-21",
|
|
"functionalImpact": 3,
|
|
"feverC": 2.5,
|
|
"symptoms": [
|
|
{
|
|
"key": "round_trip_cough",
|
|
"severity": 2
|
|
}
|
|
],
|
|
"note": "rt-IllnessDayLog-noteEncrypted",
|
|
"updatedAt": "<now>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": "<id:11>",
|
|
"label": "Iron deficiency",
|
|
"type": "CHRONIC",
|
|
"lifecycle": "ACUTE",
|
|
"onsetAt": "2026-03-01T00:00:00.000Z",
|
|
"resolvedAt": null,
|
|
"parentConditionId": null,
|
|
"note": null,
|
|
"bodySite": "Stomach",
|
|
"laterality": "BOTH",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"dayLogs": []
|
|
}
|
|
],
|
|
"allergies": [
|
|
{
|
|
"id": "<id:12>",
|
|
"substance": "Penicillin",
|
|
"category": "FOOD",
|
|
"type": "INTOLERANCE",
|
|
"severity": "MILD",
|
|
"status": "INACTIVE",
|
|
"onsetAt": "2026-06-30T12:34:56.789Z",
|
|
"reaction": "rt-Allergy-reactionEncrypted",
|
|
"note": "rt-Allergy-notesEncrypted",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"familyHistory": [
|
|
{
|
|
"id": "<id:13>",
|
|
"relationship": "MOTHER",
|
|
"condition": "Type 2 diabetes",
|
|
"ageAtOnset": 3,
|
|
"note": "rt-FamilyHistoryEntry-notesEncrypted",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"workouts": [
|
|
{
|
|
"sportType": "RUNNING",
|
|
"startedAt": "2026-06-29T06:00:00.000Z",
|
|
"endedAt": "2026-06-29T06:30:00.000Z",
|
|
"durationSec": 1800,
|
|
"totalEnergyKcal": 2.5,
|
|
"totalDistanceM": 2.5,
|
|
"avgHeartRate": 3,
|
|
"maxHeartRate": 3,
|
|
"minHeartRate": 3,
|
|
"stepCount": 3,
|
|
"elevationM": 2.5,
|
|
"pauseDurationSec": 3,
|
|
"source": "WITHINGS",
|
|
"externalId": "rt-Workout-externalId"
|
|
}
|
|
],
|
|
"documents": [],
|
|
"manifest": {
|
|
"documents": {
|
|
"included": "metadata-only",
|
|
"note": "Document metadata (title, filename, type, dates, and the AI-generated summary if one was generated) is included. The original uploaded files are NOT included in this export — download them individually from Settings → Documents, or via the document API."
|
|
},
|
|
"workouts": {
|
|
"included": "summary-only",
|
|
"note": "Workout summary records (duration, distance, heart rate, calories, steps) are included. GPS routes and per-sample heart-rate/pace time series are not included in this export."
|
|
},
|
|
"mentalHealth": {
|
|
"included": "omitted",
|
|
"note": "Completed WHO-5, PHQ and GAD administrations are not included in this export. Their per-item answers are stored encrypted and include the PHQ-9 self-harm item, which is not written into a portable file. They are included in a disaster-recovery backup, which returns to the instance that can read them."
|
|
},
|
|
"consent": {
|
|
"included": "omitted",
|
|
"note": "Consent receipts are not included in this export. A consent is given to one operator, and a receipt restored elsewhere would assert an agreement that operator never obtained. They are included in a disaster-recovery backup, which returns to the same instance."
|
|
}
|
|
},
|
|
"healthProfile": {
|
|
"aboutMe": "Runs three times a week",
|
|
"conditions": "rt-UserHealthProfile-conditionsEncrypted",
|
|
"allergies": "rt-UserHealthProfile-allergiesEncrypted",
|
|
"coachFocus": "rt-UserHealthProfile-coachFocusEncrypted",
|
|
"aiIncludedSections": [
|
|
"ABOUT_ME"
|
|
],
|
|
"lifeConfirmedJson": {
|
|
"roundTrip": "rt-UserHealthProfile-lifeConfirmedJson"
|
|
},
|
|
"emergencyBloodType": "A_POS",
|
|
"organDonorStatus": "YES",
|
|
"advanceDirectiveStatus": "EXISTS",
|
|
"emergencyContacts": "rt-UserHealthProfile-emergencyContactsEncrypted",
|
|
"emergencyImplants": "rt-UserHealthProfile-emergencyImplantsEncrypted",
|
|
"emergencyNote": "rt-UserHealthProfile-emergencyNoteEncrypted"
|
|
},
|
|
"healthProfileFacts": [],
|
|
"customMetrics": [
|
|
{
|
|
"name": "Grip strength",
|
|
"unit": "kg",
|
|
"targetLow": 2.5,
|
|
"targetHigh": 2.5,
|
|
"decimals": 3,
|
|
"description": "rt-CustomMetric-description",
|
|
"correlationEnabled": true,
|
|
"entries": [
|
|
{
|
|
"value": 44,
|
|
"unit": "kg",
|
|
"measuredAt": "2026-07-01T18:00:00.000Z",
|
|
"note": "left hand, after the long ride"
|
|
},
|
|
{
|
|
"value": 45,
|
|
"unit": "kg",
|
|
"measuredAt": "2026-07-02T18:00:00.000Z",
|
|
"note": "right hand, rested"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"correlationPatterns": [
|
|
{
|
|
"createdAt": "<now>",
|
|
"canonicalKey": "p1:a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1a1",
|
|
"family": "sleep",
|
|
"factorKey": "sleep_duration",
|
|
"outcomeKey": "weight",
|
|
"lagDays": 1,
|
|
"sampleSize": 30,
|
|
"effectSize": 0.42,
|
|
"pValue": 0.01,
|
|
"qValue": 0.04,
|
|
"evidenceHash": "b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2b2",
|
|
"isCurrent": false,
|
|
"lastComputedAt": "2026-07-01T00:00:00.000Z",
|
|
"dismissedAt": "2026-06-30T12:34:56.789Z",
|
|
"dismissedEvidenceHash": "abababababababababababababababababababababababababababababababab",
|
|
"dismissedEffectSize": 2.5,
|
|
"dismissedSampleSize": 3
|
|
}
|
|
],
|
|
"decryptFailures": [],
|
|
"intradayProfiles": [
|
|
{
|
|
"type": "ACTIVITY_STEPS",
|
|
"dateKey": "2026-07-01",
|
|
"hourlyCumulative": [
|
|
0,
|
|
350,
|
|
700,
|
|
1050,
|
|
1400,
|
|
1750,
|
|
2100,
|
|
2450,
|
|
2800,
|
|
3150,
|
|
3500,
|
|
3850,
|
|
4200,
|
|
4550,
|
|
4900,
|
|
5250,
|
|
5600,
|
|
5950,
|
|
6300,
|
|
6650,
|
|
7000,
|
|
7350,
|
|
7700,
|
|
8050
|
|
],
|
|
"dayTotal": 8050,
|
|
"sampleCount": 24,
|
|
"hourlyIncrements": [
|
|
-1,
|
|
-1,
|
|
-1,
|
|
-1,
|
|
-1,
|
|
-1,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350,
|
|
350
|
|
],
|
|
"basis": "HOUR_BUCKETS",
|
|
"bucketCount": 3,
|
|
"timezone": "Europe/Berlin"
|
|
}
|
|
],
|
|
"healthScoreRecords": [
|
|
{
|
|
"dayKey": "2026-07-01",
|
|
"timezone": "Europe/Berlin",
|
|
"composite": 71,
|
|
"band": "green",
|
|
"scoreVersion": 1,
|
|
"composition": [
|
|
"activity",
|
|
"sleep"
|
|
],
|
|
"pillarScores": {
|
|
"sleep": 72,
|
|
"activity": 70
|
|
},
|
|
"inputFingerprint": "c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3c3",
|
|
"configVersion": 3,
|
|
"configChangedAt": "2026-06-30T12:34:56.789Z",
|
|
"computedAt": "<now>"
|
|
}
|
|
],
|
|
"onboardingRecord": {
|
|
"needs": {
|
|
"recordTarget": "me",
|
|
"areas": [
|
|
"blood-pressure",
|
|
"sleep"
|
|
],
|
|
"medication": "yes",
|
|
"sources": [
|
|
"withings"
|
|
],
|
|
"visit": "within-a-month",
|
|
"units": {
|
|
"glucoseUnit": "mmol/L",
|
|
"unitPreference": "metric"
|
|
}
|
|
},
|
|
"steps": [
|
|
{
|
|
"id": "who",
|
|
"status": "done"
|
|
},
|
|
{
|
|
"id": "areas",
|
|
"status": "done"
|
|
},
|
|
{
|
|
"id": "medication",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "sources",
|
|
"status": "skipped"
|
|
},
|
|
{
|
|
"id": "visit",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "units",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "confirm",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "first-result",
|
|
"status": "pending"
|
|
},
|
|
{
|
|
"id": "done",
|
|
"status": "pending"
|
|
}
|
|
],
|
|
"firstResult": {
|
|
"task": "connect-source",
|
|
"target": "withings",
|
|
"completedAt": "2026-07-01T08:30:00.000Z"
|
|
},
|
|
"modulesDerivedAt": "2026-07-01T08:00:00.000Z",
|
|
"completedAt": "2026-07-01T08:00:00.000Z"
|
|
},
|
|
"practitioners": [
|
|
{
|
|
"id": "<id:14>",
|
|
"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": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"encounters": [
|
|
{
|
|
"id": "<id:15>",
|
|
"occurredAt": "2026-06-30T08:00:00.000Z",
|
|
"status": "PLANNED",
|
|
"kind": "ROUTINE",
|
|
"practitionerId": "<id:14>",
|
|
"reason": "annual check",
|
|
"outcome": "ferritin back in range, recheck in a year",
|
|
"bodySite": "rt-Encounter-bodySiteEncrypted",
|
|
"laterality": "LEFT",
|
|
"reminderId": "<id:16>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"encounterDocumentLinks": [],
|
|
"encounterLabLinks": [],
|
|
"encounterConditionLinks": [
|
|
{
|
|
"encounterId": "<id:15>",
|
|
"targetId": "<id:9>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"customVaccines": [
|
|
{
|
|
"id": "<id:17>",
|
|
"name": "Round-trip travel combo",
|
|
"components": [
|
|
"typhoid",
|
|
"hepatitis-a"
|
|
],
|
|
"typicalSeriesDoses": 2,
|
|
"boosterIntervalMonths": 36,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"vaccinations": [
|
|
{
|
|
"id": "<id:18>",
|
|
"occurredAt": "2026-05-14T00:00:00.000Z",
|
|
"antigenSlug": "tdap",
|
|
"vaccineName": "Tetanus, diphtheria and pertussis",
|
|
"doseNumber": 3,
|
|
"seriesDoses": 3,
|
|
"lotNumber": "RT-4471",
|
|
"site": "LEFT_ARM",
|
|
"practitionerId": "<id:14>",
|
|
"encounterId": "<id:15>",
|
|
"reminderId": "<id:16>",
|
|
"customVaccineId": "<id:17>",
|
|
"note": "sore arm for a day, nothing else",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"vaccinationDocumentLinks": [],
|
|
"measurementReminders": [
|
|
{
|
|
"id": "<id:16>",
|
|
"label": "Blutdruck messen",
|
|
"measurementType": "BLOOD_PRESSURE_SYS",
|
|
"intervalDays": 7,
|
|
"rrule": "rt-MeasurementReminder-rrule",
|
|
"anchorDate": "2026-06-30T12:34:56.789Z",
|
|
"endsOn": "2026-06-30T12:34:56.789Z",
|
|
"origin": "COACH",
|
|
"notifyHour": 8,
|
|
"location": "Zuhause",
|
|
"nextDueAt": "2026-07-08T06:00:00.000Z",
|
|
"lastSatisfiedAt": "2026-07-01T06:05:00.000Z",
|
|
"enabled": false,
|
|
"vaccinationAntigen": "tetanus",
|
|
"snoozedUntil": "2026-07-08T06:00:00.000Z",
|
|
"lastSkippedAt": "2026-06-24T06:00:00.000Z",
|
|
"skipCount": 2,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"measurementReminderEvents": [
|
|
{
|
|
"id": "<id:19>",
|
|
"reminderId": "<id:16>",
|
|
"kind": "SKIPPED",
|
|
"occurredAt": "2026-06-24T06:00:00.000Z",
|
|
"onTime": false,
|
|
"source": "skip",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:20>",
|
|
"reminderId": "<id:16>",
|
|
"kind": "SATISFIED",
|
|
"occurredAt": "2026-07-01T06:05:00.000Z",
|
|
"onTime": true,
|
|
"source": "manual",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"coachConversations": [
|
|
{
|
|
"id": "<id:21>",
|
|
"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": "<now>",
|
|
"updatedAt": "<now>",
|
|
"messages": [
|
|
{
|
|
"id": "<id:22>",
|
|
"role": "user",
|
|
"content": "my readings look higher this week, is that real?",
|
|
"metricSourceJson": "rt-CoachMessage-metricSourceJson",
|
|
"providerType": null,
|
|
"promptVersion": "rt-CoachMessage-promptVersion",
|
|
"tokensUsed": null,
|
|
"model": null,
|
|
"resultsJson": null,
|
|
"trailJson": null,
|
|
"createdAt": "2026-07-20T09:58:00.000Z"
|
|
},
|
|
{
|
|
"id": "<id:23>",
|
|
"role": "assistant",
|
|
"content": "the last seven mornings average 4 mmHg above the fortnight before",
|
|
"metricSourceJson": null,
|
|
"providerType": "anthropic",
|
|
"promptVersion": null,
|
|
"tokensUsed": 812,
|
|
"model": "claude-opus-5",
|
|
"resultsJson": "[{\"ref\":\"r1\",\"source\":{\"tool\":\"get_metric_series\",\"domain\":\"bp\",\"window\":\"last7days\",\"period\":\"current\",\"granularity\":\"day\"},\"shape\":\"timeSeries\",\"titleKey\":\"coach.result.title.metricByPeriod\",\"title\":\"Blood pressure by day\",\"rowCount\":2,\"chartKind\":\"line\",\"displayed\":true,\"columns\":[{\"key\":\"period\",\"kind\":\"period\",\"labelKey\":\"coach.result.column.day\",\"label\":\"Day\"},{\"key\":\"sys\",\"kind\":\"number\",\"labelKey\":\"coach.result.column.systolic\",\"label\":\"Systolic\",\"unit\":\"mmHg\"}],\"rows\":[[\"2026-07-19\",131],[\"2026-07-20\",null]],\"truncated\":false,\"chart\":{\"kind\":\"line\",\"x\":\"period\",\"series\":[\"sys\"]}}]",
|
|
"trailJson": "{\"entries\":[{\"id\":\"a1\",\"title\":\"Checking the trend\",\"text\":\"Read 30 days.\"}]}",
|
|
"createdAt": "2026-07-20T09:59:00.000Z"
|
|
}
|
|
],
|
|
"attachments": []
|
|
},
|
|
{
|
|
"id": "<id:24>",
|
|
"title": "About my June labs",
|
|
"documentScoped": true,
|
|
"summary": null,
|
|
"summaryUpdatedAt": null,
|
|
"summaryTurnCount": 0,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"messages": [
|
|
{
|
|
"id": "<id:25>",
|
|
"role": "user",
|
|
"content": "What does the ferritin mean?",
|
|
"metricSourceJson": null,
|
|
"providerType": null,
|
|
"promptVersion": null,
|
|
"tokensUsed": null,
|
|
"model": null,
|
|
"resultsJson": null,
|
|
"trailJson": null,
|
|
"createdAt": "2026-07-21T08:00:00.000Z"
|
|
}
|
|
],
|
|
"attachments": []
|
|
}
|
|
],
|
|
"coachFacts": [
|
|
{
|
|
"id": "<id:26>",
|
|
"fact": "does not tolerate ACE inhibitors",
|
|
"category": "constraint",
|
|
"confidence": 80,
|
|
"sourceConversationId": "<id:21>",
|
|
"source": "user",
|
|
"lastUsedAt": "2026-07-20T10:00:00.000Z",
|
|
"sourceMessageId": "<id:23>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"coachPlans": [
|
|
{
|
|
"id": "<id:27>",
|
|
"metric": "BLOOD_PRESSURE",
|
|
"ifCue": "if the evening reading is over 140",
|
|
"thenAction": "then walk twenty minutes before dinner tomorrow",
|
|
"target": "under 130 by October",
|
|
"outcome": "rt-CoachPlan-outcomeEncrypted",
|
|
"status": "active",
|
|
"reviewDate": "2026-10-01T00:00:00.000Z",
|
|
"sourceConversationId": "<id:21>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"coachReminders": [
|
|
{
|
|
"id": "<id:28>",
|
|
"note": "ask how the evening walks are going",
|
|
"metric": "BLOOD_PRESSURE",
|
|
"relatedPlanId": "<id:27>",
|
|
"triggerKind": "rt-CoachReminder-triggerKind",
|
|
"dueAt": "2026-09-01T07:00:00.000Z",
|
|
"contextCue": "rt-CoachReminder-contextCue",
|
|
"status": "rt-CoachReminder-status",
|
|
"source": "extractor",
|
|
"sourceConversationId": "<id:21>",
|
|
"lastSurfacedAt": "2026-06-30T12:34:56.789Z",
|
|
"surfaceCount": 2,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"mentalHealthAssessments": [],
|
|
"consentReceipts": [],
|
|
"documentConditionLinks": [],
|
|
"extractedFacts": [],
|
|
"personalRecords": [
|
|
{
|
|
"metricType": "WALKING_RUNNING_DISTANCE",
|
|
"metricSlot": "running_5km_time",
|
|
"direction": "MIN",
|
|
"value": 1512,
|
|
"unit": "s",
|
|
"achievedAt": "2026-05-18T09:20:00.000Z",
|
|
"sourceMeasurementId": null,
|
|
"source": "APPLE_HEALTH",
|
|
"externalId": "workout-pr-5km",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"metricType": "WALKING_RUNNING_DISTANCE",
|
|
"metricSlot": "running_10km_time",
|
|
"direction": "MIN",
|
|
"value": 3184,
|
|
"unit": "s",
|
|
"achievedAt": "2026-05-18T09:20:00.000Z",
|
|
"sourceMeasurementId": null,
|
|
"source": "APPLE_HEALTH",
|
|
"externalId": "workout-pr-10km",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"metricType": "WEIGHT",
|
|
"metricSlot": null,
|
|
"direction": "MIN",
|
|
"value": 74.2,
|
|
"unit": "kg",
|
|
"achievedAt": "2026-07-01T07:00:00.000Z",
|
|
"sourceMeasurementId": "<id:3>",
|
|
"source": "MANUAL",
|
|
"externalId": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"userAchievements": [
|
|
{
|
|
"achievementId": "retired-badge-from-an-older-release",
|
|
"unlockedAt": "2025-11-05T08:00:00.000Z",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"achievementId": "intake-total-10",
|
|
"unlockedAt": "2026-02-21T10:15:00.000Z",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"environmentContexts": [
|
|
{
|
|
"date": "2026-06-15",
|
|
"lat": 41.4,
|
|
"lon": 2.2,
|
|
"locationLabel": "Barcelona",
|
|
"source": "TRAVEL",
|
|
"tempMin": 19.4,
|
|
"tempMax": 28.1,
|
|
"tempMean": 23.6,
|
|
"apparentMean": 25.2,
|
|
"sunshineSec": 39600,
|
|
"daylightSec": 52800,
|
|
"precipSum": 0,
|
|
"pressureMean": 1016.4,
|
|
"pressureDelta": 3.2,
|
|
"humidityMean": 63,
|
|
"cloudMean": 12,
|
|
"weatherCode": 1,
|
|
"apparentMax": 2.5,
|
|
"pm25Mean": 2.5,
|
|
"pm25Max": 2.5,
|
|
"pm10Mean": 2.5,
|
|
"no2Mean": 2.5,
|
|
"so2Mean": 2.5,
|
|
"coMean": 2.5,
|
|
"o3Max8h": 2.5,
|
|
"eaqiMax": 2.5,
|
|
"usaqiMax": 2.5,
|
|
"uvIndexMax": 2.5,
|
|
"dustMax": 2.5,
|
|
"aodMax": 2.5,
|
|
"pollenAlderMax": 2.5,
|
|
"pollenBirchMax": 2.5,
|
|
"pollenGrassMax": 2.5,
|
|
"pollenMugwortMax": 2.5,
|
|
"pollenOliveMax": 2.5,
|
|
"pollenRagweedMax": 2.5,
|
|
"aqDomain": "rt-EnvironmentContext-aqDomain",
|
|
"aqHours": 3,
|
|
"aqFetchedAt": "2026-06-30T12:34:56.789Z",
|
|
"fetchedAt": "2026-06-16T03:15:00.000Z",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"date": "2026-07-01",
|
|
"lat": 52.5,
|
|
"lon": 13.4,
|
|
"locationLabel": "Berlin",
|
|
"source": "HOME",
|
|
"tempMin": 13.1,
|
|
"tempMax": 22.7,
|
|
"tempMean": 17.9,
|
|
"apparentMean": 17.1,
|
|
"sunshineSec": 28800,
|
|
"daylightSec": 59400,
|
|
"precipSum": 4.6,
|
|
"pressureMean": 1008.9,
|
|
"pressureDelta": 7.8,
|
|
"humidityMean": 74,
|
|
"cloudMean": 68,
|
|
"weatherCode": 61,
|
|
"apparentMax": null,
|
|
"pm25Mean": null,
|
|
"pm25Max": null,
|
|
"pm10Mean": null,
|
|
"no2Mean": null,
|
|
"so2Mean": null,
|
|
"coMean": null,
|
|
"o3Max8h": null,
|
|
"eaqiMax": null,
|
|
"usaqiMax": null,
|
|
"uvIndexMax": null,
|
|
"dustMax": null,
|
|
"aodMax": null,
|
|
"pollenAlderMax": null,
|
|
"pollenBirchMax": null,
|
|
"pollenGrassMax": null,
|
|
"pollenMugwortMax": null,
|
|
"pollenOliveMax": null,
|
|
"pollenRagweedMax": null,
|
|
"aqDomain": null,
|
|
"aqHours": null,
|
|
"aqFetchedAt": null,
|
|
"fetchedAt": "2026-07-02T03:15:00.000Z",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"environmentTravelLocations": [
|
|
{
|
|
"startDate": "2026-06-10",
|
|
"endDate": "2026-06-20",
|
|
"lat": 41.4,
|
|
"lon": 2.2,
|
|
"label": "Barcelona",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"dawarichDays": [
|
|
{
|
|
"date": "2026-06-15",
|
|
"totalDistanceM": 48300,
|
|
"drivingDistanceM": 12000,
|
|
"trainDistanceM": 30500,
|
|
"placesVisited": 4,
|
|
"awayFromHomeMinutes": 1440,
|
|
"countryCode": "ES",
|
|
"isTravelDay": true,
|
|
"fetchedAt": "2026-06-16T03:20:00.000Z",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"ecgRecordings": [
|
|
{
|
|
"waveform": [
|
|
-12,
|
|
4,
|
|
118,
|
|
-33,
|
|
7,
|
|
2,
|
|
-5,
|
|
61
|
|
],
|
|
"source": "MANUAL",
|
|
"externalRecordingId": "round-trip-signal-1",
|
|
"recordedAt": "2026-06-15T14:22:00.000Z",
|
|
"samplingFrequency": 300,
|
|
"sampleCount": 8,
|
|
"durationSeconds": 0.02666666666666667,
|
|
"lead": "I",
|
|
"averageHeartRate": 88,
|
|
"rhythmClassification": "IRREGULAR",
|
|
"measurementId": "<id:4>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"symptomDefinitions": [
|
|
{
|
|
"label": "Aura",
|
|
"icon": "Zap",
|
|
"sortOrder": 0,
|
|
"isActive": true,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"events": [
|
|
{
|
|
"note": null,
|
|
"occurredAt": "2026-06-21T09:00:00.000Z",
|
|
"intensity": 4,
|
|
"episodeId": "<id:9>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"note": null,
|
|
"occurredAt": "2026-07-10T18:30:00.000Z",
|
|
"intensity": 2,
|
|
"episodeId": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Headache",
|
|
"icon": "Brain",
|
|
"sortOrder": 1,
|
|
"isActive": false,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"events": [
|
|
{
|
|
"note": "left side, behind the eye",
|
|
"occurredAt": "2026-06-21T11:00:00.000Z",
|
|
"intensity": 8,
|
|
"episodeId": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"lifeEvents": [
|
|
{
|
|
"title": "Moved to the coast",
|
|
"note": "the flat with the long hallway",
|
|
"category": "HOME",
|
|
"startDate": "2023-09-01",
|
|
"endDate": null,
|
|
"precision": "MONTH",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"title": "Parental leave",
|
|
"note": null,
|
|
"category": "WORK",
|
|
"startDate": "2026-03-02",
|
|
"endDate": "2026-05-29",
|
|
"precision": "DAY",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"labResultDocumentLinks": [],
|
|
"encounterMedicationLinks": [
|
|
{
|
|
"encounterId": "<id:15>",
|
|
"medicationId": "<id:5>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterVaccinationLinks": [
|
|
{
|
|
"encounterId": "<id:15>",
|
|
"vaccinationId": "<id:18>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"medicationDocumentLinks": [],
|
|
"medicationConditionLinks": [
|
|
{
|
|
"medicationId": "<id:5>",
|
|
"episodeId": "<id:9>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"nutrientDays": [
|
|
{
|
|
"day": "2026-07-01",
|
|
"nutrient": "WATER",
|
|
"amount": 2100,
|
|
"unit": "ml",
|
|
"source": "MANUAL",
|
|
"externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion",
|
|
"createdAt": "<now>"
|
|
}
|
|
]
|
|
}
|
|
}
|