ai.newnal.mydata.healthAllergies
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.
Details · record, key any
| Kind | record |
|---|---|
| Record key | any |
| Authority | mydata.newnal.ai |
| Commit rev | 3n2zsdjsg6t2b |
| Indexed |
Showing version bafyreifid27jgq7zmxu2ksyquul6e2omdzucz3srgqemzsefezfslmksym. Show the latest
Checks
Validlarge-stringdefs.entry.properties.notesmaxLength is over 20 KB. Use a blob for content that large.field-name-syntaxdefs.main.record.properties._metaThe field name _meta should be letters and digits, starting with a letter.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"entry": {
"description": "One allergy or intolerance.",
"properties": {
"allergens": {
"description": "List of the allergens or substances that cause the reaction.",
"items": {
"description": "One item of the list of the allergens or substances that cause the reaction.",
"knownValues": [
"egg",
"milk",
"buckwheat",
"peanut",
"soybean",
"wheat",
"mackerel",
"crab",
"shrimp",
"pork",
"peach",
"tomato",
"sulfites",
"walnut",
"pine_nut",
"chicken",
"beef",
"squid",
"shellfish",
"fish",
"tree_nuts",
"sesame",
"pollen",
"dust_mite",
"mold",
"animal_dander",
"fine_dust",
"cold_air",
"bee",
"ant",
"mosquito",
"tick",
"latex",
"metal",
"adhesive_tape",
"hair_dye",
"cosmetics",
"disinfectant",
"penicillin",
"aspirin"
],
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"category": {
"description": "The cause category of the allergy or intolerance.",
"knownValues": [
"environment",
"food",
"medication",
"biologic",
"insect",
"contact"
],
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"codes": {
"description": "List of the codes for this allergy or intolerance, or for its allergen, in standard classifications (for example SNOMED CT).",
"items": {
"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).",
"ref": "ai.newnal.mydata.defs#coding",
"type": "ref"
},
"maxLength": 20,
"type": "array"
},
"frequency": {
"description": "How often it recurs.",
"knownValues": [
"seasonal",
"occasional",
"after_trigger",
"daily"
],
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"name": {
"description": "The name of the allergy or intolerance.",
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"notes": {
"description": "An additional note.",
"maxGraphemes": 3000,
"maxLength": 30000,
"type": "string"
},
"precautions": {
"description": "List of the precautions the user recorded. They are not to be taken as medically verified prohibitions.",
"items": {
"description": "One item of the list of the precautions the user recorded.",
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"reactions": {
"description": "List of the reaction symptoms that appear.",
"items": {
"description": "One item of the list of the reaction symptoms that appear.",
"knownValues": [
"hives",
"itching",
"swelling",
"rash",
"breathing_difficulty",
"digestive_upset",
"runny_nose",
"sneezing",
"anaphylaxis"
],
"maxGraphemes": 256,
"maxLength": 2560,
"type": "string"
},
"maxLength": 100,
"type": "array"
},
"severity": {
"description": "The severity of the reaction.",
"knownValues": [
"mild",
"moderate",
"severe",
"critical"
],
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"status": {
"description": "The management or progress status of this allergy or intolerance.",
"knownValues": [
"active",
"resolved"
],
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
}
},
"type": "object"
},
"main": {
"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.",
"key": "any",
"record": {
"properties": {
"_meta": {
"ref": "ai.newnal.mydata.defs#recordMeta",
"type": "ref"
},
"data": {
"closed": true,
"refs": [
"#section",
"#entry"
],
"type": "union"
}
},
"required": [
"data",
"_meta"
],
"type": "object"
},
"type": "record"
},
"section": {
"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.",
"properties": {
"noneKnown": {
"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.",
"type": "boolean"
},
"noneKnownCategories": {
"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.",
"items": {
"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.",
"knownValues": [
"environment",
"food",
"medication",
"biologic",
"insect",
"contact"
],
"maxGraphemes": 64,
"maxLength": 640,
"type": "string"
},
"maxLength": 100,
"type": "array"
}
},
"type": "object"
}
},
"id": "ai.newnal.mydata.healthAllergies",
"lexicon": 1
}