ai.newnal.mydata.healthMedicalEvents

The history of medical events such as checkups and procedures.

Details · record, key any
Kindrecord
Record keyany
Authoritymydata.newnal.ai
Commit rev3n2zsdjsg6t2b
Indexed

Showing version bafyreih5qnzgzxw3wnhcahcwk7wddvpzcsfzuiaz3iivhfxmcmotgqpbo4. Show the latest

cid bafyreih5qnzgzxw3wnhcahcwk7wddvpzcsfzuiaz3iivhfxmcmotgqpbo4

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.
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "entry": {
      "description": "One medical event.",
      "properties": {
        "bodySites": {
          "description": "List of the parts of the body the medical event concerned.",
          "items": {
            "description": "One item of the list of the parts of the body the medical event concerned.",
            "knownValues": [
              "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"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "category": {
          "description": "The category of the medical event.",
          "knownValues": [
            "screening",
            "surgery",
            "hospitalization",
            "vaccination",
            "therapy",
            "dental",
            "imaging",
            "lab",
            "rehabilitation"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "cautionSites": {
          "description": "List of the parts of the body that still need care or are uncomfortable after the medical event.",
          "items": {
            "description": "One item of the list of the parts of the body that still need care or are uncomfortable after the medical event.",
            "knownValues": [
              "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"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "codes": {
          "description": "List of the codes for the medical event in standard classifications (for example SNOMED CT).",
          "items": {
            "description": "One item of the list of the codes for the medical event in standard classifications (for example SNOMED CT).",
            "ref": "ai.newnal.mydata.defs#coding",
            "type": "ref"
          },
          "maxLength": 20,
          "type": "array"
        },
        "limitedActivities": {
          "description": "List of the movements and activities that are hard or to be avoided after the medical event.",
          "items": {
            "description": "One item of the list of the movements and activities that are hard or to be avoided after the medical event.",
            "knownValues": [
              "walking",
              "standing",
              "sitting",
              "climbing_stairs",
              "bending",
              "lifting",
              "raising_arm",
              "lying_down",
              "rising_from_bed",
              "long_standing",
              "long_sitting",
              "kneeling"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        },
        "name": {
          "description": "The name of the medical event, such as a checkup or a procedure.",
          "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"
        },
        "provider": {
          "description": "The medical institution or practitioner that provided the care.",
          "maxGraphemes": 256,
          "maxLength": 2560,
          "type": "string"
        },
        "time": {
          "closed": true,
          "description": "The point in time or period of the medical event.",
          "refs": [
            "ai.newnal.mydata.defs#instantTime",
            "ai.newnal.mydata.defs#intervalTime"
          ],
          "type": "union"
        },
        "timeCertainty": {
          "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.",
          "knownValues": [
            "exact",
            "approximate"
          ],
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        }
      },
      "type": "object"
    },
    "main": {
      "description": "The history of medical events such as checkups and procedures.",
      "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": "The history of medical events such as checkups and procedures.",
      "properties": {
        "noneKnownCategories": {
          "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.",
          "items": {
            "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).",
            "knownValues": [
              "screening",
              "surgery",
              "hospitalization",
              "vaccination",
              "therapy",
              "dental",
              "imaging",
              "lab",
              "rehabilitation"
            ],
            "maxGraphemes": 64,
            "maxLength": 640,
            "type": "string"
          },
          "maxLength": 100,
          "type": "array"
        }
      },
      "type": "object"
    }
  },
  "id": "ai.newnal.mydata.healthMedicalEvents",
  "lexicon": 1
}