ai.newnal.mydata.healthHealthStatus

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.

Details · record, key any
Kindrecord
Record keyany
Authoritymydata.newnal.ai
Commit rev3n2lk5rjzfw23
Indexed
cid bafyreifiqeoni3abc6olwmn3gcu2klslomc2v6x7vvkgqokqwlm34f5n5i

Checks

Valid
  • large-string defs.entry.properties.notesmaxLength is over 20 KB. Use a blob for content that large.
  • field-name-syntax defs.main.record.properties._metaThe field name _meta should be letters and digits, starting with a letter.
  • large-string defs.section.properties.summarymaxLength is over 20 KB. Use a blob for content that large.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One health condition or symptom the user has.",
      "properties": {
        "category": {
          "description": "The body system the health condition or symptom relates to.",
          "knownValues": [
            "respiratory",
            "digestive",
            "cardiovascular",
            "musculoskeletal",
            "neurological",
            "mental_health",
            "dermatology"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "codes": {
          "description": "List of the codes for this health condition or symptom in standard classifications (for example SNOMED CT or ICD-10).",
          "items": {
            "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).",
            "ref": "ai.newnal.mydata.defs#coding",
            "type": "ref"
          },
          "maxLength": 20,
          "type": "array"
        },
        "frequency": {
          "description": "How often it recurs.",
          "knownValues": [
            "seasonal",
            "daily",
            "occasional",
            "once",
            "intermittent",
            "weekly",
            "after_trigger"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "name": {
          "description": "The name of the health condition or symptom.",
          "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"
        },
        "severity": {
          "description": "The severity of this health condition or symptom.",
          "knownValues": [
            "mild",
            "moderate",
            "severe",
            "critical"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "status": {
          "description": "The management or progress status of this health condition or symptom.",
          "knownValues": [
            "active",
            "resolved"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "symptoms": {
          "description": "List of the symptoms that appear with this health condition.",
          "items": {
            "description": "One item of the list of the symptoms that appear with this health condition.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "triggers": {
          "description": "List of the factors that trigger the symptoms.",
          "items": {
            "description": "One item of the list of the factors that trigger the symptoms.",
            "maxGraphemes": 256,
            "maxLength": 2560,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "type": {
          "description": "The type of this item: a general health condition or a symptom.",
          "knownValues": [
            "condition",
            "symptom"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "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.",
      "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": "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.",
      "properties": {
        "summary": {
          "description": "A short summary of the current state of health.",
          "maxGraphemes": 3000,
          "maxLength": 30000,
          "type": "string"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.healthHealthStatus",
  "lexicon": 1
}