full diff

ai.newnal.mydata.healthAllergies

From
bafyreifid27jgq7zmxu2ksyquul6e2omdzucz3srgqemzsefezfslmksym indexed 2026-11-24 04:23 UTC View this version
To
bafyreiev3s5r3uyodtj22npjq3gkh6lpbjryihismvunlf2i7nzbepwige indexed 2026-11-24 11:45 UTC View this version

Compatibility

breaking 2 breaking changes, 4 non-breaking changes.

Breaking changes (2)
  • RemovedVertex RemovedVertex { vertex_id: "ai.newnal.mydata.healthAllergies#entry.category" }
  • RemovedEdge RemovedEdge { src: "ai.newnal.mydata.healthAllergies#entry", tgt: "ai.newnal.mydata.healthAllergies#entry.category", kind: "prop", name: Some("category") }
Non-breaking changes (4)
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.mydata.healthAllergies#entry.categories" }
  • AddedVertex AddedVertex { vertex_id: "ai.newnal.mydata.healthAllergies#entry.categories:items" }
  • AddedEdge AddedEdge { src: "ai.newnal.mydata.healthAllergies#entry", tgt: "ai.newnal.mydata.healthAllergies#entry.categories", kind: "prop", name: Some("categories") }
  • AddedEdge AddedEdge { src: "ai.newnal.mydata.healthAllergies#entry.categories", tgt: "ai.newnal.mydata.healthAllergies#entry.categories:items", kind: "items", name: None }

Migration guidance

Removed

  • RemovedVertex { vertex_id: "ai.newnal.mydata.healthAllergies#entry.category" }

Added

  • AddedVertex { vertex_id: "ai.newnal.mydata.healthAllergies#entry.categories" }
  • AddedVertex { vertex_id: "ai.newnal.mydata.healthAllergies#entry.categories:items" }

