{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/elation-health/main/json-schema/elation-health-visit-note-type-schema.json",
  "title": "VisitNoteType",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/elation-health-visit-note-types-api-openapi.yml#/components/schemas/VisitNoteType",
  "properties": {
    "created_date": {
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "deleted_date": {
      "format": "date-time",
      "readOnly": true,
      "type": [
        "string",
        "null"
      ]
    },
    "id": {
      "readOnly": true,
      "type": "integer"
    },
    "is_mu_office_visit": {
      "type": "boolean"
    },
    "name": {
      "maxLength": 50,
      "type": "string"
    },
    "practice_created": {
      "format": "int64",
      "type": [
        "integer",
        "null"
      ]
    },
    "rank": {
      "readOnly": true,
      "type": "integer"
    },
    "snomed_code": {
      "$ref": "#/$defs/SnomedCode"
    }
  },
  "required": [
    "name"
  ],
  "type": "object",
  "$defs": {
    "SnomedCode": {
      "properties": {
        "code": {
          "maxLength": 50,
          "type": "string"
        },
        "description": {
          "maxLength": 500,
          "type": [
            "string",
            "null"
          ]
        }
      },
      "required": [
        "code"
      ],
      "type": "object"
    }
  }
}