full diff

ai.newnal.mydata.healthMedicalEvents

From
bafyreih5qnzgzxw3wnhcahcwk7wddvpzcsfzuiaz3iivhfxmcmotgqpbo4 indexed 2026-11-24 04:23 UTC View this version
To
bafyreigqbnl6kzumskgmzrt7p5f7rt7pvzgipti63j66wovgsxcqie5h2q indexed 2026-11-24 11:45 UTC View this version

Compatibility

breaking 3 breaking changes, 0 non-breaking changes.

Breaking changes (3)
  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthMedicalEvents#entry.cautionSites: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\"]" }
  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthMedicalEvents#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\"]" }
  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthMedicalEvents#entry.limitedActivities:items", sort: "knownValues", old_value: "[\"walking\",\"standing\",\"sitting\",\"climbing_stairs\",\"bending\",\"lifting\",\"raising_arm\",\"lying_down\",\"rising_from_bed\",\"long_standing\",\"long_sitting\",\"kneeling\"]", new_value: "[\"walking\",\"standing\",\"sitting\",\"climbing_stairs\",\"bending\",\"lifting\",\"raising_arm\",\"lying_down\",\"rising_from_bed\",\"long_standing\",\"long_sitting\",\"kneeling\",\"rising_from_chair\",\"rising_from_floor\"]" }

Migration guidance

