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.
3234 lines
91 KiB
JSON
3234 lines
91 KiB
JSON
{
|
|
"payload": {
|
|
"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": "2026-06-30T12:34:56.789Z",
|
|
"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": "[unreadable: encrypted with a key this instance no longer holds]",
|
|
"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": [
|
|
{
|
|
"id": "<id:14>",
|
|
"kind": "LAB_RESULT",
|
|
"title": "June labs",
|
|
"filename": "june-labs.pdf",
|
|
"mimeType": "application/pdf",
|
|
"byteSize": 57,
|
|
"status": "EXTRACTING",
|
|
"reportDate": "2026-06-30",
|
|
"documentDate": "2026-06-30",
|
|
"sourceSystem": "PAPERLESS",
|
|
"sourceId": "4711",
|
|
"sourceInstance": "https://paperless.example.test",
|
|
"createdAt": "<now>",
|
|
"summary": "rt-InboundDocument-summaryEncrypted"
|
|
}
|
|
],
|
|
"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:15>",
|
|
"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:16>",
|
|
"occurredAt": "2026-06-30T08:00:00.000Z",
|
|
"status": "PLANNED",
|
|
"kind": "ROUTINE",
|
|
"practitionerId": "<id:15>",
|
|
"reason": "annual check",
|
|
"outcome": "ferritin back in range, recheck in a year",
|
|
"bodySite": "rt-Encounter-bodySiteEncrypted",
|
|
"laterality": "LEFT",
|
|
"reminderId": "<id:17>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"encounterDocumentLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"targetId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterLabLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"targetId": "<id:8>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterConditionLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"targetId": "<id:9>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"customVaccines": [
|
|
{
|
|
"id": "<id:18>",
|
|
"name": "Round-trip travel combo",
|
|
"components": [
|
|
"typhoid",
|
|
"hepatitis-a"
|
|
],
|
|
"typicalSeriesDoses": 2,
|
|
"boosterIntervalMonths": 36,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"vaccinations": [
|
|
{
|
|
"id": "<id:19>",
|
|
"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:15>",
|
|
"encounterId": "<id:16>",
|
|
"reminderId": "<id:17>",
|
|
"customVaccineId": "<id:18>",
|
|
"note": "sore arm for a day, nothing else",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"vaccinationDocumentLinks": [
|
|
{
|
|
"vaccinationId": "<id:19>",
|
|
"targetId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"measurementReminders": [
|
|
{
|
|
"id": "<id:17>",
|
|
"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:20>",
|
|
"reminderId": "<id:17>",
|
|
"kind": "SKIPPED",
|
|
"occurredAt": "2026-06-24T06:00:00.000Z",
|
|
"onTime": false,
|
|
"source": "skip",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:21>",
|
|
"reminderId": "<id:17>",
|
|
"kind": "SATISFIED",
|
|
"occurredAt": "2026-07-01T06:05:00.000Z",
|
|
"onTime": true,
|
|
"source": "manual",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"coachConversations": [
|
|
{
|
|
"id": "<id:22>",
|
|
"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:23>",
|
|
"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:24>",
|
|
"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:25>",
|
|
"title": "About my June labs",
|
|
"documentScoped": true,
|
|
"summary": null,
|
|
"summaryUpdatedAt": null,
|
|
"summaryTurnCount": 0,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"messages": [
|
|
{
|
|
"id": "<id:26>",
|
|
"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": [
|
|
{
|
|
"documentId": "<id:14>",
|
|
"addedAt": "2026-07-21T07:59:00.000Z"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"coachFacts": [
|
|
{
|
|
"id": "<id:27>",
|
|
"fact": "does not tolerate ACE inhibitors",
|
|
"category": "constraint",
|
|
"confidence": 80,
|
|
"sourceConversationId": "<id:22>",
|
|
"source": "user",
|
|
"lastUsedAt": "2026-07-20T10:00:00.000Z",
|
|
"sourceMessageId": "<id:24>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"coachPlans": [
|
|
{
|
|
"id": "<id:28>",
|
|
"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:22>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"coachReminders": [
|
|
{
|
|
"id": "<id:29>",
|
|
"note": "ask how the evening walks are going",
|
|
"metric": "BLOOD_PRESSURE",
|
|
"relatedPlanId": "<id:28>",
|
|
"triggerKind": "rt-CoachReminder-triggerKind",
|
|
"dueAt": "2026-09-01T07:00:00.000Z",
|
|
"contextCue": "rt-CoachReminder-contextCue",
|
|
"status": "rt-CoachReminder-status",
|
|
"source": "extractor",
|
|
"sourceConversationId": "<id:22>",
|
|
"lastSurfacedAt": "2026-06-30T12:34:56.789Z",
|
|
"surfaceCount": 2,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"mentalHealthAssessments": [],
|
|
"consentReceipts": [],
|
|
"documentConditionLinks": [
|
|
{
|
|
"documentId": "<id:14>",
|
|
"episodeId": "<id:11>",
|
|
"createdAt": "2026-07-02T09:00:00.000Z"
|
|
}
|
|
],
|
|
"extractedFacts": [
|
|
{
|
|
"id": "<id:30>",
|
|
"documentId": "<id:14>",
|
|
"factType": "OBSERVATION",
|
|
"status": "APPROVED",
|
|
"confidence": 0.94,
|
|
"needsReview": false,
|
|
"committedRecordId": "<id:8>",
|
|
"committedRecordType": "labResult",
|
|
"data": {
|
|
"label": "Ferritin",
|
|
"code": null,
|
|
"codeSystem": null,
|
|
"value": 91,
|
|
"valueText": null,
|
|
"unit": "ng/mL",
|
|
"referenceLow": 30,
|
|
"referenceHigh": 400,
|
|
"effectiveDate": "2026-06-30"
|
|
},
|
|
"provenance": {
|
|
"sourceText": "Ferritin 91 ng/mL (30 - 400)",
|
|
"anchored": true,
|
|
"sourceOffset": 412,
|
|
"page": 2,
|
|
"confidence": 0.94
|
|
},
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"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": [
|
|
{
|
|
"labResultId": "<id:8>",
|
|
"documentId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterMedicationLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"medicationId": "<id:5>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterVaccinationLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"vaccinationId": "<id:19>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"medicationDocumentLinks": [
|
|
{
|
|
"medicationId": "<id:5>",
|
|
"documentId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"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>"
|
|
}
|
|
]
|
|
},
|
|
"builtCounts": {
|
|
"measurements": 4,
|
|
"medications": 1,
|
|
"intakeEvents": 1,
|
|
"medicationSideEffects": 1,
|
|
"medicationPauseEras": 2,
|
|
"medicationDoseChanges": 2,
|
|
"medicationInventoryItems": 2,
|
|
"medicationInventoryEvents": 2,
|
|
"reminderPhaseConfigs": 1,
|
|
"medicationEfficacyTargets": 1,
|
|
"medicationScheduleRevisions": 3,
|
|
"moodEntries": 1,
|
|
"customMoodTagCategories": 1,
|
|
"hiddenMoodTags": 1,
|
|
"cycles": 0,
|
|
"cycleDayLogs": 1,
|
|
"nutrientDays": 1,
|
|
"labResults": 1,
|
|
"biomarkers": 1,
|
|
"illnessEpisodes": 2,
|
|
"illnessDayLogs": 1,
|
|
"allergies": 1,
|
|
"familyHistory": 1,
|
|
"workouts": 1,
|
|
"documents": 1,
|
|
"healthProfile": 1,
|
|
"customMetrics": 1,
|
|
"healthProfileFactRevisions": 0,
|
|
"customMetricEntries": 2,
|
|
"correlationPatterns": 1,
|
|
"intradayProfiles": 1,
|
|
"healthScoreRecords": 1,
|
|
"onboardingRecords": 1,
|
|
"practitioners": 1,
|
|
"encounters": 1,
|
|
"encounterLinks": 3,
|
|
"customVaccines": 1,
|
|
"vaccinations": 1,
|
|
"vaccinationLinks": 1,
|
|
"measurementReminders": 1,
|
|
"measurementReminderEvents": 2,
|
|
"coachConversations": 2,
|
|
"coachMessages": 3,
|
|
"coachConversationDocuments": 1,
|
|
"coachFacts": 1,
|
|
"coachPlans": 1,
|
|
"coachReminders": 1,
|
|
"mentalHealthAssessments": 0,
|
|
"consentReceipts": 0,
|
|
"documentConditionLinks": 1,
|
|
"extractedFacts": 1,
|
|
"personalRecords": 3,
|
|
"userAchievements": 2,
|
|
"environmentContexts": 2,
|
|
"environmentTravelLocations": 1,
|
|
"dawarichDays": 1,
|
|
"ecgRecordings": 1,
|
|
"symptomDefinitions": 2,
|
|
"symptomEvents": 3,
|
|
"lifeEvents": 2,
|
|
"relationLinks": 5
|
|
},
|
|
"streamedCounts": {
|
|
"measurements": 4,
|
|
"medications": 1,
|
|
"intakeEvents": 1,
|
|
"medicationSideEffects": 1,
|
|
"medicationPauseEras": 2,
|
|
"medicationDoseChanges": 2,
|
|
"medicationInventoryItems": 2,
|
|
"medicationInventoryEvents": 2,
|
|
"reminderPhaseConfigs": 1,
|
|
"medicationEfficacyTargets": 1,
|
|
"medicationScheduleRevisions": 3,
|
|
"moodEntries": 1,
|
|
"customMoodTagCategories": 1,
|
|
"hiddenMoodTags": 1,
|
|
"cycles": 0,
|
|
"cycleDayLogs": 1,
|
|
"nutrientDays": 1,
|
|
"labResults": 1,
|
|
"biomarkers": 1,
|
|
"illnessEpisodes": 2,
|
|
"illnessDayLogs": 1,
|
|
"allergies": 1,
|
|
"familyHistory": 1,
|
|
"workouts": 1,
|
|
"documents": 1,
|
|
"healthProfile": 1,
|
|
"customMetrics": 1,
|
|
"healthProfileFactRevisions": 0,
|
|
"customMetricEntries": 2,
|
|
"correlationPatterns": 1,
|
|
"intradayProfiles": 1,
|
|
"healthScoreRecords": 1,
|
|
"onboardingRecords": 1,
|
|
"practitioners": 1,
|
|
"encounters": 1,
|
|
"encounterLinks": 3,
|
|
"customVaccines": 1,
|
|
"vaccinations": 1,
|
|
"vaccinationLinks": 1,
|
|
"measurementReminders": 1,
|
|
"measurementReminderEvents": 2,
|
|
"coachConversations": 2,
|
|
"coachMessages": 3,
|
|
"coachConversationDocuments": 1,
|
|
"coachFacts": 1,
|
|
"coachPlans": 1,
|
|
"coachReminders": 1,
|
|
"mentalHealthAssessments": 0,
|
|
"consentReceipts": 0,
|
|
"documentConditionLinks": 1,
|
|
"extractedFacts": 1,
|
|
"personalRecords": 3,
|
|
"userAchievements": 2,
|
|
"environmentContexts": 2,
|
|
"environmentTravelLocations": 1,
|
|
"dawarichDays": 1,
|
|
"ecgRecordings": 1,
|
|
"symptomDefinitions": 2,
|
|
"symptomEvents": 3,
|
|
"lifeEvents": 2,
|
|
"relationLinks": 5
|
|
},
|
|
"parsed": {
|
|
"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",
|
|
"homeLat": 2.5,
|
|
"homeLon": 2.5,
|
|
"homeLabel": "round-trip home",
|
|
"homeTimezone": "Asia/Tokyo",
|
|
"homeSince": "2026-06-30T12:34:56.789Z",
|
|
"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
|
|
}
|
|
],
|
|
"medications": [
|
|
{
|
|
"ref": "<id:5>",
|
|
"name": "Round-trip tablet",
|
|
"dose": "5 mg",
|
|
"active": false,
|
|
"trackIntake": false,
|
|
"autoMarkTaken": true,
|
|
"autoMarkTakenSince": "2026-06-30T12:34:56.789Z",
|
|
"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": [
|
|
{
|
|
"occurredAt": "2026-07-01T21:00:00.000Z",
|
|
"category": "GI",
|
|
"entry": "NAUSEA",
|
|
"severity": 3,
|
|
"notes": "nausea for two hours after the evening dose"
|
|
}
|
|
],
|
|
"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>"
|
|
}
|
|
],
|
|
"doseChanges": [
|
|
{
|
|
"effectiveFrom": "2026-04-01T08:00:00.000Z",
|
|
"doseValue": 5,
|
|
"doseUnit": "mg",
|
|
"note": "titration note, encrypted at rest",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"effectiveFrom": "2026-06-01T08:00:00.000Z",
|
|
"doseValue": 10,
|
|
"doseUnit": "mg",
|
|
"note": null,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"inventoryItems": [
|
|
{
|
|
"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",
|
|
"notes": "second pack, kept in the kitchen drawer",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"state": "USED_UP",
|
|
"containerType": "BOTTLE",
|
|
"unitsTotal": "60",
|
|
"unitsRemaining": "0",
|
|
"firstUseAt": null,
|
|
"expiresAt": null,
|
|
"printedExpiry": null,
|
|
"purchasedAt": null,
|
|
"manufacturer": null,
|
|
"doseStrength": null,
|
|
"notes": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"inventoryEvents": [
|
|
{
|
|
"delta": 30,
|
|
"reason": "purchased",
|
|
"occurredAt": "2026-07-01T07:00:00.000Z"
|
|
},
|
|
{
|
|
"delta": -8,
|
|
"reason": "consumed",
|
|
"occurredAt": "2026-07-09T07:00:00.000Z"
|
|
}
|
|
],
|
|
"phaseConfig": {
|
|
"greenValue": 45,
|
|
"greenMode": "PERCENT",
|
|
"yellowValue": 20,
|
|
"yellowMode": "PERCENT",
|
|
"orangeValue": 5,
|
|
"orangeMode": "PERCENT",
|
|
"redValue": 180,
|
|
"redMode": "PERCENT"
|
|
},
|
|
"efficacyTargets": [
|
|
{
|
|
"measurementType": "WEIGHT",
|
|
"biomarkerName": "Ferritin",
|
|
"primary": false
|
|
}
|
|
],
|
|
"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>"
|
|
}
|
|
],
|
|
"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>"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"customMedicationCategories": [
|
|
{
|
|
"key": "custom:5f0c6a52-6a43-4f63-9b39-0c1f4d7e2a10",
|
|
"label": "Heart and circulation",
|
|
"sortOrder": 2,
|
|
"isActive": false,
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"intakeEvents": [
|
|
{
|
|
"medication": "Round-trip tablet",
|
|
"scheduledFor": "2026-07-01T08:00:00.000Z",
|
|
"takenAt": "2026-07-01T08:04:00.000Z",
|
|
"skipped": true,
|
|
"autoRecorded": true,
|
|
"source": "API"
|
|
}
|
|
],
|
|
"moodEntries": [
|
|
{
|
|
"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\"]",
|
|
"note": "rt-MoodEntry-noteEncrypted",
|
|
"source": "rt-MoodEntry-source",
|
|
"externalId": "rt-MoodEntry-externalId",
|
|
"loggedAt": "2026-07-01T20:00:00.000Z",
|
|
"tz": "rt-MoodEntry-tz",
|
|
"deletedAt": null,
|
|
"factors": [
|
|
{
|
|
"key": "round_trip_factor",
|
|
"rating": 4
|
|
}
|
|
],
|
|
"structuredTags": [],
|
|
"context": {
|
|
"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",
|
|
"note": "rt-MoodContext-notesEncrypted"
|
|
}
|
|
}
|
|
],
|
|
"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",
|
|
"note": "rt-CycleDayLog-notesEncrypted",
|
|
"sensitive": "[unreadable: encrypted with a key this instance no longer holds]",
|
|
"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"
|
|
}
|
|
],
|
|
"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
|
|
}
|
|
],
|
|
"labResults": [
|
|
{
|
|
"ref": "<id:8>",
|
|
"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",
|
|
"note": "rt-LabResult-noteEncrypted"
|
|
}
|
|
],
|
|
"biomarkers": [
|
|
{
|
|
"name": "Ferritin",
|
|
"unit": "ng/mL",
|
|
"lowerBound": 2.5,
|
|
"upperBound": 2.5,
|
|
"panel": "rt-Biomarker-panel",
|
|
"hidden": true,
|
|
"analyteKey": "rt-Biomarker-analyteKey",
|
|
"context": "fasted, morning draw",
|
|
"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",
|
|
"createdAt": "<now>",
|
|
"bodySite": null,
|
|
"laterality": null,
|
|
"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,
|
|
"createdAt": "<now>",
|
|
"bodySite": "Stomach",
|
|
"laterality": "BOTH",
|
|
"updatedAt": "<now>",
|
|
"dayLogs": []
|
|
}
|
|
],
|
|
"symptomDefinitions": [
|
|
{
|
|
"label": "Aura",
|
|
"icon": "Zap",
|
|
"sortOrder": 0,
|
|
"isActive": true,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"events": [
|
|
{
|
|
"occurredAt": "2026-06-21T09:00:00.000Z",
|
|
"intensity": 4,
|
|
"note": null,
|
|
"episodeId": "<id:9>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"occurredAt": "2026-07-10T18:30:00.000Z",
|
|
"intensity": 2,
|
|
"note": null,
|
|
"episodeId": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"label": "Headache",
|
|
"icon": "Brain",
|
|
"sortOrder": 1,
|
|
"isActive": false,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"events": [
|
|
{
|
|
"occurredAt": "2026-06-21T11:00:00.000Z",
|
|
"intensity": 8,
|
|
"note": "left side, behind the eye",
|
|
"episodeId": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"lifeEvents": [
|
|
{
|
|
"category": "HOME",
|
|
"startDate": "2023-09-01",
|
|
"endDate": null,
|
|
"precision": "MONTH",
|
|
"title": "Moved to the coast",
|
|
"note": "the flat with the long hallway",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
},
|
|
{
|
|
"category": "WORK",
|
|
"startDate": "2026-03-02",
|
|
"endDate": "2026-05-29",
|
|
"precision": "DAY",
|
|
"title": "Parental leave",
|
|
"note": null,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"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": [
|
|
{
|
|
"id": "<id:14>",
|
|
"kind": "LAB_RESULT",
|
|
"title": "June labs",
|
|
"filename": "june-labs.pdf",
|
|
"mimeType": "application/pdf",
|
|
"byteSize": 57,
|
|
"status": "EXTRACTING",
|
|
"reportDate": "2026-06-30",
|
|
"documentDate": "2026-06-30",
|
|
"sourceSystem": "PAPERLESS",
|
|
"sourceId": "4711",
|
|
"sourceInstance": "https://paperless.example.test",
|
|
"summary": "rt-InboundDocument-summaryEncrypted",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"documentConditionLinks": [
|
|
{
|
|
"documentId": "<id:14>",
|
|
"episodeId": "<id:11>",
|
|
"createdAt": "2026-07-02T09:00:00.000Z"
|
|
}
|
|
],
|
|
"extractedFacts": [
|
|
{
|
|
"id": "<id:30>",
|
|
"documentId": "<id:14>",
|
|
"factType": "OBSERVATION",
|
|
"status": "APPROVED",
|
|
"confidence": 0.94,
|
|
"needsReview": false,
|
|
"committedRecordId": "<id:8>",
|
|
"committedRecordType": "labResult",
|
|
"data": {
|
|
"label": "Ferritin",
|
|
"code": null,
|
|
"codeSystem": null,
|
|
"value": 91,
|
|
"valueText": null,
|
|
"unit": "ng/mL",
|
|
"referenceLow": 30,
|
|
"referenceHigh": 400,
|
|
"effectiveDate": "2026-06-30"
|
|
},
|
|
"provenance": {
|
|
"sourceText": "Ferritin 91 ng/mL (30 - 400)",
|
|
"anchored": true,
|
|
"sourceOffset": 412,
|
|
"page": 2,
|
|
"confidence": 0.94
|
|
},
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"nutrientDays": [
|
|
{
|
|
"day": "2026-07-01",
|
|
"nutrient": "WATER",
|
|
"amount": 2100,
|
|
"unit": "ml",
|
|
"source": "MANUAL",
|
|
"externalSourceVersion": "rt-NutrientIntakeDay-externalSourceVersion",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"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": [
|
|
{
|
|
"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>"
|
|
}
|
|
],
|
|
"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:15>",
|
|
"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:16>",
|
|
"occurredAt": "2026-06-30T08:00:00.000Z",
|
|
"status": "PLANNED",
|
|
"kind": "ROUTINE",
|
|
"practitionerId": "<id:15>",
|
|
"reason": "annual check",
|
|
"outcome": "ferritin back in range, recheck in a year",
|
|
"bodySite": "rt-Encounter-bodySiteEncrypted",
|
|
"laterality": "LEFT",
|
|
"reminderId": "<id:17>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"encounterDocumentLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"targetId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterLabLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"targetId": "<id:8>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterConditionLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"targetId": "<id:9>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"customVaccines": [
|
|
{
|
|
"id": "<id:18>",
|
|
"name": "Round-trip travel combo",
|
|
"components": [
|
|
"typhoid",
|
|
"hepatitis-a"
|
|
],
|
|
"typicalSeriesDoses": 2,
|
|
"boosterIntervalMonths": 36,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"vaccinations": [
|
|
{
|
|
"id": "<id:19>",
|
|
"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:15>",
|
|
"encounterId": "<id:16>",
|
|
"reminderId": "<id:17>",
|
|
"customVaccineId": "<id:18>",
|
|
"note": "sore arm for a day, nothing else",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"vaccinationDocumentLinks": [
|
|
{
|
|
"vaccinationId": "<id:19>",
|
|
"targetId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"labResultDocumentLinks": [
|
|
{
|
|
"labResultId": "<id:8>",
|
|
"documentId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterMedicationLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"medicationId": "<id:5>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"encounterVaccinationLinks": [
|
|
{
|
|
"encounterId": "<id:16>",
|
|
"vaccinationId": "<id:19>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"medicationDocumentLinks": [
|
|
{
|
|
"medicationId": "<id:5>",
|
|
"documentId": "<id:14>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"medicationConditionLinks": [
|
|
{
|
|
"medicationId": "<id:5>",
|
|
"episodeId": "<id:9>",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"coachConversations": [
|
|
{
|
|
"id": "<id:22>",
|
|
"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:23>",
|
|
"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:24>",
|
|
"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:25>",
|
|
"title": "About my June labs",
|
|
"documentScoped": true,
|
|
"summary": null,
|
|
"summaryUpdatedAt": null,
|
|
"summaryTurnCount": 0,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>",
|
|
"messages": [
|
|
{
|
|
"id": "<id:26>",
|
|
"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": [
|
|
{
|
|
"documentId": "<id:14>",
|
|
"addedAt": "2026-07-21T07:59:00.000Z"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"mentalHealthAssessments": [],
|
|
"consentReceipts": [],
|
|
"coachFacts": [
|
|
{
|
|
"id": "<id:27>",
|
|
"fact": "does not tolerate ACE inhibitors",
|
|
"category": "constraint",
|
|
"confidence": 80,
|
|
"sourceConversationId": "<id:22>",
|
|
"source": "user",
|
|
"lastUsedAt": "2026-07-20T10:00:00.000Z",
|
|
"sourceMessageId": "<id:24>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"coachPlans": [
|
|
{
|
|
"id": "<id:28>",
|
|
"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:22>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"coachReminders": [
|
|
{
|
|
"id": "<id:29>",
|
|
"note": "ask how the evening walks are going",
|
|
"metric": "BLOOD_PRESSURE",
|
|
"relatedPlanId": "<id:28>",
|
|
"triggerKind": "rt-CoachReminder-triggerKind",
|
|
"dueAt": "2026-09-01T07:00:00.000Z",
|
|
"contextCue": "rt-CoachReminder-contextCue",
|
|
"status": "rt-CoachReminder-status",
|
|
"source": "extractor",
|
|
"sourceConversationId": "<id:22>",
|
|
"lastSurfacedAt": "2026-06-30T12:34:56.789Z",
|
|
"surfaceCount": 2,
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"measurementReminders": [
|
|
{
|
|
"id": "<id:17>",
|
|
"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:20>",
|
|
"reminderId": "<id:17>",
|
|
"kind": "SKIPPED",
|
|
"occurredAt": "2026-06-24T06:00:00.000Z",
|
|
"onTime": false,
|
|
"source": "skip",
|
|
"createdAt": "<now>"
|
|
},
|
|
{
|
|
"id": "<id:21>",
|
|
"reminderId": "<id:17>",
|
|
"kind": "SATISFIED",
|
|
"occurredAt": "2026-07-01T06:05:00.000Z",
|
|
"onTime": true,
|
|
"source": "manual",
|
|
"createdAt": "<now>"
|
|
}
|
|
],
|
|
"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": [
|
|
{
|
|
"source": "MANUAL",
|
|
"externalRecordingId": "round-trip-signal-1",
|
|
"recordedAt": "2026-06-15T14:22:00.000Z",
|
|
"waveform": [
|
|
-12,
|
|
4,
|
|
118,
|
|
-33,
|
|
7,
|
|
2,
|
|
-5,
|
|
61
|
|
],
|
|
"samplingFrequency": 300,
|
|
"sampleCount": 8,
|
|
"durationSeconds": 0.02666666666666667,
|
|
"lead": "I",
|
|
"averageHeartRate": 88,
|
|
"rhythmClassification": "IRREGULAR",
|
|
"measurementId": "<id:4>",
|
|
"createdAt": "<now>",
|
|
"updatedAt": "<now>"
|
|
}
|
|
],
|
|
"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."
|
|
}
|
|
},
|
|
"decryptFailures": []
|
|
},
|
|
"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": 1,
|
|
"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
|
|
},
|
|
"preview": {
|
|
"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,
|
|
"labResults": 1,
|
|
"nutrientDays": 1,
|
|
"biomarkers": 1,
|
|
"illnessEpisodes": 2,
|
|
"illnessDayLogs": 1,
|
|
"allergies": 1,
|
|
"familyHistory": 1,
|
|
"workouts": 1,
|
|
"documents": 1,
|
|
"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
|
|
},
|
|
"keys": {
|
|
"uses": {}
|
|
}
|
|
}
|
|
}
|