From
bafyreie75ysdzbououu6kjgwsyous6gcs64qkfzsqmg4ibdgnsi4v24lxy
indexed 2026-11-24 04:23 UTC
View this version
To
bafyreihbkwfus75hivjuptpbzpuh5nawem23zngttlmg5hn4e3oeptp3iq
indexed 2026-11-24 11:45 UTC
View this version
Compatibility
breaking 1 breaking change, 0 non-breaking changes.
Breaking changes (1)
- ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthHealthStatus#entry.bodySites:items", sort: "knownValues", old_value: "[\"head\",\"brain\",\"eye\",\"ear\",\"nose\",\"throat\",\"neck\",\"thyroid\",\"heart\",\"blood_vessels\",\"chest\",\"breast\",\"lung\",\"abdomen\",\"stomach\",\"intestine\",\"liver\",\"gallbladder\",\"kidney\",\"bladder\",\"prostate\",\"uterus\",\"ovary\",\"spine\",\"lower_back\",\"shoulder\",\"elbow\",\"wrist\",\"hand\",\"hip\",\"knee\",\"ankle\",\"foot\",\"skin\"]", new_value: "[\"head\",\"brain\",\"eye\",\"ear\",\"nose\",\"throat\",\"neck\",\"thyroid\",\"heart\",\"blood_vessels\",\"chest\",\"breast\",\"lung\",\"abdomen\",\"stomach\",\"intestine\",\"liver\",\"gallbladder\",\"kidney\",\"bladder\",\"prostate\",\"uterus\",\"ovary\",\"spine\",\"lower_back\",\"shoulder\",\"elbow\",\"wrist\",\"hand\",\"hip\",\"knee\",\"ankle\",\"foot\",\"skin\",\"upper_body\",\"lower_body\",\"trunk\",\"head_and_neck\",\"internal_organs\",\"back\",\"core\"]" }
Migration guidance
Constraint changes
- ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthHealthStatus#entry.bodySites:items", sort: "knownValues", old_value: "[\"head\",\"brain\",\"eye\",\"ear\",\"nose\",\"throat\",\"neck\",\"thyroid\",\"heart\",\"blood_vessels\",\"chest\",\"breast\",\"lung\",\"abdomen\",\"stomach\",\"intestine\",\"liver\",\"gallbladder\",\"kidney\",\"bladder\",\"prostate\",\"uterus\",\"ovary\",\"spine\",\"lower_back\",\"shoulder\",\"elbow\",\"wrist\",\"hand\",\"hip\",\"knee\",\"ankle\",\"foot\",\"skin\"]", new_value: "[\"head\",\"brain\",\"eye\",\"ear\",\"nose\",\"throat\",\"neck\",\"thyroid\",\"heart\",\"blood_vessels\",\"chest\",\"breast\",\"lung\",\"abdomen\",\"stomach\",\"intestine\",\"liver\",\"gallbladder\",\"kidney\",\"bladder\",\"prostate\",\"uterus\",\"ovary\",\"spine\",\"lower_back\",\"shoulder\",\"elbow\",\"wrist\",\"hand\",\"hip\",\"knee\",\"ankle\",\"foot\",\"skin\",\"upper_body\",\"lower_body\",\"trunk\",\"head_and_neck\",\"internal_organs\",\"back\",\"core\"]" }
Changes
11
{22
"$type": "com.atproto.lexicon.schema",33
"defs": {44
"entry": {55
"description": "One health condition or symptom the user has.",66
"properties": {77
"activitiesToAvoid": {88
"description": "List of the exercises and activities the user was told to avoid, or avoids, because of this health condition.",99
"items": {1010
"description": "One item of the list of the exercises and activities the user was told to avoid, or avoids, because of this health condition.",1111
"maxGraphemes": 256,1212
"maxLength": 2560,1313
"type": "string"1414
},1515
"maxLength": 100,1616
"type": "array"1717
},1818
"bodySites": {19
"description": "List of the parts of the body the health condition or symptom concerns.",19
"description": "List of the parts of the body the health condition or symptom concerns. A broad value (upper_body, lower_body, trunk, head_and_neck, internal_organs) is used when the exact part is not known, and may stand next to exact ones.",2020
"items": {2121
"description": "One item of the list of the parts of the body the health condition or symptom concerns.",2222
"knownValues": [2323
"head",2424
"brain",2525
"eye",2626
"ear",2727
"nose",2828
"throat",2929
"neck",3030
"thyroid",3131
"heart",3232
"blood_vessels",3333
"chest",3434
"breast",3535
"lung",3636
"abdomen",3737
"stomach",3838
"intestine",3939
"liver",4040
"gallbladder",4141
"kidney",4242
"bladder",4343
"prostate",4444
"uterus",4545
"ovary",4646
"spine",4747
"lower_back",4848
"shoulder",4949
"elbow",5050
"wrist",5151
"hand",5252
"hip",5353
"knee",5454
"ankle",5555
"foot",56
"skin"56
"skin",57
"upper_body",58
"lower_body",59
"trunk",60
"head_and_neck",61
"internal_organs",62
"back",63
"core"5764
],5865
"maxGraphemes": 64,5966
"maxLength": 640,6067
"type": "string"6168
},6269
"maxLength": 100,6370
"type": "array"6471
},6572
"category": {6673
"description": "The body system the health condition or symptom relates to.",6774
"knownValues": [6875
"respiratory",6976
"digestive",7077
"cardiovascular",7178
"musculoskeletal",7279
"neurological",7380
"mental_health",7481
"dermatology"7582
],7683
"maxGraphemes": 64,7784
"maxLength": 640,7885
"type": "string"7986
},8087
"codes": {8188
"description": "List of the codes for this health condition or symptom in standard classifications (for example SNOMED CT or ICD-10).",8289
"items": {8390
"description": "One item of the list of the codes for this health condition or symptom in standard classifications (for example SNOMED CT or ICD-10).",8491
"ref": "ai.newnal.mydata.defs#coding",8592
"type": "ref"8693
},8794
"maxLength": 20,8895
"type": "array"8996
},9097
"foodsToAvoid": {9198
"description": "List of the foods the user was told to avoid, or avoids, because of this health condition.",9299
"items": {93100
"description": "One item of the list of the foods the user was told to avoid, or avoids, because of this health condition.",94101
"maxGraphemes": 256,95102
"maxLength": 2560,96103
"type": "string"97104
},98105
"maxLength": 100,99106
"type": "array"100107
},101108
"frequency": {102109
"description": "How often it recurs.",103110
"knownValues": [104111
"seasonal",105112
"daily",106113
"occasional",107114
"once",108115
"intermittent",109116
"weekly",110117
"after_trigger"111118
],112119
"maxGraphemes": 64,113120
"maxLength": 640,114121
"type": "string"115122
},116123
"name": {117124
"description": "The name of the health condition or symptom.",118125
"maxGraphemes": 256,119126
"maxLength": 2560,120127
"type": "string"121128
},122129
"notes": {123130
"description": "An additional note.",124131
"maxGraphemes": 3000,125132
"maxLength": 30000,126133
"type": "string"127134
},128135
"precautions": {129136
"description": "List of the precautions the user recorded. They are not to be taken as medically verified prohibitions.",130137
"items": {131138
"description": "One item of the list of the precautions the user recorded.",132139
"maxGraphemes": 256,133140
"maxLength": 2560,134141
"type": "string"135142
},136143
"maxLength": 100,137144
"type": "array"138145
},139146
"severity": {140147
"description": "The severity of this health condition or symptom.",141148
"knownValues": [142149
"mild",143150
"moderate",144151
"severe",145152
"critical"146153
],147154
"maxGraphemes": 64,148155
"maxLength": 640,149156
"type": "string"150157
},151158
"status": {152159
"description": "The management or progress status of this health condition or symptom: active (being treated or managed), monitoring (being watched without treatment), resolved (over).",153160
"knownValues": [154161
"active",155162
"resolved",156163
"monitoring"157164
],158165
"maxGraphemes": 64,159166
"maxLength": 640,160167
"type": "string"161168
},162169
"symptoms": {163170
"description": "List of the symptoms that appear with this health condition.",164171
"items": {165172
"description": "One item of the list of the symptoms that appear with this health condition.",166173
"maxGraphemes": 256,167174
"maxLength": 2560,168175
"type": "string"169176
},170177
"maxLength": 100,171178
"type": "array"172179
},173180
"triggers": {174181
"description": "List of the factors that trigger the symptoms.",175182
"items": {176183
"description": "One item of the list of the factors that trigger the symptoms.",177184
"maxGraphemes": 256,178185
"maxLength": 2560,179186
"type": "string"180187
},181188
"maxLength": 100,182189
"type": "array"183190
},184191
"type": {185192
"description": "The type of this item: a general health condition or a symptom.",186193
"knownValues": [187194
"condition",188195
"symptom",189196
"injury"190197
],191198
"maxGraphemes": 64,192199
"maxLength": 640,193200
"type": "string"194201
}195202
},196203
"type": "object"197204
},198205
"main": {199206
"description": "A summary of current health and the health conditions and symptoms the user has. Each health condition or symptom is one item, so that one can be shared without the others. Allergies and intolerances are kept in health.allergies, and the medications taken in health.medications. Medical documents such as medical certificates and test result reports are kept in health.medicalRecords; the same fact being in both places is not duplication, and this summary can be kept without a medical record.",200207
"key": "any",201208
"record": {202209
"properties": {203210
"_meta": {204211
"ref": "ai.newnal.mydata.defs#recordMeta",205212
"type": "ref"206213
},207214
"data": {208215
"closed": true,209216
"refs": [210217
"#section",211218
"#entry"212219
],213220
"type": "union"214221
}215222
},216223
"required": [217224
"data",218225
"_meta"219226
],220227
"type": "object"221228
},222229
"type": "record"223230
},224231
"section": {225232
"description": "A summary of current health and the health conditions and symptoms the user has. Each health condition or symptom is one item, so that one can be shared without the others. Allergies and intolerances are kept in health.allergies, and the medications taken in health.medications. Medical documents such as medical certificates and test result reports are kept in health.medicalRecords; the same fact being in both places is not duplication, and this summary can be kept without a medical record.",226233
"properties": {227234
"noneKnown": {228235
"description": "True when, as far as is known, the user has no health condition or symptom being managed. It is a statement, not the absence of one: a section with no item and without this key says nothing either way. It is removed when an item is added.",229236
"type": "boolean"230237
},231238
"summary": {232239
"description": "A short summary of the current state of health.",233240
"maxGraphemes": 3000,234241
"maxLength": 30000,235242
"type": "string"236243
}237244
},238245
"type": "object"239246
}240247
},241248
"id": "ai.newnal.mydata.healthHealthStatus",242249
"lexicon": 1243250
}