Constraint changes

  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthMedicalEvents#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\"]" }
  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthMedicalEvents#entry.cautionSites: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\"]" }
  • ConstraintTightened ConstraintTightened { vertex_id: "ai.newnal.mydata.healthMedicalEvents#entry.limitedActivities:items", sort: "knownValues", old_value: "[\"walking\",\"standing\",\"sitting\",\"climbing_stairs\",\"bending\",\"lifting\",\"raising_arm\",\"lying_down\",\"rising_from_bed\",\"long_standing\",\"long_sitting\",\"kneeling\"]", new_value: "[\"walking\",\"standing\",\"sitting\",\"climbing_stairs\",\"bending\",\"lifting\",\"raising_arm\",\"lying_down\",\"rising_from_bed\",\"long_standing\",\"long_sitting\",\"kneeling\",\"rising_from_chair\",\"rising_from_floor\"]" }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "entry": {
55 "description": "One medical event.",
66 "properties": {
77 "bodySites": {
8 "description": "List of the parts of the body the medical event concerned.",
8 "description": "List of the parts of the body the medical event concerned. 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.",
99 "items": {
1010 "description": "One item of the list of the parts of the body the medical event concerned.",
1111 "knownValues": [
1212 "head",
1313 "brain",
1414 "eye",
1515 "ear",
1616 "nose",
1717 "throat",
1818 "neck",
1919 "thyroid",
2020 "heart",
2121 "blood_vessels",
2222 "chest",
2323 "breast",
2424 "lung",
2525 "abdomen",
2626 "stomach",
2727 "intestine",
2828 "liver",
2929 "gallbladder",
3030 "kidney",
3131 "bladder",
3232 "prostate",
3333 "uterus",
3434 "ovary",
3535 "spine",
3636 "lower_back",
3737 "shoulder",
3838 "elbow",
3939 "wrist",
4040 "hand",
4141 "hip",
4242 "knee",
4343 "ankle",
4444 "foot",
45 "skin"
45 "skin",
46 "upper_body",
47 "lower_body",
48 "trunk",
49 "head_and_neck",
50 "internal_organs",
51 "back",
52 "core"
4653 ],
4754 "maxGraphemes": 64,
4855 "maxLength": 640,
4956 "type": "string"
5057 },
5158 "maxLength": 100,
5259 "type": "array"
5360 },
5461 "category": {
5562 "description": "The category of the medical event.",
5663 "knownValues": [
5764 "screening",
5865 "surgery",
5966 "hospitalization",
6067 "vaccination",
6168 "therapy",
6269 "dental",
6370 "imaging",
6471 "lab",
6572 "rehabilitation"
6673 ],
6774 "maxGraphemes": 64,
6875 "maxLength": 640,
6976 "type": "string"
7077 },
7178 "cautionSites": {
72 "description": "List of the parts of the body that still need care or are uncomfortable after the medical event.",
79 "description": "List of the parts of the body that still need care or are uncomfortable after the medical event. 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.",
7380 "items": {
7481 "description": "One item of the list of the parts of the body that still need care or are uncomfortable after the medical event.",
7582 "knownValues": [
7683 "head",
7784 "brain",
7885 "eye",
7986 "ear",
8087 "nose",
8188 "throat",
8289 "neck",
8390 "thyroid",
8491 "heart",
8592 "blood_vessels",
8693 "chest",
8794 "breast",
8895 "lung",
8996 "abdomen",
9097 "stomach",
9198 "intestine",
9299 "liver",
93100 "gallbladder",
94101 "kidney",
95102 "bladder",
96103 "prostate",
97104 "uterus",
98105 "ovary",
99106 "spine",
100107 "lower_back",
101108 "shoulder",
102109 "elbow",
103110 "wrist",
104111 "hand",
105112 "hip",
106113 "knee",
107114 "ankle",
108115 "foot",
109 "skin"
116 "skin",
117 "upper_body",
118 "lower_body",
119 "trunk",
120 "head_and_neck",
121 "internal_organs",
122 "back",
123 "core"
110124 ],
111125 "maxGraphemes": 64,
112126 "maxLength": 640,
113127 "type": "string"
114128 },
115129 "maxLength": 100,
116130 "type": "array"
117131 },
118132 "codes": {
119133 "description": "List of the codes for the medical event in standard classifications (for example SNOMED CT).",
120134 "items": {
121135 "description": "One item of the list of the codes for the medical event in standard classifications (for example SNOMED CT).",
122136 "ref": "ai.newnal.mydata.defs#coding",
123137 "type": "ref"
124138 },
125139 "maxLength": 20,
126140 "type": "array"
127141 },
128142 "limitedActivities": {
129143 "description": "List of the movements and activities that are hard or to be avoided after the medical event.",
130144 "items": {
131145 "description": "One item of the list of the movements and activities that are hard or to be avoided after the medical event.",
132146 "knownValues": [
133147 "walking",
134148 "standing",
135149 "sitting",
136150 "climbing_stairs",
137151 "bending",
138152 "lifting",
139153 "raising_arm",
140154 "lying_down",
141155 "rising_from_bed",
142156 "long_standing",
143157 "long_sitting",
144 "kneeling"
158 "kneeling",
159 "rising_from_chair",
160 "rising_from_floor"
145161 ],
146162 "maxGraphemes": 64,
147163 "maxLength": 640,
148164 "type": "string"
149165 },
150166 "maxLength": 100,
151167 "type": "array"
152168 },
153169 "name": {
154170 "description": "The name of the medical event, such as a checkup or a procedure.",
155171 "maxGraphemes": 256,
156172 "maxLength": 2560,
157173 "type": "string"
158174 },
159175 "notes": {
160176 "description": "An additional note.",
161177 "maxGraphemes": 3000,
162178 "maxLength": 30000,
163179 "type": "string"
164180 },
165181 "precautions": {
166182 "description": "List of the precautions the user recorded. They are not to be taken as medically verified prohibitions.",
167183 "items": {
168184 "description": "One item of the list of the precautions the user recorded.",
169185 "maxGraphemes": 256,
170186 "maxLength": 2560,
171187 "type": "string"
172188 },
173189 "maxLength": 100,
174190 "type": "array"
175191 },
176192 "provider": {
177193 "description": "The medical institution or practitioner that provided the care.",
178194 "maxGraphemes": 256,
179195 "maxLength": 2560,
180196 "type": "string"
181197 },
182198 "time": {
183199 "closed": true,
184200 "description": "The point in time or period of the medical event.",
185201 "refs": [
186202 "ai.newnal.mydata.defs#instantTime",
187203 "ai.newnal.mydata.defs#intervalTime"
188204 ],
189205 "type": "union"
190206 },
191207 "timeCertainty": {
192208 "description": "Whether time is exact or approximate. When it is approximate and time is a period, the period gives the earliest and the latest the value may be, not how long it lasted.",
193209 "knownValues": [
194210 "exact",
195211 "approximate"
196212 ],
197213 "maxGraphemes": 64,
198214 "maxLength": 640,
199215 "type": "string"
200216 }
201217 },
202218 "type": "object"
203219 },
204220 "main": {
205221 "description": "The history of medical events such as checkups and procedures.",
206222 "key": "any",
207223 "record": {
208224 "properties": {
209225 "_meta": {
210226 "ref": "ai.newnal.mydata.defs#recordMeta",
211227 "type": "ref"
212228 },
213229 "data": {
214230 "closed": true,
215231 "refs": [
216232 "#section",
217233 "#entry"
218234 ],
219235 "type": "union"
220236 }
221237 },
222238 "required": [
223239 "data",
224240 "_meta"
225241 ],
226242 "type": "object"
227243 },
228244 "type": "record"
229245 },
230246 "section": {
231247 "description": "The history of medical events such as checkups and procedures.",
232248 "properties": {
233249 "noneKnownCategories": {
234250 "description": "List of the categories of medical event of which, as far as is known, the user has had none (for example surgery). It is a statement, not the absence of one: a category that is not listed and has no item says nothing either way.",
235251 "items": {
236252 "description": "One item of the list of the categories of medical event of which, as far as is known, the user has had none (for example surgery).",
237253 "knownValues": [
238254 "screening",
239255 "surgery",
240256 "hospitalization",
241257 "vaccination",
242258 "therapy",
243259 "dental",
244260 "imaging",
245261 "lab",
246262 "rehabilitation"
247263 ],
248264 "maxGraphemes": 64,
249265 "maxLength": 640,
250266 "type": "string"
251267 },
252268 "maxLength": 100,
253269 "type": "array"
254270 }
255271 },
256272 "type": "object"
257273 }
258274 },
259275 "id": "ai.newnal.mydata.healthMedicalEvents",
260276 "lexicon": 1
261277}

Compare other versions