Notes

  • Breaking: RemovedEdge { src: "ai.newnal.mydata.healthAllergies#entry", tgt: "ai.newnal.mydata.healthAllergies#entry.category", kind: "prop", name: Some("category") }
  • Non-breaking: AddedEdge { src: "ai.newnal.mydata.healthAllergies#entry", tgt: "ai.newnal.mydata.healthAllergies#entry.categories", kind: "prop", name: Some("categories") }
  • Non-breaking: AddedEdge { src: "ai.newnal.mydata.healthAllergies#entry.categories", tgt: "ai.newnal.mydata.healthAllergies#entry.categories:items", kind: "items", name: None }

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "entry": {
55 "description": "One allergy or intolerance.",
66 "properties": {
77 "allergens": {
88 "description": "List of the allergens or substances that cause the reaction.",
99 "items": {
1010 "description": "One item of the list of the allergens or substances that cause the reaction.",
1111 "knownValues": [
1212 "egg",
1313 "milk",
1414 "buckwheat",
1515 "peanut",
1616 "soybean",
1717 "wheat",
1818 "mackerel",
1919 "crab",
2020 "shrimp",
2121 "pork",
2222 "peach",
2323 "tomato",
2424 "sulfites",
2525 "walnut",
2626 "pine_nut",
2727 "chicken",
2828 "beef",
2929 "squid",
3030 "shellfish",
3131 "fish",
3232 "tree_nuts",
3333 "sesame",
3434 "pollen",
3535 "dust_mite",
3636 "mold",
3737 "animal_dander",
3838 "fine_dust",
3939 "cold_air",
4040 "bee",
4141 "ant",
4242 "mosquito",
4343 "tick",
4444 "latex",
4545 "metal",
4646 "adhesive_tape",
4747 "hair_dye",
4848 "cosmetics",
4949 "disinfectant",
5050 "penicillin",
5151 "aspirin"
5252 ],
5353 "maxGraphemes": 256,
5454 "maxLength": 2560,
5555 "type": "string"
5656 },
5757 "maxLength": 100,
5858 "type": "array"
5959 },
60 "category": {
61 "description": "The cause category of the allergy or intolerance.",
62 "knownValues": [
63 "environment",
64 "food",
65 "medication",
66 "biologic",
67 "insect",
68 "contact"
69 ],
70 "maxGraphemes": 64,
71 "maxLength": 640,
72 "type": "string"
60 "categories": {
61 "description": "List of the cause categories of the allergy or intolerance. Usually one; more than one when the same allergy has causes of several kinds.",
62 "items": {
63 "description": "One item of the list of the cause categories of the allergy or intolerance.",
64 "knownValues": [
65 "environment",
66 "food",
67 "medication",
68 "biologic",
69 "insect",
70 "contact"
71 ],
72 "maxGraphemes": 64,
73 "maxLength": 640,
74 "type": "string"
75 },
76 "maxLength": 100,
77 "type": "array"
7378 },
7479 "codes": {
7580 "description": "List of the codes for this allergy or intolerance, or for its allergen, in standard classifications (for example SNOMED CT).",
7681 "items": {
7782 "description": "One item of the list of the codes for this allergy or intolerance, or for its allergen, in standard classifications (for example SNOMED CT).",
7883 "ref": "ai.newnal.mydata.defs#coding",
7984 "type": "ref"
8085 },
8186 "maxLength": 20,
8287 "type": "array"
8388 },
8489 "frequency": {
8590 "description": "How often it recurs.",
8691 "knownValues": [
8792 "seasonal",
8893 "occasional",
8994 "after_trigger",
9095 "daily"
9196 ],
9297 "maxGraphemes": 64,
9398 "maxLength": 640,
9499 "type": "string"
95100 },
96101 "name": {
97102 "description": "The name of the allergy or intolerance.",
98103 "maxGraphemes": 256,
99104 "maxLength": 2560,
100105 "type": "string"
101106 },
102107 "notes": {
103108 "description": "An additional note.",
104109 "maxGraphemes": 3000,
105110 "maxLength": 30000,
106111 "type": "string"
107112 },
108113 "precautions": {
109114 "description": "List of the precautions the user recorded. They are not to be taken as medically verified prohibitions.",
110115 "items": {
111116 "description": "One item of the list of the precautions the user recorded.",
112117 "maxGraphemes": 256,
113118 "maxLength": 2560,
114119 "type": "string"
115120 },
116121 "maxLength": 100,
117122 "type": "array"
118123 },
119124 "reactions": {
120125 "description": "List of the reaction symptoms that appear.",
121126 "items": {
122127 "description": "One item of the list of the reaction symptoms that appear.",
123128 "knownValues": [
124129 "hives",
125130 "itching",
126131 "swelling",
127132 "rash",
128133 "breathing_difficulty",
129134 "digestive_upset",
130135 "runny_nose",
131136 "sneezing",
132137 "anaphylaxis"
133138 ],
134139 "maxGraphemes": 256,
135140 "maxLength": 2560,
136141 "type": "string"
137142 },
138143 "maxLength": 100,
139144 "type": "array"
140145 },
141146 "severity": {
142147 "description": "The severity of the reaction.",
143148 "knownValues": [
144149 "mild",
145150 "moderate",
146151 "severe",
147152 "critical"
148153 ],
149154 "maxGraphemes": 64,
150155 "maxLength": 640,
151156 "type": "string"
152157 },
153158 "status": {
154159 "description": "The management or progress status of this allergy or intolerance.",
155160 "knownValues": [
156161 "active",
157162 "resolved"
158163 ],
159164 "maxGraphemes": 64,
160165 "maxLength": 640,
161166 "type": "string"
162167 }
163168 },
164169 "type": "object"
165170 },
166171 "main": {
167172 "description": "Allergies and intolerances the user has, with their allergens, reactions and severity. They are kept apart from health.healthStatus so that they can be shared on their own, for example with a food, medication or care service. Other health conditions and symptoms are kept in health.healthStatus, and food preferences and dislikes in interestsAndTastes.food.",
168173 "key": "any",
169174 "record": {
170175 "properties": {
171176 "_meta": {
172177 "ref": "ai.newnal.mydata.defs#recordMeta",
173178 "type": "ref"
174179 },
175180 "data": {
176181 "closed": true,
177182 "refs": [
178183 "#section",
179184 "#entry"
180185 ],
181186 "type": "union"
182187 }
183188 },
184189 "required": [
185190 "data",
186191 "_meta"
187192 ],
188193 "type": "object"
189194 },
190195 "type": "record"
191196 },
192197 "section": {
193198 "description": "Allergies and intolerances the user has, with their allergens, reactions and severity. They are kept apart from health.healthStatus so that they can be shared on their own, for example with a food, medication or care service. Other health conditions and symptoms are kept in health.healthStatus, and food preferences and dislikes in interestsAndTastes.food.",
194199 "properties": {
195200 "noneKnown": {
196201 "description": "True when, as far as is known, the user has no allergy or intolerance. 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.",
197202 "type": "boolean"
198203 },
199204 "noneKnownCategories": {
200205 "description": "List of the cause categories in which, as far as is known, the user has no allergy or intolerance (for example medication), when that cannot be said of every category.",
201206 "items": {
202207 "description": "One item of the list of the cause categories in which, as far as is known, the user has no allergy or intolerance (for example medication), when that cannot be said of every category.",
203208 "knownValues": [
204209 "environment",
205210 "food",
206211 "medication",
207212 "biologic",
208213 "insect",
209214 "contact"
210215 ],
211216 "maxGraphemes": 64,
212217 "maxLength": 640,
213218 "type": "string"
214219 },
215220 "maxLength": 100,
216221 "type": "array"
217222 }
218223 },
219224 "type": "object"
220225 }
221226 },
222227 "id": "ai.newnal.mydata.healthAllergies",
223228 "lexicon": 1
224229}

Compare other versions