{
  "openapi": "3.1.0",
  "info": {
    "title": "Visit Notes API",
    "description": "This API supports the management of visit notes.",
    "version": "0.1.0"
  },
  "servers": [
    {
      "url": "https://sandbox.elationemr.com/api/2.0",
      "description": "Sandbox Environment"
    }
  ],
  "paths": {
    "/notes": {
      "get": {
        "description": "Returns a paginated list of note metadata",
        "operationId": "list_notes_notes_get",
        "parameters": [
          {
            "description": "Limit for pagination",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Limit for pagination",
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Offset for pagination",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "description": "Offset for pagination",
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "description": "Filter by practice ID",
            "in": "query",
            "name": "practice_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter by practice ID",
              "title": "Practice Id"
            }
          },
          {
            "description": "True to filter to draft notes only. False to include only signed notes. Omit to include both.",
            "in": "query",
            "name": "is_draft",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "True to filter to draft notes only. False to include only signed notes. Omit to include both.",
              "title": "Is Draft"
            }
          },
          {
            "description": "Filter by patient ID",
            "in": "query",
            "name": "patient",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter by patient ID",
              "title": "Patient"
            }
          },
          {
            "description": "Comma separated list of provider IDs",
            "in": "query",
            "name": "providers",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma separated list of provider IDs",
              "title": "Providers"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponse_NoteMetadata_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "List Notes",
        "tags": [
          "Notes"
        ]
      },
      "post": {
        "description": "Create a new `Note`.",
        "operationId": "create_note_notes_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Create Note",
        "tags": [
          "Notes"
        ]
      }
    },
    "/notes/custom-blocks": {
      "get": {
        "operationId": "list_custom_blocks_notes_custom_blocks_get",
        "parameters": [
          {
            "description": "Limit for pagination",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Limit for pagination",
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Offset for pagination",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "description": "Offset for pagination",
              "title": "Offset",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponse_CustomBlockResponse_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": [
              "apiv2"
            ]
          }
        ],
        "summary": "List Custom Blocks",
        "tags": [
          "Custom Blocks"
        ]
      }
    },
    "/notes/{note_id}": {
      "delete": {
        "description": "Delete a specific draft note",
        "operationId": "delete_note_by_id_notes__note_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "title": "Note Id",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Delete Note By Id",
        "tags": [
          "Notes"
        ]
      },
      "get": {
        "description": "Get a specific note. Returns a sections-based response for layout notes,\nor a legacy Note for notes created before the sections schema.\n\nThis endpoint fetches a note without creating a snapshot. The snapshot is used for conflict\nresolution when multiple sources are concurrently updating the note.\n\nTo fetch a note for editing that requires conflict resolution, use the `/notes/{note_id}/edit`\nendpoint instead.",
        "operationId": "get_note_by_id_notes__note_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "title": "Note Id",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/ElationNote"
                    },
                    {
                      "$ref": "#/components/schemas/Note"
                    }
                  ],
                  "title": "Response Get Note By Id Notes  Note Id  Get"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Get Note By Id",
        "tags": [
          "Notes"
        ]
      },
      "patch": {
        "description": "Update a specific note by id",
        "operationId": "update_note_by_id_notes__note_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "title": "Note Id",
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Update Note By Id",
        "tags": [
          "Notes"
        ]
      }
    },
    "/notes/{note_id}/amendments/{amendment_id}": {
      "get": {
        "description": "Get a specific note amendment (legacy or EN2.1 sections-based).",
        "operationId": "get_note_amendment_by_id_notes__note_id__amendments__amendment_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "title": "Note Id",
              "type": "integer"
            }
          },
          {
            "in": "path",
            "name": "amendment_id",
            "required": true,
            "schema": {
              "title": "Amendment Id",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "anyOf": [
                    {
                      "$ref": "#/components/schemas/ElationNoteAmendment"
                    },
                    {
                      "$ref": "#/components/schemas/NoteAmendment"
                    }
                  ],
                  "title": "Response Get Note Amendment By Id Notes  Note Id  Amendments  Amendment Id  Get"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Get Note Amendment By Id",
        "tags": [
          "Notes"
        ]
      }
    },
    "/v1/notes": {
      "get": {
        "description": "Returns a paginated list of note metadata.",
        "operationId": "list_notes_v1_v1_notes_get",
        "parameters": [
          {
            "description": "Limit for pagination",
            "in": "query",
            "name": "limit",
            "required": false,
            "schema": {
              "default": 20,
              "description": "Limit for pagination",
              "maximum": 100,
              "minimum": 1,
              "title": "Limit",
              "type": "integer"
            }
          },
          {
            "description": "Offset for pagination",
            "in": "query",
            "name": "offset",
            "required": false,
            "schema": {
              "default": 0,
              "description": "Offset for pagination",
              "title": "Offset",
              "type": "integer"
            }
          },
          {
            "description": "Filter by practice ID",
            "in": "query",
            "name": "practice_id",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter by practice ID",
              "title": "Practice Id"
            }
          },
          {
            "description": "True to filter to draft notes only. False to include only signed notes. Omit to include both.",
            "in": "query",
            "name": "is_draft",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "True to filter to draft notes only. False to include only signed notes. Omit to include both.",
              "title": "Is Draft"
            }
          },
          {
            "description": "Filter by patient ID",
            "in": "query",
            "name": "patient",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Filter by patient ID",
              "title": "Patient"
            }
          },
          {
            "description": "Comma separated list of provider IDs",
            "in": "query",
            "name": "providers",
            "required": false,
            "schema": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "description": "Comma separated list of provider IDs",
              "title": "Providers"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PaginatedResponse_NoteMetadata_"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "List Notes V1",
        "tags": [
          "Notes v1"
        ]
      },
      "post": {
        "description": "Create a legacy Note.",
        "operationId": "create_note_v1_v1_notes_post",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteCreate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Create Note V1",
        "tags": [
          "Notes v1"
        ]
      }
    },
    "/v1/notes/{note_id}": {
      "delete": {
        "description": "Delete a specific draft legacy Note.",
        "operationId": "delete_note_by_id_v1_v1_notes__note_id__delete",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "title": "Note Id",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "204": {
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Delete Note By Id V1",
        "tags": [
          "Notes v1"
        ]
      },
      "get": {
        "description": "Get a specific legacy Note. Returns HTTP 400 if the note uses the EN2.1 schema.",
        "operationId": "get_note_by_id_v1_v1_notes__note_id__get",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "title": "Note Id",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Get Note By Id V1",
        "tags": [
          "Notes v1"
        ]
      },
      "patch": {
        "description": "Update a legacy Note. Returns HTTP 400 if the note uses the EN2.1 schema\n(pass ``content_map`` and use the /v2/ endpoint instead).",
        "operationId": "update_note_by_id_v1_v1_notes__note_id__patch",
        "parameters": [
          {
            "in": "path",
            "name": "note_id",
            "required": true,
            "schema": {
              "title": "Note Id",
              "type": "integer"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/NoteUpdate"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Note"
                }
              }
            },
            "description": "Successful Response"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            },
            "description": "Validation Error"
          }
        },
        "security": [
          {
            "RequireAuthentication": []
          },
          {
            "RequirePracticeAuthorization": []
          }
        ],
        "summary": "Update Note By Id V1",
        "tags": [
          "Notes v1"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "AiGenerationInfo": {
        "properties": {
          "is_finalized": {
            "default": true,
            "title": "Is Finalized",
            "type": "boolean"
          },
          "transcript_source_text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "",
            "title": "Transcript Source Text"
          }
        },
        "title": "AiGenerationInfo",
        "type": "object"
      },
      "AllergiesNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "allergies",
            "default": "allergies",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AllergiesNode",
        "type": "object"
      },
      "AllergiesNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "allergies",
            "default": "allergies",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AllergiesNode",
        "type": "object"
      },
      "AnyNodeContent": {
        "additionalProperties": true,
        "description": "Placeholder for node content, eliminating cycles in OpenAPI schema generation.\nThis should be replaced with any node content type when calling the API",
        "properties": {},
        "title": "AnyNodeContent",
        "type": "object"
      },
      "AssessmentPlan2Node": {
        "additionalProperties": true,
        "description": "An assessment & plan node with a more clinically opinionated structure\nthan `AssessmentPlanNode`.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/AssessmentPlanItemNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "assessmentPlan2",
            "default": "assessmentPlan2",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssessmentPlan2Node",
        "type": "object"
      },
      "AssessmentPlanItemNode": {
        "additionalProperties": true,
        "description": "A top-level list item node within an `AssessmentPlan2Node`.\n\nFor nested lists/list items, see `AssessmentPlanListNode` and\n`AssessmentPlanListItemNode`.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AssessmentPlanItemTitleNode"
                },
                {
                  "$ref": "#/components/schemas/AssessmentPlanListNode"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "assessmentPlanItem",
            "default": "assessmentPlanItem",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssessmentPlanItemNode",
        "type": "object"
      },
      "AssessmentPlanItemTitleNode": {
        "additionalProperties": true,
        "description": "Title node for an `AssessmentPlanItemNode`. This represents a top-\nlevel list item within an `AssessmentPlan2Node`, and is typically\nused to hold a `ProblemNode` and any related text.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ParagraphNode"
                },
                {
                  "$ref": "#/components/schemas/BlockMacroNode"
                },
                {
                  "$ref": "#/components/schemas/CardiacOrderNode"
                },
                {
                  "$ref": "#/components/schemas/DiscontinuePrescriptionNode"
                },
                {
                  "$ref": "#/components/schemas/ImagingOrderNode"
                },
                {
                  "$ref": "#/components/schemas/LabOrderNode"
                },
                {
                  "$ref": "#/components/schemas/PrescriptionNode"
                },
                {
                  "$ref": "#/components/schemas/PulmonaryOrderNode"
                },
                {
                  "$ref": "#/components/schemas/ReferralNode"
                },
                {
                  "$ref": "#/components/schemas/SleepOrderNode"
                },
                {
                  "$ref": "#/components/schemas/CustomBlockNode"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "assessmentPlanItemTitle",
            "default": "assessmentPlanItemTitle",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssessmentPlanItemTitleNode",
        "type": "object"
      },
      "AssessmentPlanListItemNode": {
        "additionalProperties": true,
        "description": "A list item node within an `AssessmentPlanList`.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ParagraphNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "assessmentPlanListItem",
            "default": "assessmentPlanListItem",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssessmentPlanListItemNode",
        "type": "object"
      },
      "AssessmentPlanListNode": {
        "additionalProperties": true,
        "description": "A list node specific to `AssessmentPlan2Node`. This is effectively a\nnested list within an `AssessmentPlanItemNode`.\n\nFor the top-level list items within `AssessmentPlan2Node`, see\n`AssessmentPlanItemNode`. Top-level items are handled differently\nbecause in a completed note, they should each contain a problem/IMO\ncode (stored in the `AssessmentPlanItemTitleNode`).",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/AssessmentPlanListItemNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "assessmentPlanList",
            "default": "assessmentPlanList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssessmentPlanListNode",
        "type": "object"
      },
      "AssessmentPlanNode-Input": {
        "additionalProperties": true,
        "description": "Block node for patient's assessment and plan.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "assessmentPlan",
            "default": "assessmentPlan",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssessmentPlanNode",
        "type": "object"
      },
      "AssessmentPlanNode-Output": {
        "additionalProperties": true,
        "description": "Block node for patient's assessment and plan.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "assessmentPlan",
            "default": "assessmentPlan",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "AssessmentPlanNode",
        "type": "object"
      },
      "Attachment": {
        "description": "A file attached to a note.\n\nAttachments are modeled as a top-level field on the note (not as note\ncontent) per the Simple Note 2.1 spec: they carry no positioning or other\ncontent-node properties.",
        "properties": {
          "attached_at": {
            "title": "Attached At",
            "type": "string"
          },
          "content_type": {
            "title": "Content Type",
            "type": "string"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "download_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Download Url"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "preview_url": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Preview Url"
          }
        },
        "required": [
          "id",
          "attached_at",
          "content_type",
          "display_name"
        ],
        "title": "Attachment",
        "type": "object"
      },
      "Attrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "custom_block_id": {
            "title": "Custom Block Id",
            "type": "integer"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "custom_block_id"
        ],
        "title": "Attrs",
        "type": "object"
      },
      "AttrsWithRefId": {
        "description": "Base attrs for any node that carries a stable change-tracking ref_id.",
        "properties": {
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "title": "AttrsWithRefId",
        "type": "object"
      },
      "BlockMacroNode": {
        "additionalProperties": true,
        "description": "Block node for a macro reference with id and label.",
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__macros__BlockMacroNode__NodeAttrs"
          },
          "type": {
            "const": "blockMacro",
            "default": "blockMacro",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "BlockMacroNode",
        "type": "object"
      },
      "BlockNode-Input": {
        "discriminator": {
          "mapping": {
            "allergies": "#/components/schemas/AllergiesNode-Input",
            "assessmentPlan": "#/components/schemas/AssessmentPlanNode-Input",
            "assessmentPlan2": "#/components/schemas/AssessmentPlan2Node",
            "blockMacro": "#/components/schemas/BlockMacroNode",
            "cardiacOrder": "#/components/schemas/CardiacOrderNode",
            "carePlan": "#/components/schemas/CarePlanNode-Input",
            "cognitiveStatus": "#/components/schemas/CognitiveStatusNode-Input",
            "columnLayout": "#/components/schemas/ColumnLayoutNode-Input",
            "customBlock": "#/components/schemas/CustomBlockNode",
            "customBlockReference": "#/components/schemas/CustomBlockReference",
            "data": "#/components/schemas/DataNode-Input",
            "dietHistory": "#/components/schemas/DietHistoryNode-Input",
            "discontinuePrescription": "#/components/schemas/DiscontinuePrescriptionNode",
            "dynamicForm": "#/components/schemas/DynamicFormNode",
            "examReason": "#/components/schemas/ExamReasonNode",
            "exerciseHistory": "#/components/schemas/ExerciseHistoryNode-Input",
            "familyHistory": "#/components/schemas/FamilyHistoryNode-Input",
            "familyRelationship": "#/components/schemas/FamilyRelationshipNode-Input",
            "followUp": "#/components/schemas/FollowUpNode-Input",
            "functionalStatus": "#/components/schemas/FunctionalStatusNode-Input",
            "generic": "#/components/schemas/GenericNode-Input",
            "habits": "#/components/schemas/HabitsNode-Input",
            "heading": "#/components/schemas/HeadingNode",
            "hpi": "#/components/schemas/HPINode-Input",
            "imagingOrder": "#/components/schemas/ImagingOrderNode",
            "labOrder": "#/components/schemas/LabOrderNode",
            "orderedList": "#/components/schemas/OrderedListNode-Input",
            "paragraph": "#/components/schemas/ParagraphNode",
            "pastMedicalHistory": "#/components/schemas/PastMedicalHistoryNode-Input",
            "pastSurgicalHistory": "#/components/schemas/PastSurgicalHistoryNode-Input",
            "patientInstructions": "#/components/schemas/PatientInstructionsNode-Input",
            "physicalExam": "#/components/schemas/PhysicalExamNode-Input",
            "prescription": "#/components/schemas/PrescriptionNode",
            "procedure": "#/components/schemas/ProcedureNode",
            "procedures": "#/components/schemas/ProceduresNode",
            "procedures2": "#/components/schemas/Procedures2Node-Input",
            "psychologicalStatus": "#/components/schemas/PsychologicalStatusNode-Input",
            "pulmonaryOrder": "#/components/schemas/PulmonaryOrderNode",
            "reconciledMedications": "#/components/schemas/ReconciledMedicationsNode-Input",
            "referral": "#/components/schemas/ReferralNode",
            "ros": "#/components/schemas/ROSNode-Input",
            "sleepOrder": "#/components/schemas/SleepOrderNode",
            "socialHistory": "#/components/schemas/SocialHistoryNode-Input",
            "twoColumnLayout": "#/components/schemas/TwoColumnLayoutNode-Input",
            "unorderedList": "#/components/schemas/UnorderedListNode-Input",
            "vitalBMI": "#/components/schemas/VitalBMINode",
            "vitalBP": "#/components/schemas/VitalBPNode",
            "vitalHR": "#/components/schemas/VitalHRNode",
            "vitalHeight": "#/components/schemas/VitalHeightNode",
            "vitalOxygen": "#/components/schemas/VitalOxygenNode",
            "vitalPain": "#/components/schemas/VitalPainNode",
            "vitalRR": "#/components/schemas/VitalRRNode",
            "vitalTemperature": "#/components/schemas/VitalTemperatureNode",
            "vitalWeight": "#/components/schemas/VitalWeightNode",
            "vitals": "#/components/schemas/VitalsNode"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/AllergiesNode-Input"
          },
          {
            "$ref": "#/components/schemas/AssessmentPlanNode-Input"
          },
          {
            "$ref": "#/components/schemas/AssessmentPlan2Node"
          },
          {
            "$ref": "#/components/schemas/BlockMacroNode"
          },
          {
            "$ref": "#/components/schemas/CardiacOrderNode"
          },
          {
            "$ref": "#/components/schemas/CarePlanNode-Input"
          },
          {
            "$ref": "#/components/schemas/CognitiveStatusNode-Input"
          },
          {
            "$ref": "#/components/schemas/ColumnLayoutNode-Input"
          },
          {
            "$ref": "#/components/schemas/CustomBlockNode"
          },
          {
            "$ref": "#/components/schemas/CustomBlockReference"
          },
          {
            "$ref": "#/components/schemas/DataNode-Input"
          },
          {
            "$ref": "#/components/schemas/DietHistoryNode-Input"
          },
          {
            "$ref": "#/components/schemas/DiscontinuePrescriptionNode"
          },
          {
            "$ref": "#/components/schemas/DynamicFormNode"
          },
          {
            "$ref": "#/components/schemas/ExamReasonNode"
          },
          {
            "$ref": "#/components/schemas/ExerciseHistoryNode-Input"
          },
          {
            "$ref": "#/components/schemas/FamilyHistoryNode-Input"
          },
          {
            "$ref": "#/components/schemas/FamilyRelationshipNode-Input"
          },
          {
            "$ref": "#/components/schemas/FollowUpNode-Input"
          },
          {
            "$ref": "#/components/schemas/FunctionalStatusNode-Input"
          },
          {
            "$ref": "#/components/schemas/GenericNode-Input"
          },
          {
            "$ref": "#/components/schemas/HabitsNode-Input"
          },
          {
            "$ref": "#/components/schemas/HeadingNode"
          },
          {
            "$ref": "#/components/schemas/HPINode-Input"
          },
          {
            "$ref": "#/components/schemas/ImagingOrderNode"
          },
          {
            "$ref": "#/components/schemas/LabOrderNode"
          },
          {
            "$ref": "#/components/schemas/OrderedListNode-Input"
          },
          {
            "$ref": "#/components/schemas/ParagraphNode"
          },
          {
            "$ref": "#/components/schemas/PastMedicalHistoryNode-Input"
          },
          {
            "$ref": "#/components/schemas/PastSurgicalHistoryNode-Input"
          },
          {
            "$ref": "#/components/schemas/PatientInstructionsNode-Input"
          },
          {
            "$ref": "#/components/schemas/PhysicalExamNode-Input"
          },
          {
            "$ref": "#/components/schemas/PrescriptionNode"
          },
          {
            "$ref": "#/components/schemas/ProcedureNode"
          },
          {
            "$ref": "#/components/schemas/ProceduresNode"
          },
          {
            "$ref": "#/components/schemas/Procedures2Node-Input"
          },
          {
            "$ref": "#/components/schemas/PsychologicalStatusNode-Input"
          },
          {
            "$ref": "#/components/schemas/PulmonaryOrderNode"
          },
          {
            "$ref": "#/components/schemas/ReconciledMedicationsNode-Input"
          },
          {
            "$ref": "#/components/schemas/ReferralNode"
          },
          {
            "$ref": "#/components/schemas/ROSNode-Input"
          },
          {
            "$ref": "#/components/schemas/SleepOrderNode"
          },
          {
            "$ref": "#/components/schemas/SocialHistoryNode-Input"
          },
          {
            "$ref": "#/components/schemas/TwoColumnLayoutNode-Input"
          },
          {
            "$ref": "#/components/schemas/UnorderedListNode-Input"
          },
          {
            "$ref": "#/components/schemas/VitalBMINode"
          },
          {
            "$ref": "#/components/schemas/VitalBPNode"
          },
          {
            "$ref": "#/components/schemas/VitalHeightNode"
          },
          {
            "$ref": "#/components/schemas/VitalHRNode"
          },
          {
            "$ref": "#/components/schemas/VitalOxygenNode"
          },
          {
            "$ref": "#/components/schemas/VitalPainNode"
          },
          {
            "$ref": "#/components/schemas/VitalRRNode"
          },
          {
            "$ref": "#/components/schemas/VitalTemperatureNode"
          },
          {
            "$ref": "#/components/schemas/VitalWeightNode"
          },
          {
            "$ref": "#/components/schemas/VitalsNode"
          }
        ]
      },
      "BlockNode-Output": {
        "discriminator": {
          "mapping": {
            "allergies": "#/components/schemas/AllergiesNode-Output",
            "assessmentPlan": "#/components/schemas/AssessmentPlanNode-Output",
            "assessmentPlan2": "#/components/schemas/AssessmentPlan2Node",
            "blockMacro": "#/components/schemas/BlockMacroNode",
            "cardiacOrder": "#/components/schemas/CardiacOrderNode",
            "carePlan": "#/components/schemas/CarePlanNode-Output",
            "cognitiveStatus": "#/components/schemas/CognitiveStatusNode-Output",
            "columnLayout": "#/components/schemas/ColumnLayoutNode-Output",
            "customBlock": "#/components/schemas/CustomBlockNode",
            "customBlockReference": "#/components/schemas/CustomBlockReference",
            "data": "#/components/schemas/DataNode-Output",
            "dietHistory": "#/components/schemas/DietHistoryNode-Output",
            "discontinuePrescription": "#/components/schemas/DiscontinuePrescriptionNode",
            "dynamicForm": "#/components/schemas/DynamicFormNode",
            "examReason": "#/components/schemas/ExamReasonNode",
            "exerciseHistory": "#/components/schemas/ExerciseHistoryNode-Output",
            "familyHistory": "#/components/schemas/FamilyHistoryNode-Output",
            "familyRelationship": "#/components/schemas/FamilyRelationshipNode-Output",
            "followUp": "#/components/schemas/FollowUpNode-Output",
            "functionalStatus": "#/components/schemas/FunctionalStatusNode-Output",
            "generic": "#/components/schemas/GenericNode-Output",
            "habits": "#/components/schemas/HabitsNode-Output",
            "heading": "#/components/schemas/HeadingNode",
            "hpi": "#/components/schemas/HPINode-Output",
            "imagingOrder": "#/components/schemas/ImagingOrderNode",
            "labOrder": "#/components/schemas/LabOrderNode",
            "orderedList": "#/components/schemas/OrderedListNode-Output",
            "paragraph": "#/components/schemas/ParagraphNode",
            "pastMedicalHistory": "#/components/schemas/PastMedicalHistoryNode-Output",
            "pastSurgicalHistory": "#/components/schemas/PastSurgicalHistoryNode-Output",
            "patientInstructions": "#/components/schemas/PatientInstructionsNode-Output",
            "physicalExam": "#/components/schemas/PhysicalExamNode-Output",
            "prescription": "#/components/schemas/PrescriptionNode",
            "procedure": "#/components/schemas/ProcedureNode",
            "procedures": "#/components/schemas/ProceduresNode",
            "procedures2": "#/components/schemas/Procedures2Node-Output",
            "psychologicalStatus": "#/components/schemas/PsychologicalStatusNode-Output",
            "pulmonaryOrder": "#/components/schemas/PulmonaryOrderNode",
            "reconciledMedications": "#/components/schemas/ReconciledMedicationsNode-Output",
            "referral": "#/components/schemas/ReferralNode",
            "ros": "#/components/schemas/ROSNode-Output",
            "sleepOrder": "#/components/schemas/SleepOrderNode",
            "socialHistory": "#/components/schemas/SocialHistoryNode-Output",
            "twoColumnLayout": "#/components/schemas/TwoColumnLayoutNode-Output",
            "unorderedList": "#/components/schemas/UnorderedListNode-Output",
            "vitalBMI": "#/components/schemas/VitalBMINode",
            "vitalBP": "#/components/schemas/VitalBPNode",
            "vitalHR": "#/components/schemas/VitalHRNode",
            "vitalHeight": "#/components/schemas/VitalHeightNode",
            "vitalOxygen": "#/components/schemas/VitalOxygenNode",
            "vitalPain": "#/components/schemas/VitalPainNode",
            "vitalRR": "#/components/schemas/VitalRRNode",
            "vitalTemperature": "#/components/schemas/VitalTemperatureNode",
            "vitalWeight": "#/components/schemas/VitalWeightNode",
            "vitals": "#/components/schemas/VitalsNode"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/AllergiesNode-Output"
          },
          {
            "$ref": "#/components/schemas/AssessmentPlanNode-Output"
          },
          {
            "$ref": "#/components/schemas/AssessmentPlan2Node"
          },
          {
            "$ref": "#/components/schemas/BlockMacroNode"
          },
          {
            "$ref": "#/components/schemas/CardiacOrderNode"
          },
          {
            "$ref": "#/components/schemas/CarePlanNode-Output"
          },
          {
            "$ref": "#/components/schemas/CognitiveStatusNode-Output"
          },
          {
            "$ref": "#/components/schemas/ColumnLayoutNode-Output"
          },
          {
            "$ref": "#/components/schemas/CustomBlockNode"
          },
          {
            "$ref": "#/components/schemas/CustomBlockReference"
          },
          {
            "$ref": "#/components/schemas/DataNode-Output"
          },
          {
            "$ref": "#/components/schemas/DietHistoryNode-Output"
          },
          {
            "$ref": "#/components/schemas/DiscontinuePrescriptionNode"
          },
          {
            "$ref": "#/components/schemas/DynamicFormNode"
          },
          {
            "$ref": "#/components/schemas/ExamReasonNode"
          },
          {
            "$ref": "#/components/schemas/ExerciseHistoryNode-Output"
          },
          {
            "$ref": "#/components/schemas/FamilyHistoryNode-Output"
          },
          {
            "$ref": "#/components/schemas/FamilyRelationshipNode-Output"
          },
          {
            "$ref": "#/components/schemas/FollowUpNode-Output"
          },
          {
            "$ref": "#/components/schemas/FunctionalStatusNode-Output"
          },
          {
            "$ref": "#/components/schemas/GenericNode-Output"
          },
          {
            "$ref": "#/components/schemas/HabitsNode-Output"
          },
          {
            "$ref": "#/components/schemas/HeadingNode"
          },
          {
            "$ref": "#/components/schemas/HPINode-Output"
          },
          {
            "$ref": "#/components/schemas/ImagingOrderNode"
          },
          {
            "$ref": "#/components/schemas/LabOrderNode"
          },
          {
            "$ref": "#/components/schemas/OrderedListNode-Output"
          },
          {
            "$ref": "#/components/schemas/ParagraphNode"
          },
          {
            "$ref": "#/components/schemas/PastMedicalHistoryNode-Output"
          },
          {
            "$ref": "#/components/schemas/PastSurgicalHistoryNode-Output"
          },
          {
            "$ref": "#/components/schemas/PatientInstructionsNode-Output"
          },
          {
            "$ref": "#/components/schemas/PhysicalExamNode-Output"
          },
          {
            "$ref": "#/components/schemas/PrescriptionNode"
          },
          {
            "$ref": "#/components/schemas/ProcedureNode"
          },
          {
            "$ref": "#/components/schemas/ProceduresNode"
          },
          {
            "$ref": "#/components/schemas/Procedures2Node-Output"
          },
          {
            "$ref": "#/components/schemas/PsychologicalStatusNode-Output"
          },
          {
            "$ref": "#/components/schemas/PulmonaryOrderNode"
          },
          {
            "$ref": "#/components/schemas/ReconciledMedicationsNode-Output"
          },
          {
            "$ref": "#/components/schemas/ReferralNode"
          },
          {
            "$ref": "#/components/schemas/ROSNode-Output"
          },
          {
            "$ref": "#/components/schemas/SleepOrderNode"
          },
          {
            "$ref": "#/components/schemas/SocialHistoryNode-Output"
          },
          {
            "$ref": "#/components/schemas/TwoColumnLayoutNode-Output"
          },
          {
            "$ref": "#/components/schemas/UnorderedListNode-Output"
          },
          {
            "$ref": "#/components/schemas/VitalBMINode"
          },
          {
            "$ref": "#/components/schemas/VitalBPNode"
          },
          {
            "$ref": "#/components/schemas/VitalHeightNode"
          },
          {
            "$ref": "#/components/schemas/VitalHRNode"
          },
          {
            "$ref": "#/components/schemas/VitalOxygenNode"
          },
          {
            "$ref": "#/components/schemas/VitalPainNode"
          },
          {
            "$ref": "#/components/schemas/VitalRRNode"
          },
          {
            "$ref": "#/components/schemas/VitalTemperatureNode"
          },
          {
            "$ref": "#/components/schemas/VitalWeightNode"
          },
          {
            "$ref": "#/components/schemas/VitalsNode"
          }
        ]
      },
      "CODE_TYPE": {
        "enum": [
          "CPT",
          "SNOMED",
          "HL7",
          "ICD9",
          "LOINC",
          "CVX",
          "RXNORM",
          "ICD10",
          "CPTII",
          "HCPCS",
          "EL8"
        ],
        "title": "CODE_TYPE",
        "type": "string"
      },
      "CardiacOrderAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "order": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CardiacOrderSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "CardiacOrderAttrs",
        "type": "object"
      },
      "CardiacOrderBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/CardiacOrderBlockAttrs"
          },
          "type": {
            "const": "cardiacOrder",
            "default": "cardiacOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "CardiacOrderBlock",
        "type": "object"
      },
      "CardiacOrderBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "order": {
            "$ref": "#/components/schemas/CardiacOrderSummary"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "order"
        ],
        "title": "CardiacOrderBlockAttrs",
        "type": "object"
      },
      "CardiacOrderNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/CardiacOrderAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "cardiac_order"
          },
          "type": {
            "const": "cardiacOrder",
            "default": "cardiacOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "CardiacOrderNode",
        "type": "object"
      },
      "CardiacOrderSummary": {
        "properties": {
          "clinical_reason": {
            "title": "Clinical Reason",
            "type": "string"
          },
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "created_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "date_for_test": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date For Test"
          },
          "deleted_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "medications": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Medications"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "tests": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/CardiacOrderTest"
            },
            "title": "Tests",
            "type": "array"
          }
        },
        "required": [
          "id",
          "clinical_reason",
          "confidential"
        ],
        "title": "CardiacOrderSummary",
        "type": "object"
      },
      "CardiacOrderTest": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "CardiacOrderTest",
        "type": "object"
      },
      "CarePlanNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "carePlan",
            "default": "carePlan",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "CarePlanNode",
        "type": "object"
      },
      "CarePlanNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "carePlan",
            "default": "carePlan",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "CarePlanNode",
        "type": "object"
      },
      "ClinicalFormCollection": {
        "description": "A summary of collected observations for a specific clinical form.",
        "properties": {
          "clinical_form_id": {
            "title": "Clinical Form Id",
            "type": "integer"
          },
          "clinical_form_name": {
            "title": "Clinical Form Name",
            "type": "string"
          },
          "collection_summary": {
            "title": "Collection Summary",
            "type": "string"
          },
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "create_date": {
            "format": "date-time",
            "title": "Create Date",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "patient_id": {
            "title": "Patient Id",
            "type": "integer"
          },
          "response_summary": {
            "title": "Response Summary",
            "type": "string"
          }
        },
        "required": [
          "clinical_form_id",
          "clinical_form_name",
          "collection_summary",
          "confidential",
          "create_date",
          "id",
          "patient_id",
          "response_summary"
        ],
        "title": "ClinicalFormCollection",
        "type": "object"
      },
      "ClinicalFormCollectionNode": {
        "additionalProperties": true,
        "description": "Inline node for a ClinicalFormCollection item link for status blocks\n(e.g. summary of a collected clinical questionnaire).",
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__ClinicalFormCollectionNode__NodeAttrs"
          },
          "type": {
            "const": "clinicalFormCollection",
            "default": "clinicalFormCollection",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ClinicalFormCollectionNode",
        "type": "object"
      },
      "CognitiveStatusNode-Input": {
        "additionalProperties": true,
        "description": "Block node for patient's mental function assessment.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "cognitiveStatus",
            "default": "cognitiveStatus",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "CognitiveStatusNode",
        "type": "object"
      },
      "CognitiveStatusNode-Output": {
        "additionalProperties": true,
        "description": "Block node for patient's mental function assessment.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "cognitiveStatus",
            "default": "cognitiveStatus",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "CognitiveStatusNode",
        "type": "object"
      },
      "ColumnLayoutNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AnyNodeContent"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "columnLayout",
            "default": "columnLayout",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ColumnLayoutNode",
        "type": "object"
      },
      "ColumnLayoutNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/AnyNodeContent"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "columnLayout",
            "default": "columnLayout",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ColumnLayoutNode",
        "type": "object"
      },
      "ContentMap-Output": {
        "description": "Typed map from section type to its content. All sections are optional.\n\nKeys match section ``type`` wire values (``NodeType``): lowercase single words\n(e.g. ``narrative``, ``vitals``) or camelCase for multi-word nodes (e.g. ``followUp``).",
        "properties": {
          "followUp": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/FollowupSection-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "instructions": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InstructionsSection-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "narrative": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NarrativeSection-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "orders": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/OrdersSection"
              },
              {
                "type": "null"
              }
            ]
          },
          "procedures": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProcedureSection"
              },
              {
                "type": "null"
              }
            ]
          },
          "referencedDocuments": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedDocumentsSection"
              },
              {
                "type": "null"
              }
            ]
          },
          "vitals": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/VitalsSection"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "ContentMap",
        "type": "object"
      },
      "CptCode": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          }
        },
        "required": [
          "id",
          "code",
          "description"
        ],
        "title": "CptCode",
        "type": "object"
      },
      "CptCodeNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__CptCodeNode__NodeAttrs"
          },
          "type": {
            "const": "cptCode",
            "default": "cptCode",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "CptCodeNode",
        "type": "object"
      },
      "CustomBlockAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "blockId": {
            "title": "Blockid",
            "type": "integer"
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "label",
          "blockId"
        ],
        "title": "CustomBlockAttrs",
        "type": "object"
      },
      "CustomBlockNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/CustomBlockAttrs"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/DynamicFormNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "customBlock",
            "default": "customBlock",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "CustomBlockNode",
        "type": "object"
      },
      "CustomBlockReference": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/Attrs"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/DynamicFormNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "customBlockReference",
            "default": "customBlockReference",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "CustomBlockReference",
        "type": "object"
      },
      "CustomBlockResponse": {
        "examples": [
          {
            "aliases": [
              "assessment"
            ],
            "content": [
              {
                "attrs": {
                  "data": {},
                  "dataSchema": {
                    "properties": {
                      "bGWCPFTxkamB_sGQWsgqY": {
                        "description": "",
                        "oneOf": [
                          {
                            "const": "option_1",
                            "title": "Yes"
                          },
                          {
                            "const": "option_2",
                            "title": "No"
                          }
                        ],
                        "title": "Did you perform the assessment?",
                        "type": "string"
                      },
                      "n2aMlkD0XaOWTHYhsX2TP": {
                        "format": "date",
                        "title": "Date Assessment Performed",
                        "type": "string"
                      }
                    },
                    "type": "object"
                  },
                  "label": "Assessment",
                  "ref_id": "a765df04-a773-45ae-88ed-9939f719b469",
                  "uiSchema": {
                    "elements": [
                      {
                        "options": {},
                        "scope": "#/properties/bGWCPFTxkamB_sGQWsgqY",
                        "type": "Control"
                      },
                      {
                        "options": {},
                        "scope": "#/properties/n2aMlkD0XaOWTHYhsX2TP",
                        "type": "Control"
                      }
                    ],
                    "type": "VerticalLayout"
                  }
                },
                "type": "dynamicForm"
              }
            ],
            "created_by": 4,
            "id": 61,
            "is_system_template": false,
            "label": "Assessment",
            "practice_id": 65540
          }
        ],
        "properties": {
          "aliases": {
            "anyOf": [
              {
                "items": {
                  "type": "string"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "description": "Shortcuts for accessing the custom block in a note 2 editor",
            "title": "Aliases"
          },
          "content": {
            "default": [],
            "description": "The content of the custom block.",
            "items": {
              "$ref": "#/components/schemas/DynamicFormNode"
            },
            "title": "Content",
            "type": "array"
          },
          "created_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ID of the user who created the custom block.",
            "title": "Created By"
          },
          "id": {
            "description": "The ID of the custom block.",
            "title": "Id",
            "type": "integer"
          },
          "is_system_template": {
            "description": "Whether the custom block is a system template.",
            "title": "Is System Template",
            "type": "boolean"
          },
          "label": {
            "description": "The name of the custom block.",
            "title": "Label",
            "type": "string"
          },
          "practice_id": {
            "description": "The ID of the practice to which the custom block belongs.",
            "title": "Practice Id",
            "type": "integer"
          }
        },
        "required": [
          "label",
          "id",
          "practice_id",
          "is_system_template"
        ],
        "title": "CustomBlockResponse",
        "type": "object"
      },
      "DataNode-Input": {
        "additionalProperties": true,
        "description": "Block node for data referenced during the visit, such as reports.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "data",
            "default": "data",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "DataNode",
        "type": "object"
      },
      "DataNode-Output": {
        "additionalProperties": true,
        "description": "Block node for data referenced during the visit, such as reports.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "data",
            "default": "data",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "DataNode",
        "type": "object"
      },
      "DietHistoryNode-Input": {
        "additionalProperties": true,
        "description": "Block node for the assessment of a patient's nutrition and eating habits.\nIncludes information about the patient's typical food intake, any dietary restrictions,\nand their hydration status.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "dietHistory",
            "default": "dietHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "DietHistoryNode",
        "type": "object"
      },
      "DietHistoryNode-Output": {
        "additionalProperties": true,
        "description": "Block node for the assessment of a patient's nutrition and eating habits.\nIncludes information about the patient's typical food intake, any dietary restrictions,\nand their hydration status.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "dietHistory",
            "default": "dietHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "DietHistoryNode",
        "type": "object"
      },
      "DiscontinuePrescriptionAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "prescription": {
            "$ref": "#/components/schemas/PrescriptionDiscontinueData"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "prescription"
        ],
        "title": "DiscontinuePrescriptionAttrs",
        "type": "object"
      },
      "DiscontinuePrescriptionNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/DiscontinuePrescriptionAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "discontinue_prescription"
          },
          "type": {
            "const": "discontinuePrescription",
            "default": "discontinuePrescription",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "DiscontinuePrescriptionNode",
        "type": "object"
      },
      "Doctag": {
        "description": "A doctag is an identifier that can be applied to a document.\nThis implementation of doctag mirrors VN1's coded document tag",
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "code_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CODE_TYPE"
              },
              {
                "type": "null"
              }
            ]
          },
          "concept_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Concept Name"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_cpc_plus": {
            "title": "Is Cpc Plus",
            "type": "boolean"
          },
          "is_mips": {
            "title": "Is Mips",
            "type": "boolean"
          },
          "practice": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Practice"
          },
          "shared": {
            "title": "Shared",
            "type": "boolean"
          },
          "snomed_result_code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snomed Result Code"
          },
          "value": {
            "title": "Value",
            "type": "string"
          }
        },
        "required": [
          "value",
          "id",
          "shared",
          "is_mips",
          "is_cpc_plus"
        ],
        "title": "Doctag",
        "type": "object"
      },
      "DocumentNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/DocumentNodeChild-Input"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "document",
            "default": "document",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "DocumentNode",
        "type": "object"
      },
      "DocumentNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/DocumentNodeChild-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "document",
            "default": "document",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "DocumentNode",
        "type": "object"
      },
      "DocumentNodeChild-Input": {
        "discriminator": {
          "mapping": {
            "columnLayout": "#/components/schemas/ColumnLayoutNode-Input",
            "twoColumnLayout": "#/components/schemas/TwoColumnLayoutNode-Input"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/TwoColumnLayoutNode-Input"
          },
          {
            "$ref": "#/components/schemas/ColumnLayoutNode-Input"
          }
        ]
      },
      "DocumentNodeChild-Output": {
        "discriminator": {
          "mapping": {
            "columnLayout": "#/components/schemas/ColumnLayoutNode-Output",
            "twoColumnLayout": "#/components/schemas/TwoColumnLayoutNode-Output"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/TwoColumnLayoutNode-Output"
          },
          {
            "$ref": "#/components/schemas/ColumnLayoutNode-Output"
          }
        ]
      },
      "DocumentSignature": {
        "description": "A signature on a document.",
        "properties": {
          "amendment_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "ID of the note amendment this signature applies to, if any; null for signatures on the base note or legacy records.",
            "title": "Amendment Id"
          },
          "on_behalf_of_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "On Behalf Of User Id"
          },
          "on_behalf_of_user_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "On Behalf Of User Name"
          },
          "signature_comments": {
            "title": "Signature Comments",
            "type": "string"
          },
          "signature_role": {
            "$ref": "#/components/schemas/DocumentSignatureRole"
          },
          "signed_at": {
            "description": "When the associated document was signed with this signature.",
            "format": "date-time",
            "title": "Signed At",
            "type": "string"
          },
          "user_id": {
            "description": "The ID of the user who authored the signature.",
            "title": "User Id",
            "type": "integer"
          },
          "user_name": {
            "description": "The name of the user who authored the signature.",
            "title": "User Name",
            "type": "string"
          }
        },
        "required": [
          "user_id",
          "user_name",
          "signed_at",
          "signature_role",
          "signature_comments"
        ],
        "title": "DocumentSignature",
        "type": "object"
      },
      "DocumentSignatureRole": {
        "description": "The role the user is performing when adding a signature to a visit note",
        "enum": [
          "amender",
          "cosigner",
          "rendering_provider",
          "staff_autofiler"
        ],
        "title": "DocumentSignatureRole",
        "type": "string"
      },
      "DxNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__DxNode__NodeAttrs"
          },
          "type": {
            "const": "dxCode",
            "default": "dxCode",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "DxNode",
        "type": "object"
      },
      "DynamicFormAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "data": {
            "additionalProperties": true,
            "default": {},
            "title": "Data",
            "type": "object"
          },
          "dataSchema": {
            "title": "Dataschema"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "label": {
            "title": "Label",
            "type": "string"
          },
          "lastEditedBy": {
            "additionalProperties": {
              "enum": [
                "user",
                "api",
                "note-prediction",
                "template"
              ],
              "type": "string"
            },
            "title": "Lasteditedby",
            "type": "object"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "uiSchema": {
            "title": "Uischema"
          }
        },
        "required": [
          "dataSchema",
          "uiSchema",
          "label"
        ],
        "title": "DynamicFormAttrs",
        "type": "object"
      },
      "DynamicFormNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/DynamicFormAttrs"
          },
          "type": {
            "const": "dynamicForm",
            "default": "dynamicForm",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "DynamicFormNode",
        "type": "object"
      },
      "ElationNote": {
        "description": "Full representation of a sections-based note returned by the API.\n\n`content` holds the sections-based structure: layout (structural description)\nand content_map (typed section content). This replaces the DocumentNode\ntree used by the legacy Note model.\n\n`layout_name` is inherited from ElationNoteCreate. It is not populated on\nreads \u2014 the canonical layout is embedded in `content.layout`.",
        "properties": {
          "attachments": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Attachment"
            },
            "title": "Attachments",
            "type": "array"
          },
          "bill": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ID of the bill associated with the note.",
            "title": "Bill"
          },
          "category": {
            "description": "Practice-created identifier for note category (Visit Note Type).",
            "title": "Category",
            "type": "integer"
          },
          "confidential": {
            "description": "Whether the note is marked as confidential.",
            "title": "Confidential",
            "type": "boolean"
          },
          "content": {
            "$ref": "#/components/schemas/SectionsContent"
          },
          "doctags": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Doctag"
            },
            "title": "Doctags",
            "type": "array"
          },
          "exam_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exam Reason"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_draft": {
            "title": "Is Draft",
            "type": "boolean"
          },
          "is_outdated": {
            "default": false,
            "title": "Is Outdated",
            "type": "boolean"
          },
          "layout_name": {
            "description": "Name of the pre-defined layout, e.g. 'simple_note'.",
            "title": "Layout Name",
            "type": "string"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "patient": {
            "description": "The ID of the patient for whom the note was created.",
            "title": "Patient",
            "type": "integer"
          },
          "practice": {
            "description": "Authoring practice ID.",
            "title": "Practice",
            "type": "integer"
          },
          "provider": {
            "description": "The ID of the assigned provider.",
            "title": "Provider",
            "type": "integer"
          },
          "serviced_at": {
            "format": "date-time",
            "title": "Serviced At",
            "type": "string"
          },
          "signatures": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/DocumentSignature"
            },
            "title": "Signatures",
            "type": "array"
          },
          "snapshot_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snapshot Id"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "required": [
          "provider",
          "category",
          "serviced_at",
          "layout_name",
          "practice",
          "patient",
          "confidential",
          "id",
          "content",
          "is_draft"
        ],
        "title": "ElationNote",
        "type": "object"
      },
      "ElationNoteAmendment": {
        "description": "Full representation of an EN2.1 sections-based note amendment.\n\nAnalogous to NoteAmendment for legacy DocumentNode notes. `previous_content`\nis populated after the amendment is signed and captures the parent note\nstate at signing time.",
        "properties": {
          "bill": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bill"
          },
          "category": {
            "title": "Category",
            "type": "integer"
          },
          "content": {
            "$ref": "#/components/schemas/SectionsContent"
          },
          "exam_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exam Reason"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_draft": {
            "title": "Is Draft",
            "type": "boolean"
          },
          "is_outdated": {
            "default": false,
            "title": "Is Outdated",
            "type": "boolean"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "note_id": {
            "title": "Note Id",
            "type": "integer"
          },
          "patient": {
            "title": "Patient",
            "type": "integer"
          },
          "practice": {
            "title": "Practice",
            "type": "integer"
          },
          "previous_content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SectionsContent"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "title": "Provider",
            "type": "integer"
          },
          "serviced_at": {
            "format": "date-time",
            "title": "Serviced At",
            "type": "string"
          },
          "signatures": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/DocumentSignature"
            },
            "title": "Signatures",
            "type": "array"
          }
        },
        "required": [
          "id",
          "note_id",
          "provider",
          "practice",
          "patient",
          "category",
          "content",
          "serviced_at",
          "is_draft"
        ],
        "title": "ElationNoteAmendment",
        "type": "object"
      },
      "EventSnapshot": {
        "properties": {
          "event": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Event"
          },
          "headers": {
            "title": "Headers"
          }
        },
        "required": [
          "headers"
        ],
        "title": "EventSnapshot",
        "type": "object"
      },
      "ExamReasonNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ParagraphNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "examReason",
            "default": "examReason",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ExamReasonNode",
        "type": "object"
      },
      "ExerciseHistoryNode-Input": {
        "additionalProperties": true,
        "description": "The evaluation of a patient's physical activity levels and exercise habits.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "exerciseHistory",
            "default": "exerciseHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ExerciseHistoryNode",
        "type": "object"
      },
      "ExerciseHistoryNode-Output": {
        "additionalProperties": true,
        "description": "The evaluation of a patient's physical activity levels and exercise habits.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "exerciseHistory",
            "default": "exerciseHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ExerciseHistoryNode",
        "type": "object"
      },
      "FamilyHistoryNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "title": "Content"
          },
          "type": {
            "const": "familyHistory",
            "default": "familyHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FamilyHistoryNode",
        "type": "object"
      },
      "FamilyHistoryNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "title": "Content"
          },
          "type": {
            "const": "familyHistory",
            "default": "familyHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FamilyHistoryNode",
        "type": "object"
      },
      "FamilyRelationshipAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "relationshipType": {
            "$ref": "#/components/schemas/FamilyRelationshipType"
          }
        },
        "required": [
          "relationshipType"
        ],
        "title": "FamilyRelationshipAttrs",
        "type": "object"
      },
      "FamilyRelationshipNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/FamilyRelationshipAttrs"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/UnorderedListNode-Input"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "familyRelationship",
            "default": "familyRelationship",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "FamilyRelationshipNode",
        "type": "object"
      },
      "FamilyRelationshipNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/FamilyRelationshipAttrs"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/UnorderedListNode-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "familyRelationship",
            "default": "familyRelationship",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "FamilyRelationshipNode",
        "type": "object"
      },
      "FamilyRelationshipType": {
        "enum": [
          "mother",
          "father",
          "brother",
          "sister",
          "son",
          "daughter",
          "grandfather",
          "grandmother",
          "aunt",
          "uncle",
          "other"
        ],
        "title": "FamilyRelationshipType",
        "type": "string"
      },
      "FollowUpNode-Input": {
        "additionalProperties": true,
        "description": "Block node for follow up instructions",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "followUp",
            "default": "followUp",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FollowUpNode",
        "type": "object"
      },
      "FollowUpNode-Output": {
        "additionalProperties": true,
        "description": "Block node for follow up instructions",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "followUp",
            "default": "followUp",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FollowUpNode",
        "type": "object"
      },
      "FollowupListItem-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "description": "List-item children, capped at two: a single child must be a paragraph, and a second child (if present) must be a nested ordered or unordered list. Shape is [paragraph] or [paragraph, nested list].",
            "items": {
              "discriminator": {
                "mapping": {
                  "followUpOrderedList": "#/components/schemas/FollowupOrderedList-Output",
                  "followUpParagraph": "#/components/schemas/FollowupParagraph",
                  "followUpUnorderedList": "#/components/schemas/FollowupUnorderedList-Output"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/FollowupParagraph"
                },
                {
                  "$ref": "#/components/schemas/FollowupUnorderedList-Output"
                },
                {
                  "$ref": "#/components/schemas/FollowupOrderedList-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "followUpListItem",
            "default": "followUpListItem",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FollowupListItem",
        "type": "object"
      },
      "FollowupOrderedList-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/FollowupListItem-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "followUpOrderedList",
            "default": "followUpOrderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FollowupOrderedList",
        "type": "object"
      },
      "FollowupParagraph": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/FollowupParagraphAttrs"
          },
          "content": {
            "items": {
              "discriminator": {
                "mapping": {
                  "lineBreak": "#/components/schemas/LineBreakInline",
                  "text": "#/components/schemas/TextInline"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TextInline"
                },
                {
                  "$ref": "#/components/schemas/LineBreakInline"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "followUpParagraph",
            "default": "followUpParagraph",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FollowupParagraph",
        "type": "object"
      },
      "FollowupParagraphAttrs": {
        "properties": {
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "title": "FollowupParagraphAttrs",
        "type": "object"
      },
      "FollowupSection-Output": {
        "properties": {
          "content": {
            "items": {
              "discriminator": {
                "mapping": {
                  "followUpOrderedList": "#/components/schemas/FollowupOrderedList-Output",
                  "followUpParagraph": "#/components/schemas/FollowupParagraph",
                  "followUpUnorderedList": "#/components/schemas/FollowupUnorderedList-Output"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/FollowupParagraph"
                },
                {
                  "$ref": "#/components/schemas/FollowupUnorderedList-Output"
                },
                {
                  "$ref": "#/components/schemas/FollowupOrderedList-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "followUp",
            "default": "followUp",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FollowupSection",
        "type": "object"
      },
      "FollowupUnorderedList-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/FollowupListItem-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "followUpUnorderedList",
            "default": "followUpUnorderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FollowupUnorderedList",
        "type": "object"
      },
      "FunctionalStatusNode-Input": {
        "additionalProperties": true,
        "description": "Block node for the assessment of a patient's ability to perform activities of daily living\nand their level of independence.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "functionalStatus",
            "default": "functionalStatus",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FunctionalStatusNode",
        "type": "object"
      },
      "FunctionalStatusNode-Output": {
        "additionalProperties": true,
        "description": "Block node for the assessment of a patient's ability to perform activities of daily living\nand their level of independence.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "functionalStatus",
            "default": "functionalStatus",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "FunctionalStatusNode",
        "type": "object"
      },
      "GenericNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__block_nodes__GenericNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                },
                {
                  "$ref": "#/components/schemas/AssessmentPlanItemNode"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "generic",
            "default": "generic",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "GenericNode",
        "type": "object"
      },
      "GenericNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__block_nodes__GenericNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                },
                {
                  "$ref": "#/components/schemas/AssessmentPlanItemNode"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "generic",
            "default": "generic",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "GenericNode",
        "type": "object"
      },
      "HPINode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "hpi",
            "default": "hpi",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "HPINode",
        "type": "object"
      },
      "HPINode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "hpi",
            "default": "hpi",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "HPINode",
        "type": "object"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "title": "Detail",
            "type": "array"
          }
        },
        "title": "HTTPValidationError",
        "type": "object"
      },
      "HabitsNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "habits",
            "default": "habits",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "HabitsNode",
        "type": "object"
      },
      "HabitsNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "habits",
            "default": "habits",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "HabitsNode",
        "type": "object"
      },
      "Handout": {
        "properties": {
          "content_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Content Type"
          },
          "created_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "deleted_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          },
          "original_filename": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Original Filename"
          },
          "type_name": {
            "$ref": "#/components/schemas/HandoutTypeName"
          },
          "vis_barcode": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vis Barcode"
          }
        },
        "required": [
          "id",
          "name",
          "type_name"
        ],
        "title": "Handout",
        "type": "object"
      },
      "HandoutBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/HandoutBlockAttrs"
          },
          "type": {
            "const": "handout",
            "default": "handout",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "HandoutBlock",
        "type": "object"
      },
      "HandoutBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "handout": {
            "$ref": "#/components/schemas/Handout"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "handout"
        ],
        "title": "HandoutBlockAttrs",
        "type": "object"
      },
      "HandoutTypeName": {
        "description": "Handout kind. Hippo reconciles this into its integer ``type`` if needed.",
        "enum": [
          "Patient Resource",
          "VIS"
        ],
        "title": "HandoutTypeName",
        "type": "string"
      },
      "HeadingBlockAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "level": {
            "title": "Level",
            "type": "integer"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "level"
        ],
        "title": "HeadingBlockAttrs",
        "type": "object"
      },
      "HeadingNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/HeadingBlockAttrs"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/InlineNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "heading",
            "default": "heading",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "HeadingNode",
        "type": "object"
      },
      "Icd10Code": {
        "properties": {
          "code": {
            "title": "Code",
            "type": "string"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "required": [
          "code",
          "description"
        ],
        "title": "Icd10Code",
        "type": "object"
      },
      "ImagingOrderAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "order": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ImagingOrderSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "ImagingOrderAttrs",
        "type": "object"
      },
      "ImagingOrderBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ImagingOrderBlockAttrs"
          },
          "type": {
            "const": "imagingOrder",
            "default": "imagingOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ImagingOrderBlock",
        "type": "object"
      },
      "ImagingOrderBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "order": {
            "$ref": "#/components/schemas/ImagingOrderSummary"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "order"
        ],
        "title": "ImagingOrderBlockAttrs",
        "type": "object"
      },
      "ImagingOrderNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ImagingOrderAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "imaging_order"
          },
          "type": {
            "const": "imagingOrder",
            "default": "imagingOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ImagingOrderNode",
        "type": "object"
      },
      "ImagingOrderSummary": {
        "properties": {
          "clinical_reason": {
            "title": "Clinical Reason",
            "type": "string"
          },
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "created_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "date_for_test": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date For Test"
          },
          "deleted_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "tests": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/ImagingOrderTest"
            },
            "title": "Tests",
            "type": "array"
          }
        },
        "required": [
          "id",
          "clinical_reason",
          "confidential"
        ],
        "title": "ImagingOrderSummary",
        "type": "object"
      },
      "ImagingOrderTest": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "ImagingOrderTest",
        "type": "object"
      },
      "Immunization": {
        "properties": {
          "administered_date": {
            "title": "Administered Date",
            "type": "string"
          },
          "administering_physician": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Administering Physician"
          },
          "created_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "deleted_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Description"
          },
          "dose_in_series": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dose In Series"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "lot_number": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lot Number"
          },
          "method": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Method"
          },
          "ordering_physician": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ordering Physician"
          },
          "patient_id": {
            "title": "Patient Id",
            "type": "integer"
          },
          "qty": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Qty"
          },
          "qty_units": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Qty Units"
          },
          "site": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Site"
          },
          "vaccine": {
            "$ref": "#/components/schemas/ImmunizationVaccine"
          }
        },
        "required": [
          "administered_date",
          "id",
          "patient_id"
        ],
        "title": "Immunization",
        "type": "object"
      },
      "ImmunizationVaccine": {
        "properties": {
          "name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Name"
          }
        },
        "title": "ImmunizationVaccine",
        "type": "object"
      },
      "Injection": {
        "properties": {
          "deleted_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "dose": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Dose"
          },
          "dose_unit": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InjectionDoseUnit"
              },
              {
                "type": "null"
              }
            ]
          },
          "given_by_user_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Given By User Id"
          },
          "given_date": {
            "title": "Given Date",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_confidential": {
            "default": false,
            "title": "Is Confidential",
            "type": "boolean"
          },
          "is_new": {
            "default": false,
            "title": "Is New",
            "type": "boolean"
          },
          "method": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/InjectionMethod"
              },
              {
                "type": "null"
              }
            ]
          },
          "patient_id": {
            "title": "Patient Id",
            "type": "integer"
          },
          "practice_id": {
            "title": "Practice Id",
            "type": "integer"
          },
          "reference_medication_id": {
            "title": "Reference Medication Id",
            "type": "integer"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          }
        },
        "required": [
          "given_date",
          "id",
          "patient_id",
          "practice_id",
          "reference_medication_id"
        ],
        "title": "Injection",
        "type": "object"
      },
      "InjectionBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/InjectionBlockAttrs"
          },
          "type": {
            "const": "injection",
            "default": "injection",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "InjectionBlock",
        "type": "object"
      },
      "InjectionBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "injection": {
            "$ref": "#/components/schemas/Injection"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "injection"
        ],
        "title": "InjectionBlockAttrs",
        "type": "object"
      },
      "InjectionDoseUnit": {
        "enum": [
          "dL",
          "g",
          "kg",
          "kL",
          "L",
          "mCi",
          "mg",
          "mL",
          "ug",
          "uL",
          "tab"
        ],
        "title": "InjectionDoseUnit",
        "type": "string"
      },
      "InjectionMethod": {
        "enum": [
          "Intravenous",
          "Intramuscular",
          "Subcutaneous",
          "Intradermal",
          "Other"
        ],
        "title": "InjectionMethod",
        "type": "string"
      },
      "InlineMacroNode": {
        "additionalProperties": true,
        "description": "Inline node for a macro reference with id and label.",
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__InlineMacroNode__NodeAttrs"
          },
          "type": {
            "const": "inlineMacro",
            "default": "inlineMacro",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "InlineMacroNode",
        "type": "object"
      },
      "InlineNode": {
        "discriminator": {
          "mapping": {
            "clinicalFormCollection": "#/components/schemas/ClinicalFormCollectionNode",
            "cptCode": "#/components/schemas/CptCodeNode",
            "dxCode": "#/components/schemas/DxNode",
            "inlineMacro": "#/components/schemas/InlineMacroNode",
            "lineBreak": "#/components/schemas/LineBreakNode",
            "problem": "#/components/schemas/ProblemNode",
            "reconciledMedication": "#/components/schemas/ReconciledMedicationNode",
            "report": "#/components/schemas/ReportNode",
            "text": "#/components/schemas/TextNode"
          },
          "propertyName": "type"
        },
        "oneOf": [
          {
            "$ref": "#/components/schemas/TextNode"
          },
          {
            "$ref": "#/components/schemas/LineBreakNode"
          },
          {
            "$ref": "#/components/schemas/CptCodeNode"
          },
          {
            "$ref": "#/components/schemas/DxNode"
          },
          {
            "$ref": "#/components/schemas/ProblemNode"
          },
          {
            "$ref": "#/components/schemas/ReconciledMedicationNode"
          },
          {
            "$ref": "#/components/schemas/ReportNode"
          },
          {
            "$ref": "#/components/schemas/ClinicalFormCollectionNode"
          },
          {
            "$ref": "#/components/schemas/InlineMacroNode"
          }
        ]
      },
      "InstructionParagraphAttrs": {
        "properties": {
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "title": "InstructionParagraphAttrs",
        "type": "object"
      },
      "InstructionsListItem-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "description": "List-item children, capped at two: a single child must be a paragraph, and a second child (if present) must be a nested ordered or unordered list. Shape is [paragraph] or [paragraph, nested list].",
            "items": {
              "discriminator": {
                "mapping": {
                  "instructionsOrderedList": "#/components/schemas/InstructionsOrderedList-Output",
                  "instructionsParagraph": "#/components/schemas/InstructionsParagraph",
                  "instructionsUnorderedList": "#/components/schemas/InstructionsUnorderedList-Output"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/InstructionsParagraph"
                },
                {
                  "$ref": "#/components/schemas/InstructionsUnorderedList-Output"
                },
                {
                  "$ref": "#/components/schemas/InstructionsOrderedList-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "instructionsListItem",
            "default": "instructionsListItem",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "InstructionsListItem",
        "type": "object"
      },
      "InstructionsOrderedList-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/InstructionsListItem-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "instructionsOrderedList",
            "default": "instructionsOrderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "InstructionsOrderedList",
        "type": "object"
      },
      "InstructionsParagraph": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/InstructionParagraphAttrs"
          },
          "content": {
            "items": {
              "discriminator": {
                "mapping": {
                  "lineBreak": "#/components/schemas/LineBreakInline",
                  "text": "#/components/schemas/TextInline"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TextInline"
                },
                {
                  "$ref": "#/components/schemas/LineBreakInline"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "instructionsParagraph",
            "default": "instructionsParagraph",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "InstructionsParagraph",
        "type": "object"
      },
      "InstructionsSection-Output": {
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/InstructionsOrderedList-Output"
            },
            "maxItems": 1,
            "minItems": 1,
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "instructions",
            "default": "instructions",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "InstructionsSection",
        "type": "object"
      },
      "InstructionsUnorderedList-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/InstructionsListItem-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "instructionsUnorderedList",
            "default": "instructionsUnorderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "InstructionsUnorderedList",
        "type": "object"
      },
      "LabOrderAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "order": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/LabOrderSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "template": {
            "anyOf": [
              {
                "additionalProperties": {
                  "items": {
                    "type": "integer"
                  },
                  "type": "array"
                },
                "propertyNames": {
                  "const": "labOrderSetIds"
                },
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Template"
          }
        },
        "title": "LabOrderAttrs",
        "type": "object"
      },
      "LabOrderBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/LabOrderBlockAttrs"
          },
          "type": {
            "const": "labOrder",
            "default": "labOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "LabOrderBlock",
        "type": "object"
      },
      "LabOrderBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "order": {
            "$ref": "#/components/schemas/LabOrderSummary"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "order"
        ],
        "title": "LabOrderBlockAttrs",
        "type": "object"
      },
      "LabOrderFastingMethod": {
        "enum": [
          "fasting_12_hour",
          "fasting_8_hours",
          "fasting_2_hours",
          "fasting_none",
          "fasting_random"
        ],
        "title": "LabOrderFastingMethod",
        "type": "string"
      },
      "LabOrderNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/LabOrderAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "lab_order"
          },
          "type": {
            "const": "labOrder",
            "default": "labOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "LabOrderNode",
        "type": "object"
      },
      "LabOrderSummary": {
        "properties": {
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "created_date": {
            "format": "date-time",
            "title": "Created Date",
            "type": "string"
          },
          "deleted_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "fasting_method": {
            "$ref": "#/components/schemas/LabOrderFastingMethod"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "tests": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/LabOrderTest"
            },
            "title": "Tests",
            "type": "array"
          },
          "vendor_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Id"
          }
        },
        "required": [
          "id",
          "confidential",
          "fasting_method",
          "created_date"
        ],
        "title": "LabOrderSummary",
        "type": "object"
      },
      "LabOrderTest": {
        "properties": {
          "code": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Code"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "LabOrderTest",
        "type": "object"
      },
      "Layout": {
        "description": "Structural description of a note.\n\n`name` identifies the template (e.g. \"simple_note\", \"soap\").\n`content` lists columns (1 for single-column, 2 for two-column).\nEach column's `content` list defines both which section blocks are\npermitted and their display order. Headers are decorative dividers.",
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/NoteLayoutColumn"
            },
            "title": "Content",
            "type": "array"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "name"
        ],
        "title": "Layout",
        "type": "object"
      },
      "LineBreakInline": {
        "description": "Hard line break. No attrs, no content.",
        "properties": {
          "type": {
            "const": "lineBreak",
            "default": "lineBreak",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "LineBreakInline",
        "type": "object"
      },
      "LineBreakNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "lineBreak",
            "default": "lineBreak",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "LineBreakNode",
        "type": "object"
      },
      "ListItemNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "$ref": "#/components/schemas/BlockNode-Input"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "listItem",
            "default": "listItem",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ListItemNode",
        "type": "object"
      },
      "ListItemNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "$ref": "#/components/schemas/BlockNode-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "listItem",
            "default": "listItem",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ListItemNode",
        "type": "object"
      },
      "Macro": {
        "description": "Model for macro attributes with id and label.",
        "properties": {
          "id": {
            "title": "Id",
            "type": "string"
          },
          "label": {
            "title": "Label",
            "type": "string"
          }
        },
        "required": [
          "id",
          "label"
        ],
        "title": "Macro",
        "type": "object"
      },
      "Mark": {
        "properties": {
          "type": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__TextBlockMarkTypes"
          }
        },
        "required": [
          "type"
        ],
        "title": "Mark",
        "type": "object"
      },
      "MedicationType": {
        "enum": [
          "otc",
          "rx",
          "controlled",
          "prescription"
        ],
        "title": "MedicationType",
        "type": "string"
      },
      "NarrativeListItem-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "description": "List-item children, capped at two: a single child must be a paragraph, and a second child (if present) must be a nested ordered or unordered list. Shape is [paragraph] or [paragraph, nested list].",
            "items": {
              "discriminator": {
                "mapping": {
                  "narrativeOrderedList": "#/components/schemas/NarrativeOrderedList-Output",
                  "narrativeParagraph": "#/components/schemas/NarrativeParagraph",
                  "narrativeUnorderedList": "#/components/schemas/NarrativeUnorderedList-Output"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/NarrativeParagraph"
                },
                {
                  "$ref": "#/components/schemas/NarrativeUnorderedList-Output"
                },
                {
                  "$ref": "#/components/schemas/NarrativeOrderedList-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "narrativeListItem",
            "default": "narrativeListItem",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NarrativeListItem",
        "type": "object"
      },
      "NarrativeOrderedList-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/NarrativeListItem-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "narrativeOrderedList",
            "default": "narrativeOrderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NarrativeOrderedList",
        "type": "object"
      },
      "NarrativeParagraph": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/NarrativeParagraphAttrs"
          },
          "content": {
            "items": {
              "discriminator": {
                "mapping": {
                  "lineBreak": "#/components/schemas/LineBreakInline",
                  "text": "#/components/schemas/TextInline"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/TextInline"
                },
                {
                  "$ref": "#/components/schemas/LineBreakInline"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "narrativeParagraph",
            "default": "narrativeParagraph",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NarrativeParagraph",
        "type": "object"
      },
      "NarrativeParagraphAttrs": {
        "properties": {
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "title": "NarrativeParagraphAttrs",
        "type": "object"
      },
      "NarrativeSection-Output": {
        "properties": {
          "content": {
            "items": {
              "discriminator": {
                "mapping": {
                  "narrativeOrderedList": "#/components/schemas/NarrativeOrderedList-Output",
                  "narrativeParagraph": "#/components/schemas/NarrativeParagraph",
                  "narrativeUnorderedList": "#/components/schemas/NarrativeUnorderedList-Output"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/NarrativeParagraph"
                },
                {
                  "$ref": "#/components/schemas/NarrativeUnorderedList-Output"
                },
                {
                  "$ref": "#/components/schemas/NarrativeOrderedList-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "narrative",
            "default": "narrative",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NarrativeSection",
        "type": "object"
      },
      "NarrativeUnorderedList-Output": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/AttrsWithRefId"
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/NarrativeListItem-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "narrativeUnorderedList",
            "default": "narrativeUnorderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NarrativeUnorderedList",
        "type": "object"
      },
      "Note": {
        "description": "A full representation of a note.\n\nDo not use this for endpoints that return notes in bulk. Use `NoteMetadata`\nfor that instead.",
        "properties": {
          "bill": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ID of the bill associated with the note",
            "title": "Bill"
          },
          "category": {
            "description": "Practice-created identifiers for note category.\nA category is a Visit Note Type object.\nSee https://help.elationhealth.com/articles/rest/patient-document-api/visit-note-types/list-visit-note-types for API to list all available categories.",
            "title": "Category",
            "type": "integer"
          },
          "confidential": {
            "description": "Whether the note is marked as confidential.",
            "title": "Confidential",
            "type": "boolean"
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentNode-Output"
              },
              {
                "type": "null"
              }
            ],
            "description": "An object representing the body of the note."
          },
          "doctags": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Doctag"
            },
            "title": "Doctags",
            "type": "array"
          },
          "exam_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exam Reason"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_draft": {
            "title": "Is Draft",
            "type": "boolean"
          },
          "is_outdated": {
            "default": false,
            "title": "Is Outdated",
            "type": "boolean"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": {},
            "description": "Unstructured data for storing related metadata.",
            "title": "Metadata"
          },
          "patient": {
            "description": "The ID of the patient for whom the note was created.",
            "title": "Patient",
            "type": "integer"
          },
          "practice": {
            "description": "Authoring practice ID.",
            "title": "Practice",
            "type": "integer"
          },
          "provider": {
            "description": "The ID of the assigned provider.",
            "title": "Provider",
            "type": "integer"
          },
          "serviced_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Serviced At"
          },
          "signatures": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/DocumentSignature"
            },
            "title": "Signatures",
            "type": "array"
          },
          "snapshot_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snapshot Id"
          },
          "summary": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Summary"
          }
        },
        "required": [
          "provider",
          "practice",
          "patient",
          "category",
          "serviced_at",
          "confidential",
          "id",
          "is_draft"
        ],
        "title": "Note",
        "type": "object"
      },
      "NoteAmendment": {
        "description": "Full representation of a note amendment fetched from the DB\nNote Amendment is a clone of Note and is analogous to a VisitNoteEdit for a Visit Note 1",
        "properties": {
          "bill": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ID of the bill associated with the note",
            "title": "Bill"
          },
          "category": {
            "description": "Practice-created identifiers for note category.\nA category is a Visit Note Type object.\nSee https://help.elationhealth.com/articles/rest/patient-document-api/visit-note-types/list-visit-note-types for API to list all available categories.",
            "title": "Category",
            "type": "integer"
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentNode-Output"
              },
              {
                "type": "null"
              }
            ],
            "description": "An object representing the body of the note."
          },
          "exam_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exam Reason"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_draft": {
            "title": "Is Draft",
            "type": "boolean"
          },
          "is_outdated": {
            "default": false,
            "title": "Is Outdated",
            "type": "boolean"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": {},
            "description": "Unstructured data for storing related metadata.",
            "title": "Metadata"
          },
          "note_id": {
            "title": "Note Id",
            "type": "integer"
          },
          "patient": {
            "description": "The ID of the patient for whom the note was created.",
            "title": "Patient",
            "type": "integer"
          },
          "practice": {
            "description": "Authoring practice ID.",
            "title": "Practice",
            "type": "integer"
          },
          "previous_content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentNode-Output"
              },
              {
                "type": "null"
              }
            ]
          },
          "provider": {
            "description": "The ID of the assigned provider.",
            "title": "Provider",
            "type": "integer"
          },
          "serviced_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Serviced At"
          },
          "signatures": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/DocumentSignature"
            },
            "title": "Signatures",
            "type": "array"
          }
        },
        "required": [
          "provider",
          "practice",
          "patient",
          "category",
          "serviced_at",
          "id",
          "note_id",
          "is_draft"
        ],
        "title": "NoteAmendment",
        "type": "object"
      },
      "NoteAssistNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ParagraphNode"
                },
                {
                  "$ref": "#/components/schemas/OrderedListNode-Input"
                },
                {
                  "$ref": "#/components/schemas/UnorderedListNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "noteAssist",
            "default": "noteAssist",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NoteAssistNode",
        "type": "object"
      },
      "NoteAssistNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/ParagraphNode"
                },
                {
                  "$ref": "#/components/schemas/OrderedListNode-Output"
                },
                {
                  "$ref": "#/components/schemas/UnorderedListNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "noteAssist",
            "default": "noteAssist",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NoteAssistNode",
        "type": "object"
      },
      "NoteCreate": {
        "properties": {
          "bill": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "The ID of the bill associated with the note",
            "title": "Bill"
          },
          "category": {
            "description": "Practice-created identifiers for note category.\nA category is a Visit Note Type object.\nSee https://help.elationhealth.com/articles/rest/patient-document-api/visit-note-types/list-visit-note-types for API to list all available categories.",
            "title": "Category",
            "type": "integer"
          },
          "confidential": {
            "default": false,
            "description": "Whether the note is marked as confidential.",
            "title": "Confidential",
            "type": "boolean"
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentNode-Input"
              },
              {
                "type": "null"
              }
            ],
            "description": "An object representing the body of the note."
          },
          "exam_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exam Reason"
          },
          "metadata": {
            "anyOf": [
              {
                "additionalProperties": true,
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "default": {},
            "description": "Unstructured data for storing related metadata.",
            "title": "Metadata"
          },
          "patient": {
            "description": "The ID of the patient for whom the note was created.",
            "title": "Patient",
            "type": "integer"
          },
          "practice": {
            "description": "Authoring practice ID.",
            "title": "Practice",
            "type": "integer"
          },
          "provider": {
            "description": "The ID of the assigned provider.",
            "title": "Provider",
            "type": "integer"
          },
          "serviced_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Serviced At"
          }
        },
        "required": [
          "provider",
          "practice",
          "patient",
          "category"
        ],
        "title": "NoteCreate",
        "type": "object"
      },
      "NoteEntityRefType": {
        "enum": [
          "cardiac_order",
          "imaging_order",
          "lab_order",
          "pulmonary_order",
          "referral",
          "sleep_order",
          "prescription",
          "discontinue_prescription"
        ],
        "title": "NoteEntityRefType",
        "type": "string"
      },
      "NoteLayoutBlock": {
        "description": "A section slot in the layout. `type` is the section identifier.",
        "properties": {
          "type": {
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "type"
        ],
        "title": "NoteLayoutBlock",
        "type": "object"
      },
      "NoteLayoutColumn": {
        "properties": {
          "content": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/NoteLayoutHeader"
                },
                {
                  "$ref": "#/components/schemas/NoteLayoutBlock"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "column",
            "default": "column",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NoteLayoutColumn",
        "type": "object"
      },
      "NoteLayoutHeader": {
        "description": "Decorative section divider \u2014 display text only, no clinical meaning.",
        "properties": {
          "text": {
            "default": "",
            "title": "Text",
            "type": "string"
          },
          "type": {
            "const": "header",
            "default": "header",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "NoteLayoutHeader",
        "type": "object"
      },
      "NoteMetadata": {
        "description": "A lightweight version of `Note` that omits certain fields for performance reasons,\nspecifically for use with endpoints that return notes in bulk.",
        "properties": {
          "bill": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "description": "ID of the bill associated to the note",
            "title": "Bill"
          },
          "category": {
            "description": "Practice-created identifiers for note category.\nA category is a Visit Note Type object.\nSee https://help.elationhealth.com/articles/rest/patient-document-api/visit-note-types/list-visit-note-types for API to list all available categories.",
            "title": "Category",
            "type": "integer"
          },
          "confidential": {
            "description": "Whether the note is marked as confidential.",
            "title": "Confidential",
            "type": "boolean"
          },
          "doctags": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Doctag"
            },
            "title": "Doctags",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_draft": {
            "title": "Is Draft",
            "type": "boolean"
          },
          "metadata": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "description": "An optional field to store any necessary metadata related to the note.",
            "title": "Metadata"
          },
          "note_v1_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Note V1 Id"
          },
          "patient": {
            "description": "The ID of the patient for whom the note was created.",
            "title": "Patient",
            "type": "integer"
          },
          "practice": {
            "description": "Authoring practice ID.",
            "title": "Practice",
            "type": "integer"
          },
          "provider": {
            "description": "The ID of the assigned provider.",
            "title": "Provider",
            "type": "integer"
          },
          "serviced_at": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Serviced At"
          }
        },
        "required": [
          "id",
          "provider",
          "practice",
          "patient",
          "category",
          "serviced_at",
          "is_draft",
          "confidential"
        ],
        "title": "NoteMetadata",
        "type": "object"
      },
      "NoteUpdate": {
        "properties": {
          "bill": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bill"
          },
          "category": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Category"
          },
          "close_snapshot": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Close Snapshot"
          },
          "confidential": {
            "default": false,
            "title": "Confidential",
            "type": "boolean"
          },
          "content": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DocumentNode-Input"
              },
              {
                "type": "null"
              }
            ]
          },
          "exam_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exam Reason"
          },
          "metadata": {
            "anyOf": [
              {},
              {
                "type": "null"
              }
            ],
            "title": "Metadata"
          },
          "provider": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Provider"
          },
          "serviced_at": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Serviced At"
          },
          "snapshot_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Snapshot Id"
          }
        },
        "title": "NoteUpdate",
        "type": "object"
      },
      "OrderedListNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ListItemNode-Input"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "orderedList",
            "default": "orderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "OrderedListNode",
        "type": "object"
      },
      "OrderedListNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ListItemNode-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "orderedList",
            "default": "orderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "OrderedListNode",
        "type": "object"
      },
      "OrdersSection": {
        "properties": {
          "content": {
            "items": {
              "discriminator": {
                "mapping": {
                  "cardiacOrder": "#/components/schemas/CardiacOrderBlock",
                  "handout": "#/components/schemas/HandoutBlock",
                  "imagingOrder": "#/components/schemas/ImagingOrderBlock",
                  "injection": "#/components/schemas/InjectionBlock",
                  "labOrder": "#/components/schemas/LabOrderBlock",
                  "patientImmunization": "#/components/schemas/PatientImmunizationBlock",
                  "prescription": "#/components/schemas/PrescriptionBlock",
                  "pulmonaryOrder": "#/components/schemas/PulmonaryOrderBlock",
                  "referral": "#/components/schemas/ReferralBlock",
                  "sleepOrder": "#/components/schemas/SleepOrderBlock"
                },
                "propertyName": "type"
              },
              "oneOf": [
                {
                  "$ref": "#/components/schemas/PrescriptionBlock"
                },
                {
                  "$ref": "#/components/schemas/LabOrderBlock"
                },
                {
                  "$ref": "#/components/schemas/ImagingOrderBlock"
                },
                {
                  "$ref": "#/components/schemas/ReferralBlock"
                },
                {
                  "$ref": "#/components/schemas/CardiacOrderBlock"
                },
                {
                  "$ref": "#/components/schemas/PulmonaryOrderBlock"
                },
                {
                  "$ref": "#/components/schemas/SleepOrderBlock"
                },
                {
                  "$ref": "#/components/schemas/PatientImmunizationBlock"
                },
                {
                  "$ref": "#/components/schemas/InjectionBlock"
                },
                {
                  "$ref": "#/components/schemas/HandoutBlock"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "orders",
            "default": "orders",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "OrdersSection",
        "type": "object"
      },
      "PaginatedResponse_CustomBlockResponse_": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "next": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "previous": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Previous"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/CustomBlockResponse"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "results",
          "count",
          "offset",
          "limit"
        ],
        "title": "PaginatedResponse[CustomBlockResponse]",
        "type": "object"
      },
      "PaginatedResponse_NoteMetadata_": {
        "properties": {
          "count": {
            "title": "Count",
            "type": "integer"
          },
          "limit": {
            "title": "Limit",
            "type": "integer"
          },
          "next": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Next"
          },
          "offset": {
            "title": "Offset",
            "type": "integer"
          },
          "previous": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Previous"
          },
          "results": {
            "items": {
              "$ref": "#/components/schemas/NoteMetadata"
            },
            "title": "Results",
            "type": "array"
          }
        },
        "required": [
          "results",
          "count",
          "offset",
          "limit"
        ],
        "title": "PaginatedResponse[NoteMetadata]",
        "type": "object"
      },
      "ParagraphNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/InlineNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "paragraph",
            "default": "paragraph",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ParagraphNode",
        "type": "object"
      },
      "PastMedicalHistoryNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "pastMedicalHistory",
            "default": "pastMedicalHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PastMedicalHistoryNode",
        "type": "object"
      },
      "PastMedicalHistoryNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "pastMedicalHistory",
            "default": "pastMedicalHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PastMedicalHistoryNode",
        "type": "object"
      },
      "PastSurgicalHistoryNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "pastSurgicalHistory",
            "default": "pastSurgicalHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PastSurgicalHistoryNode",
        "type": "object"
      },
      "PastSurgicalHistoryNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "pastSurgicalHistory",
            "default": "pastSurgicalHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PastSurgicalHistoryNode",
        "type": "object"
      },
      "PatientImmunizationAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "immunization": {
            "$ref": "#/components/schemas/Immunization"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "immunization"
        ],
        "title": "PatientImmunizationAttrs",
        "type": "object"
      },
      "PatientImmunizationBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/PatientImmunizationAttrs"
          },
          "type": {
            "const": "patientImmunization",
            "default": "patientImmunization",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "PatientImmunizationBlock",
        "type": "object"
      },
      "PatientInstructionsNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "title": "Content"
          },
          "type": {
            "const": "patientInstructions",
            "default": "patientInstructions",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PatientInstructionsNode",
        "type": "object"
      },
      "PatientInstructionsNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "title": "Content"
          },
          "type": {
            "const": "patientInstructions",
            "default": "patientInstructions",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PatientInstructionsNode",
        "type": "object"
      },
      "PhysicalExamAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "pe": {
            "$ref": "#/components/schemas/PhysicalExamData"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "PhysicalExamAttrs",
        "type": "object"
      },
      "PhysicalExamData": {
        "properties": {
          "abdom": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Abdom"
          },
          "breast": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Breast"
          },
          "cvs": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cvs"
          },
          "eyes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Eyes"
          },
          "general": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "General"
          },
          "gu": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gu"
          },
          "hent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hent"
          },
          "lymph": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lymph"
          },
          "mss": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mss"
          },
          "neck": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Neck"
          },
          "ns": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ns"
          },
          "pelvic": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Pelvic"
          },
          "psych": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Psych"
          },
          "rectal": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Rectal"
          },
          "resp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resp"
          },
          "skin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Skin"
          }
        },
        "title": "PhysicalExamData",
        "type": "object"
      },
      "PhysicalExamNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/PhysicalExamAttrs"
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "physicalExam",
            "default": "physicalExam",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PhysicalExamNode",
        "type": "object"
      },
      "PhysicalExamNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/PhysicalExamAttrs"
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "physicalExam",
            "default": "physicalExam",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PhysicalExamNode",
        "type": "object"
      },
      "PrescriptionAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "prescription": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PrescriptionData"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "PrescriptionAttrs",
        "type": "object"
      },
      "PrescriptionBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/PrescriptionBlockAttrs"
          },
          "type": {
            "const": "prescription",
            "default": "prescription",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "PrescriptionBlock",
        "type": "object"
      },
      "PrescriptionBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "prescription": {
            "$ref": "#/components/schemas/PrescriptionSummary"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "prescription"
        ],
        "title": "PrescriptionBlockAttrs",
        "type": "object"
      },
      "PrescriptionData": {
        "properties": {
          "created_date": {
            "format": "date-time",
            "title": "Created Date",
            "type": "string"
          },
          "days_supply": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Days Supply"
          },
          "directions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Directions"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "instructions_to_pharmacy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions To Pharmacy"
          },
          "is_document_med": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Is Document Med"
          },
          "medication_display_name": {
            "title": "Medication Display Name",
            "type": "string"
          },
          "medication_id": {
            "title": "Medication Id",
            "type": "integer"
          },
          "medication_type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/MedicationType"
              },
              {
                "type": "null"
              }
            ]
          },
          "quantity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity"
          },
          "quantity_units": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity Units"
          },
          "refills": {
            "title": "Refills",
            "type": "integer"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "type": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PrescriptionType"
              },
              {
                "type": "string"
              }
            ],
            "title": "Type"
          }
        },
        "required": [
          "created_date",
          "id",
          "medication_display_name",
          "medication_id",
          "refills",
          "type"
        ],
        "title": "PrescriptionData",
        "type": "object"
      },
      "PrescriptionDiscontinueData": {
        "properties": {
          "directions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Directions"
          },
          "discontinue_date": {
            "format": "date-time",
            "title": "Discontinue Date",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "is_documented": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Is Documented"
          },
          "medication_display_name": {
            "title": "Medication Display Name",
            "type": "string"
          },
          "medication_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Medication Id"
          },
          "reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Reason"
          },
          "type": {
            "$ref": "#/components/schemas/PrescriptionDiscontinueType"
          }
        },
        "required": [
          "discontinue_date",
          "id",
          "medication_display_name",
          "type"
        ],
        "title": "PrescriptionDiscontinueData",
        "type": "object"
      },
      "PrescriptionDiscontinueType": {
        "enum": [
          "Discontinue"
        ],
        "title": "PrescriptionDiscontinueType",
        "type": "string"
      },
      "PrescriptionNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/PrescriptionAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "prescription"
          },
          "type": {
            "const": "prescription",
            "default": "prescription",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PrescriptionNode",
        "type": "object"
      },
      "PrescriptionSummary": {
        "properties": {
          "created_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "days_supply": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Days Supply"
          },
          "directions": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Directions"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "instructions_to_pharmacy": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Instructions To Pharmacy"
          },
          "is_document_med": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Is Document Med"
          },
          "medication_display_name": {
            "title": "Medication Display Name",
            "type": "string"
          },
          "medication_id": {
            "title": "Medication Id",
            "type": "integer"
          },
          "medication_type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Medication Type"
          },
          "num_samples": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Num Samples"
          },
          "quantity": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity"
          },
          "quantity_units": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Quantity Units"
          },
          "refills": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Refills"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "type": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Type"
          }
        },
        "required": [
          "id",
          "medication_display_name",
          "medication_id"
        ],
        "title": "PrescriptionSummary",
        "type": "object"
      },
      "PrescriptionType": {
        "enum": [
          "New",
          "Refill",
          "DoseChange",
          "prescription",
          "new",
          "otc",
          "",
          "undeterminable",
          "DcMed"
        ],
        "title": "PrescriptionType",
        "type": "string"
      },
      "Problem": {
        "description": "Attribute model for a patient problem reference.",
        "properties": {
          "delete_date": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Delete Date"
          },
          "description": {
            "title": "Description",
            "type": "string"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Icd10Code"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "is_deleted": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "default": false,
            "title": "Is Deleted"
          },
          "status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProblemStatus"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "required": [
          "description"
        ],
        "title": "Problem",
        "type": "object"
      },
      "ProblemDraft": {
        "description": "Attribute model for a possible patient problem draft (DX selection).",
        "properties": {
          "description": {
            "title": "Description",
            "type": "string"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/Icd10Code"
            },
            "title": "Icd10 Codes",
            "type": "array"
          }
        },
        "required": [
          "description"
        ],
        "title": "ProblemDraft",
        "type": "object"
      },
      "ProblemNode": {
        "additionalProperties": true,
        "description": "Inline node for a patient problem reference.",
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__ProblemNode__NodeAttrs"
          },
          "type": {
            "const": "problem",
            "default": "problem",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ProblemNode",
        "type": "object"
      },
      "ProblemStatus": {
        "enum": [
          "Active",
          "Controlled",
          "Resolved"
        ],
        "title": "ProblemStatus",
        "type": "string"
      },
      "Procedure": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ProcedureAttrs"
          },
          "type": {
            "const": "procedure",
            "default": "procedure",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "Procedure",
        "type": "object"
      },
      "ProcedureAttrs": {
        "properties": {
          "cpt_code": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CptCode"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          },
          "text": {
            "default": "",
            "title": "Text",
            "type": "string"
          }
        },
        "title": "ProcedureAttrs",
        "type": "object"
      },
      "ProcedureNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ProcedureNodeAttrs"
          },
          "type": {
            "const": "procedure",
            "default": "procedure",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ProcedureNode",
        "type": "object"
      },
      "ProcedureNodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "code": {
            "$ref": "#/components/schemas/CptCode"
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "code"
        ],
        "title": "ProcedureNodeAttrs",
        "type": "object"
      },
      "ProcedureSection": {
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/Procedure"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "procedures",
            "default": "procedures",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ProcedureSection",
        "type": "object"
      },
      "Procedures2Node-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "procedures2",
            "default": "procedures2",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "Procedures2Node",
        "type": "object"
      },
      "Procedures2Node-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "procedures2",
            "default": "procedures2",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "Procedures2Node",
        "type": "object"
      },
      "ProceduresNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ProcedureNode"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "procedures",
            "default": "procedures",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ProceduresNode",
        "type": "object"
      },
      "PsychologicalStatusNode-Input": {
        "additionalProperties": true,
        "description": "Block node for the evaluation of a patient's mental health. Includes observations or\nevaluations related to symptoms of mental health disorders such as anxiety or depression.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "psychologicalStatus",
            "default": "psychologicalStatus",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PsychologicalStatusNode",
        "type": "object"
      },
      "PsychologicalStatusNode-Output": {
        "additionalProperties": true,
        "description": "Block node for the evaluation of a patient's mental health. Includes observations or\nevaluations related to symptoms of mental health disorders such as anxiety or depression.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "psychologicalStatus",
            "default": "psychologicalStatus",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PsychologicalStatusNode",
        "type": "object"
      },
      "PulmonaryOrderAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "order": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PulmonaryOrderSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "PulmonaryOrderAttrs",
        "type": "object"
      },
      "PulmonaryOrderBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/PulmonaryOrderBlockAttrs"
          },
          "type": {
            "const": "pulmonaryOrder",
            "default": "pulmonaryOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "PulmonaryOrderBlock",
        "type": "object"
      },
      "PulmonaryOrderBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "order": {
            "$ref": "#/components/schemas/PulmonaryOrderSummary"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "order"
        ],
        "title": "PulmonaryOrderBlockAttrs",
        "type": "object"
      },
      "PulmonaryOrderNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/PulmonaryOrderAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "pulmonary_order"
          },
          "type": {
            "const": "pulmonaryOrder",
            "default": "pulmonaryOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "PulmonaryOrderNode",
        "type": "object"
      },
      "PulmonaryOrderSummary": {
        "properties": {
          "allergies": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Allergies"
          },
          "clinical_reason": {
            "title": "Clinical Reason",
            "type": "string"
          },
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "created_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "date_for_test": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date For Test"
          },
          "deleted_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "tests": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/PulmonaryOrderTest"
            },
            "title": "Tests",
            "type": "array"
          }
        },
        "required": [
          "id",
          "clinical_reason",
          "confidential"
        ],
        "title": "PulmonaryOrderSummary",
        "type": "object"
      },
      "PulmonaryOrderTest": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "PulmonaryOrderTest",
        "type": "object"
      },
      "ROSAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "ros": {
            "$ref": "#/components/schemas/ROSData"
          }
        },
        "title": "ROSAttrs",
        "type": "object"
      },
      "ROSData": {
        "properties": {
          "breast": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Breast"
          },
          "cvs": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Cvs"
          },
          "diet": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Diet"
          },
          "endoc": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Endoc"
          },
          "exercise": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Exercise"
          },
          "eyes": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Eyes"
          },
          "general": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "General"
          },
          "gi": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gi"
          },
          "gu": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gu"
          },
          "gyne": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Gyne"
          },
          "hemo": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hemo"
          },
          "hent": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Hent"
          },
          "mss": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Mss"
          },
          "ns": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ns"
          },
          "psych": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Psych"
          },
          "resp": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Resp"
          },
          "skin": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Skin"
          }
        },
        "title": "ROSData",
        "type": "object"
      },
      "ROSNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ROSAttrs"
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "ros",
            "default": "ros",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ROSNode",
        "type": "object"
      },
      "ROSNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ROSAttrs"
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "ros",
            "default": "ros",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ROSNode",
        "type": "object"
      },
      "ReconciledMedicationNode": {
        "additionalProperties": true,
        "description": "Inline node for a reconciled/documented medication order\n(MedOrder, DiscontinueMedOrder) reference.",
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__ReconciledMedicationNode__NodeAttrs"
          },
          "type": {
            "const": "reconciledMedication",
            "default": "reconciledMedication",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ReconciledMedicationNode",
        "type": "object"
      },
      "ReconciledMedicationsNode-Input": {
        "additionalProperties": true,
        "description": "Block node for patient's reconciled/documented medications.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "reconciledMedications",
            "default": "reconciledMedications",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ReconciledMedicationsNode",
        "type": "object"
      },
      "ReconciledMedicationsNode-Output": {
        "additionalProperties": true,
        "description": "Block node for patient's reconciled/documented medications.",
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "reconciledMedications",
            "default": "reconciledMedications",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ReconciledMedicationsNode",
        "type": "object"
      },
      "ReferencedDocument": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ReferencedDocumentAttrs"
          },
          "type": {
            "const": "referencedDocument",
            "default": "referencedDocument",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ReferencedDocument",
        "type": "object"
      },
      "ReferencedDocumentAttrs": {
        "properties": {
          "document": {
            "$ref": "#/components/schemas/ReferencedDocumentData"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "document"
        ],
        "title": "ReferencedDocumentAttrs",
        "type": "object"
      },
      "ReferencedDocumentData": {
        "description": "Structured reference to a hippo document (e.g. a lab/imaging report).\n\nMirrors the VN1 reference-bullet payload: ``id`` is the report/document id,\n``lab_result_id`` identifies an individual lab result within a lab report,\n``summary`` is the link text shown in the UI, and ``summary_formatting``\ncarries optional VN1-style decoration offsets (kept for backport parity).",
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "lab_result_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Lab Result Id"
          },
          "summary": {
            "default": "",
            "title": "Summary",
            "type": "string"
          },
          "summary_formatting": {
            "items": {},
            "title": "Summary Formatting",
            "type": "array"
          }
        },
        "required": [
          "id"
        ],
        "title": "ReferencedDocumentData",
        "type": "object"
      },
      "ReferencedDocumentsSection": {
        "properties": {
          "content": {
            "items": {
              "$ref": "#/components/schemas/ReferencedDocument"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "referencedDocuments",
            "default": "referencedDocuments",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ReferencedDocumentsSection",
        "type": "object"
      },
      "ReferencedEntity": {
        "properties": {
          "description": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "",
            "title": "Description"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "string"
              }
            ],
            "title": "Id"
          }
        },
        "required": [
          "id"
        ],
        "title": "ReferencedEntity",
        "type": "object"
      },
      "ReferralAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "referral": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__orders__referral__ReferralSummary"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "ReferralAttrs",
        "type": "object"
      },
      "ReferralBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ReferralBlockAttrs"
          },
          "type": {
            "const": "referral",
            "default": "referral",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ReferralBlock",
        "type": "object"
      },
      "ReferralBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          },
          "referral": {
            "$ref": "#/components/schemas/el8_note_models__note__sections__shared__ReferralSummary"
          }
        },
        "required": [
          "entity_id",
          "referral"
        ],
        "title": "ReferralBlockAttrs",
        "type": "object"
      },
      "ReferralNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/ReferralAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "referral"
          },
          "type": {
            "const": "referral",
            "default": "referral",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "ReferralNode",
        "type": "object"
      },
      "Report": {
        "properties": {
          "abnormal_result_names": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Abnormal Result Names",
            "type": "array"
          },
          "category_names": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Category Names",
            "type": "array"
          },
          "collected_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Collected Date"
          },
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "created_date": {
            "format": "date-time",
            "title": "Created Date",
            "type": "string"
          },
          "custom_title": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Custom Title"
          },
          "display_name": {
            "title": "Display Name",
            "type": "string"
          },
          "document_date": {
            "format": "date-time",
            "title": "Document Date",
            "type": "string"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "last_manual_edit_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Manual Edit Date"
          },
          "report_type": {
            "$ref": "#/components/schemas/ReportType"
          },
          "report_type_name": {
            "title": "Report Type Name",
            "type": "string"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "urgent": {
            "title": "Urgent",
            "type": "boolean"
          },
          "vendor_display_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Display Name"
          },
          "vendor_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vendor Name"
          }
        },
        "required": [
          "id",
          "confidential",
          "created_date",
          "display_name",
          "document_date",
          "report_type",
          "report_type_name",
          "urgent"
        ],
        "title": "Report",
        "type": "object"
      },
      "ReportNode": {
        "additionalProperties": true,
        "description": "Inline node for a Report item link.",
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/el8_note_models__note__content__inline_nodes__ReportNode__NodeAttrs"
          },
          "type": {
            "const": "report",
            "default": "report",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "ReportNode",
        "type": "object"
      },
      "ReportType": {
        "enum": [
          "allergist",
          "audiology",
          "billing",
          "business",
          "cardiac",
          "careplan",
          "forms",
          "consultation",
          "correspondence",
          "cosmetic",
          "dermatology",
          "diabetes",
          "directives",
          "dme",
          "ekg",
          "endocrinology",
          "ent",
          "exams",
          "eyevision",
          "gi",
          "history",
          "home",
          "hospice",
          "hospital",
          "imaging",
          "incoming",
          "injection",
          "insurance",
          "intake",
          "lab",
          "legal",
          "misc",
          "neuro",
          "nursing",
          "obgyn",
          "ot",
          "oldrecord",
          "oncology",
          "ophth",
          "ortho",
          "outgoing",
          "paperrx",
          "pathology",
          "consent",
          "patientform",
          "pediatric",
          "pharmacy",
          "pt",
          "preop",
          "priorauth",
          "procedures",
          "psych",
          "pulmonary",
          "quality",
          "radiology",
          "screening",
          "snf",
          "sleep",
          "surgery",
          "testing",
          "therapy",
          "ultrasound",
          "urgentcare",
          "urology",
          "women"
        ],
        "title": "ReportType",
        "type": "string"
      },
      "SectionsContent": {
        "description": "The sections-based note content: layout description + typed section content.",
        "properties": {
          "content_map": {
            "$ref": "#/components/schemas/ContentMap-Output"
          },
          "layout": {
            "$ref": "#/components/schemas/Layout"
          }
        },
        "required": [
          "layout",
          "content_map"
        ],
        "title": "SectionsContent",
        "type": "object"
      },
      "SleepOrderAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "order": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/SleepOrderSummary"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "SleepOrderAttrs",
        "type": "object"
      },
      "SleepOrderBlock": {
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/SleepOrderBlockAttrs"
          },
          "type": {
            "const": "sleepOrder",
            "default": "sleepOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "required": [
          "attrs"
        ],
        "title": "SleepOrderBlock",
        "type": "object"
      },
      "SleepOrderBlockAttrs": {
        "properties": {
          "entity_id": {
            "title": "Entity Id",
            "type": "integer"
          },
          "order": {
            "$ref": "#/components/schemas/SleepOrderSummary"
          },
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          }
        },
        "required": [
          "entity_id",
          "order"
        ],
        "title": "SleepOrderBlockAttrs",
        "type": "object"
      },
      "SleepOrderNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/SleepOrderAttrs"
          },
          "last_updated": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Last Updated"
          },
          "latest_event": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EventSnapshot"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_type": {
            "$ref": "#/components/schemas/NoteEntityRefType",
            "default": "sleep_order"
          },
          "type": {
            "const": "sleepOrder",
            "default": "sleepOrder",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "SleepOrderNode",
        "type": "object"
      },
      "SleepOrderSummary": {
        "properties": {
          "clinical_reason": {
            "title": "Clinical Reason",
            "type": "string"
          },
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "created_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "date_for_test": {
            "anyOf": [
              {
                "format": "date",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Date For Test"
          },
          "deleted_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "signed_by": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "tests": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/SleepOrderTest"
            },
            "title": "Tests",
            "type": "array"
          }
        },
        "required": [
          "id",
          "clinical_reason",
          "confidential"
        ],
        "title": "SleepOrderSummary",
        "type": "object"
      },
      "SleepOrderTest": {
        "properties": {
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "name": {
            "title": "Name",
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "title": "SleepOrderTest",
        "type": "object"
      },
      "SocialHistoryNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Input"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Input"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "socialHistory",
            "default": "socialHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "SocialHistoryNode",
        "type": "object"
      },
      "SocialHistoryNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/AnyNodeContent"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/BlockNode-Output"
                },
                {
                  "$ref": "#/components/schemas/NoteAssistNode-Output"
                }
              ]
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "socialHistory",
            "default": "socialHistory",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "SocialHistoryNode",
        "type": "object"
      },
      "TextInline": {
        "description": "Plain text run.\n\nThis node has NO ``attrs``: both ``text`` and ``marks`` are top-level keys.\nThis is the one deliberate exception to the type/attrs/content rule\ndocumented at the top of this module \u2014 it mirrors the VN2 TextNode wire\nshape verbatim (and ProseMirror's text node, where ``text`` and ``marks``\nsit beside ``type`` with no ``attrs``), keeping the two schema-compatible.",
        "properties": {
          "marks": {
            "default": [],
            "items": {
              "$ref": "#/components/schemas/TextInlineMark"
            },
            "title": "Marks",
            "type": "array"
          },
          "text": {
            "default": "",
            "title": "Text",
            "type": "string"
          },
          "type": {
            "const": "text",
            "default": "text",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "TextInline",
        "type": "object"
      },
      "TextInlineMark": {
        "description": "A single formatting mark applied to a TextInline run.",
        "properties": {
          "type": {
            "$ref": "#/components/schemas/el8_note_models__note__sections__shared__TextBlockMarkTypes"
          }
        },
        "required": [
          "type"
        ],
        "title": "TextInlineMark",
        "type": "object"
      },
      "TextNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "marks": {
            "anyOf": [
              {
                "items": {
                  "$ref": "#/components/schemas/Mark"
                },
                "type": "array"
              },
              {
                "type": "null"
              }
            ],
            "default": [],
            "title": "Marks"
          },
          "text": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "default": "",
            "title": "Text"
          },
          "type": {
            "const": "text",
            "default": "text",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "TextNode",
        "type": "object"
      },
      "TwoColumnLayoutNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ColumnLayoutNode-Input"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "twoColumnLayout",
            "default": "twoColumnLayout",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "TwoColumnLayoutNode",
        "type": "object"
      },
      "TwoColumnLayoutNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ColumnLayoutNode-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "twoColumnLayout",
            "default": "twoColumnLayout",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "TwoColumnLayoutNode",
        "type": "object"
      },
      "UnorderedListNode-Input": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ListItemNode-Input"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "unorderedList",
            "default": "unorderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "UnorderedListNode",
        "type": "object"
      },
      "UnorderedListNode-Output": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__base_node__Node__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "content": {
            "items": {
              "$ref": "#/components/schemas/ListItemNode-Output"
            },
            "title": "Content",
            "type": "array"
          },
          "type": {
            "const": "unorderedList",
            "default": "unorderedList",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "UnorderedListNode",
        "type": "object"
      },
      "ValidationError": {
        "properties": {
          "ctx": {
            "title": "Context",
            "type": "object"
          },
          "input": {
            "title": "Input"
          },
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "title": "Location",
            "type": "array"
          },
          "msg": {
            "title": "Message",
            "type": "string"
          },
          "type": {
            "title": "Error Type",
            "type": "string"
          }
        },
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError",
        "type": "object"
      },
      "VitalBFM": {
        "properties": {
          "bfm": {
            "default": "",
            "title": "Bfm",
            "type": "string"
          },
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "title": "VitalBFM",
        "type": "object"
      },
      "VitalBMI": {
        "properties": {
          "bmi": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Bmi"
          },
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          }
        },
        "title": "VitalBMI",
        "type": "object"
      },
      "VitalBMINode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalBMINode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalBMI",
            "default": "vitalBMI",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalBMINode",
        "type": "object"
      },
      "VitalBP": {
        "properties": {
          "bp_d": {
            "default": "",
            "title": "Bp D",
            "type": "string"
          },
          "bp_s": {
            "default": "",
            "title": "Bp S",
            "type": "string"
          },
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "title": "VitalBP",
        "type": "object"
      },
      "VitalBPNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalBPNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalBP",
            "default": "vitalBP",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalBPNode",
        "type": "object"
      },
      "VitalBodyFat": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "percent": {
            "default": "",
            "title": "Percent",
            "type": "string"
          }
        },
        "title": "VitalBodyFat",
        "type": "object"
      },
      "VitalDLM": {
        "properties": {
          "dlm": {
            "default": "",
            "title": "Dlm",
            "type": "string"
          },
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "title": "VitalDLM",
        "type": "object"
      },
      "VitalFiO2": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "percent": {
            "default": "",
            "title": "Percent",
            "type": "string"
          }
        },
        "title": "VitalFiO2",
        "type": "object"
      },
      "VitalHC": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "hc": {
            "default": "",
            "title": "Hc",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "title": "VitalHC",
        "type": "object"
      },
      "VitalHR": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "hr": {
            "default": "",
            "title": "Hr",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "title": "VitalHR",
        "type": "object"
      },
      "VitalHRNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalHRNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalHR",
            "default": "vitalHR",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalHRNode",
        "type": "object"
      },
      "VitalHeight": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "height": {
            "default": "",
            "title": "Height",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          }
        },
        "title": "VitalHeight",
        "type": "object"
      },
      "VitalHeightNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalHeightNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalHeight",
            "default": "vitalHeight",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalHeightNode",
        "type": "object"
      },
      "VitalKetone": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "ketone": {
            "default": "",
            "title": "Ketone",
            "type": "string"
          }
        },
        "title": "VitalKetone",
        "type": "object"
      },
      "VitalOxygen": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "percent": {
            "default": "",
            "title": "Percent",
            "type": "string"
          }
        },
        "title": "VitalOxygen",
        "type": "object"
      },
      "VitalOxygenNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalOxygenNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalOxygen",
            "default": "vitalOxygen",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalOxygenNode",
        "type": "object"
      },
      "VitalPain": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "pain": {
            "default": "",
            "title": "Pain",
            "type": "string"
          }
        },
        "title": "VitalPain",
        "type": "object"
      },
      "VitalPainNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalPainNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalPain",
            "default": "vitalPain",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalPainNode",
        "type": "object"
      },
      "VitalRR": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "rr": {
            "default": "",
            "title": "Rr",
            "type": "string"
          }
        },
        "title": "VitalRR",
        "type": "object"
      },
      "VitalRRNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalRRNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalRR",
            "default": "vitalRR",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalRRNode",
        "type": "object"
      },
      "VitalSMM": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "smm": {
            "default": "",
            "title": "Smm",
            "type": "string"
          }
        },
        "title": "VitalSMM",
        "type": "object"
      },
      "VitalTemperature": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "temperature": {
            "default": "",
            "title": "Temperature",
            "type": "string"
          }
        },
        "title": "VitalTemperature",
        "type": "object"
      },
      "VitalTemperatureNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalTemperatureNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalTemperature",
            "default": "vitalTemperature",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalTemperatureNode",
        "type": "object"
      },
      "VitalWC": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "wc": {
            "default": "",
            "title": "Wc",
            "type": "string"
          }
        },
        "title": "VitalWC",
        "type": "object"
      },
      "VitalWeight": {
        "properties": {
          "edited_by_scribe": {
            "default": false,
            "title": "Edited By Scribe",
            "type": "boolean"
          },
          "extra_note": {
            "default": "",
            "title": "Extra Note",
            "type": "string"
          },
          "id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Id"
          },
          "weight": {
            "default": "",
            "title": "Weight",
            "type": "string"
          }
        },
        "title": "VitalWeight",
        "type": "object"
      },
      "VitalWeightNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/el8_note_models__note__content__vitals__deprecated_vitals__VitalWeightNode__NodeAttrs"
              },
              {
                "type": "null"
              }
            ]
          },
          "type": {
            "const": "vitalWeight",
            "default": "vitalWeight",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalWeightNode",
        "type": "object"
      },
      "VitalsAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals": {
            "$ref": "#/components/schemas/el8_note_models__note__content__vitals__Vitals",
            "default": {
              "bfm": [
                {
                  "bfm": "",
                  "edited_by_scribe": false,
                  "extra_note": ""
                }
              ],
              "bmi": [
                {
                  "edited_by_scribe": false
                }
              ],
              "bodyfat": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "percent": ""
                }
              ],
              "bp": [
                {
                  "bp_d": "",
                  "bp_s": "",
                  "edited_by_scribe": false,
                  "extra_note": ""
                }
              ],
              "dlm": [
                {
                  "dlm": "",
                  "edited_by_scribe": false,
                  "extra_note": ""
                }
              ],
              "fio2": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "percent": ""
                }
              ],
              "hc": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "hc": ""
                }
              ],
              "height": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "height": ""
                }
              ],
              "hr": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "hr": ""
                }
              ],
              "ketone": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "ketone": ""
                }
              ],
              "oxygen": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "percent": ""
                }
              ],
              "pain": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "pain": ""
                }
              ],
              "rr": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "rr": ""
                }
              ],
              "smm": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "smm": ""
                }
              ],
              "temperature": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "temperature": ""
                }
              ],
              "wc": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "wc": ""
                }
              ],
              "weight": [
                {
                  "edited_by_scribe": false,
                  "extra_note": "",
                  "weight": ""
                }
              ]
            }
          },
          "vitals_collection_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vitals Collection Id"
          }
        },
        "title": "VitalsAttrs",
        "type": "object"
      },
      "VitalsNode": {
        "additionalProperties": true,
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/VitalsAttrs"
          },
          "type": {
            "const": "vitals",
            "default": "vitals",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalsNode",
        "type": "object"
      },
      "VitalsSection": {
        "description": "Tier-1 vitals section; attrs mirror VN2 ``VitalsNode``.",
        "properties": {
          "attrs": {
            "$ref": "#/components/schemas/VitalsSectionAttrs"
          },
          "type": {
            "const": "vitals",
            "default": "vitals",
            "title": "Type",
            "type": "string"
          }
        },
        "title": "VitalsSection",
        "type": "object"
      },
      "VitalsSectionAttrs": {
        "properties": {
          "ref_id": {
            "title": "Ref Id",
            "type": "string"
          },
          "vitals": {
            "$ref": "#/components/schemas/el8_note_models__note__sections__vitals_section__Vitals"
          },
          "vitals_collection_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Vitals Collection Id"
          }
        },
        "title": "VitalsSectionAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__base_node__Node__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__block_nodes__GenericNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "subtype": {
            "title": "Subtype"
          }
        },
        "required": [
          "subtype"
        ],
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__ClinicalFormCollectionNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ClinicalFormCollection"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__CptCodeNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "cpt_code": {
            "$ref": "#/components/schemas/CptCode"
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "cpt_code"
        ],
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__DxNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "icd10_code": {
            "$ref": "#/components/schemas/Icd10Code"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "icd10_code"
        ],
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__InlineMacroNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "macro": {
            "$ref": "#/components/schemas/Macro"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "macro"
        ],
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__ProblemNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "problem": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Problem"
              },
              {
                "type": "null"
              }
            ]
          },
          "problem_draft": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ProblemDraft"
              },
              {
                "type": "null"
              }
            ]
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__ReconciledMedicationNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_documentation_action": {
            "default": false,
            "title": "Is Documentation Action",
            "type": "boolean"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "order": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PrescriptionData"
              },
              {
                "$ref": "#/components/schemas/PrescriptionDiscontinueData"
              },
              {
                "type": "null"
              }
            ],
            "title": "Order"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__ReportNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "report": {
            "$ref": "#/components/schemas/Report"
          }
        },
        "required": [
          "report"
        ],
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__inline_nodes__TextBlockMarkTypes": {
        "enum": [
          "bold",
          "italic",
          "strike",
          "underline"
        ],
        "title": "TextBlockMarkTypes",
        "type": "string"
      },
      "el8_note_models__note__content__macros__BlockMacroNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "macro": {
            "$ref": "#/components/schemas/Macro"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          }
        },
        "required": [
          "macro"
        ],
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__orders__referral__ReferralSummary": {
        "properties": {
          "attachments": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Attachments",
            "type": "array"
          },
          "authorization_for": {
            "title": "Authorization For",
            "type": "string"
          },
          "clinical_reason": {
            "title": "Clinical Reason",
            "type": "string"
          },
          "confidential": {
            "title": "Confidential",
            "type": "boolean"
          },
          "consultant_name": {
            "title": "Consultant Name",
            "type": "string"
          },
          "created_date": {
            "format": "date-time",
            "title": "Created Date",
            "type": "string"
          },
          "deleted_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "signed_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By Id"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "specialty_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Specialty Name"
          }
        },
        "required": [
          "id",
          "authorization_for",
          "clinical_reason",
          "confidential",
          "consultant_name",
          "created_date"
        ],
        "title": "ReferralSummary",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__Vitals": {
        "properties": {
          "bfm": {
            "default": [
              {
                "bfm": "",
                "edited_by_scribe": false,
                "extra_note": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalBFM"
            },
            "title": "Bfm",
            "type": "array"
          },
          "bmi": {
            "default": [
              {
                "edited_by_scribe": false
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalBMI"
            },
            "title": "Bmi",
            "type": "array"
          },
          "bodyfat": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "percent": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalBodyFat"
            },
            "title": "Bodyfat",
            "type": "array"
          },
          "bp": {
            "default": [
              {
                "bp_d": "",
                "bp_s": "",
                "edited_by_scribe": false,
                "extra_note": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalBP"
            },
            "title": "Bp",
            "type": "array"
          },
          "dlm": {
            "default": [
              {
                "dlm": "",
                "edited_by_scribe": false,
                "extra_note": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalDLM"
            },
            "title": "Dlm",
            "type": "array"
          },
          "fio2": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "percent": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalFiO2"
            },
            "title": "Fio2",
            "type": "array"
          },
          "hc": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "hc": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalHC"
            },
            "title": "Hc",
            "type": "array"
          },
          "height": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "height": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalHeight"
            },
            "title": "Height",
            "type": "array"
          },
          "hr": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "hr": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalHR"
            },
            "title": "Hr",
            "type": "array"
          },
          "ketone": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "ketone": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalKetone"
            },
            "title": "Ketone",
            "type": "array"
          },
          "oxygen": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "percent": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalOxygen"
            },
            "title": "Oxygen",
            "type": "array"
          },
          "pain": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "pain": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalPain"
            },
            "title": "Pain",
            "type": "array"
          },
          "rr": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "rr": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalRR"
            },
            "title": "Rr",
            "type": "array"
          },
          "smm": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "smm": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalSMM"
            },
            "title": "Smm",
            "type": "array"
          },
          "temperature": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "temperature": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalTemperature"
            },
            "title": "Temperature",
            "type": "array"
          },
          "wc": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "wc": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalWC"
            },
            "title": "Wc",
            "type": "array"
          },
          "weight": {
            "default": [
              {
                "edited_by_scribe": false,
                "extra_note": "",
                "weight": ""
              }
            ],
            "items": {
              "$ref": "#/components/schemas/VitalWeight"
            },
            "title": "Weight",
            "type": "array"
          }
        },
        "title": "Vitals",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalBMINode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vnibmi": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalBPNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vnibp": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalHRNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vnihr": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalHeightNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vniheight": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalOxygenNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vnioxygen": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalPainNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vnipain": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalRRNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vnirr": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalTemperatureNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vnitemperature": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__content__vitals__deprecated_vitals__VitalWeightNode__NodeAttrs": {
        "properties": {
          "ai_generation_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AiGenerationInfo"
              },
              {
                "type": "null"
              }
            ]
          },
          "creation_type": {
            "anyOf": [
              {
                "enum": [
                  "ai",
                  "template"
                ],
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Creation Type"
          },
          "is_new": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Is New"
          },
          "ref_id": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Ref Id"
          },
          "vitals_collection": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          },
          "vniweight": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ReferencedEntity"
              },
              {
                "type": "null"
              }
            ]
          }
        },
        "title": "NodeAttrs",
        "type": "object"
      },
      "el8_note_models__note__sections__shared__ReferralSummary": {
        "properties": {
          "authorization_for": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Authorization For"
          },
          "clinical_reason": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Clinical Reason"
          },
          "confidential": {
            "default": false,
            "title": "Confidential",
            "type": "boolean"
          },
          "consultant_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Consultant Name"
          },
          "created_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Created Date"
          },
          "deleted_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Deleted Date"
          },
          "icd10_codes": {
            "default": [],
            "items": {
              "type": "string"
            },
            "title": "Icd10 Codes",
            "type": "array"
          },
          "id": {
            "title": "Id",
            "type": "integer"
          },
          "signed_by_id": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed By Id"
          },
          "signed_date": {
            "anyOf": [
              {
                "format": "date-time",
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Signed Date"
          },
          "specialty_name": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Specialty Name"
          }
        },
        "required": [
          "id"
        ],
        "title": "ReferralSummary",
        "type": "object"
      },
      "el8_note_models__note__sections__shared__TextBlockMarkTypes": {
        "description": "Formatting marks a text run can carry.\n\nSupports ``bold``, ``italic``, ``strike`` (strikethrough), and ``underline``.",
        "enum": [
          "bold",
          "italic",
          "strike",
          "underline"
        ],
        "title": "TextBlockMarkTypes",
        "type": "string"
      },
      "el8_note_models__note__sections__vitals_section__Vitals": {
        "properties": {
          "bfm": {
            "items": {
              "$ref": "#/components/schemas/VitalBFM"
            },
            "title": "Bfm",
            "type": "array"
          },
          "bmi": {
            "items": {
              "$ref": "#/components/schemas/VitalBMI"
            },
            "title": "Bmi",
            "type": "array"
          },
          "bodyfat": {
            "items": {
              "$ref": "#/components/schemas/VitalBodyFat"
            },
            "title": "Bodyfat",
            "type": "array"
          },
          "bp": {
            "items": {
              "$ref": "#/components/schemas/VitalBP"
            },
            "title": "Bp",
            "type": "array"
          },
          "dlm": {
            "items": {
              "$ref": "#/components/schemas/VitalDLM"
            },
            "title": "Dlm",
            "type": "array"
          },
          "fio2": {
            "items": {
              "$ref": "#/components/schemas/VitalFiO2"
            },
            "title": "Fio2",
            "type": "array"
          },
          "hc": {
            "items": {
              "$ref": "#/components/schemas/VitalHC"
            },
            "title": "Hc",
            "type": "array"
          },
          "height": {
            "items": {
              "$ref": "#/components/schemas/VitalHeight"
            },
            "title": "Height",
            "type": "array"
          },
          "hr": {
            "items": {
              "$ref": "#/components/schemas/VitalHR"
            },
            "title": "Hr",
            "type": "array"
          },
          "ketone": {
            "items": {
              "$ref": "#/components/schemas/VitalKetone"
            },
            "title": "Ketone",
            "type": "array"
          },
          "oxygen": {
            "items": {
              "$ref": "#/components/schemas/VitalOxygen"
            },
            "title": "Oxygen",
            "type": "array"
          },
          "pain": {
            "items": {
              "$ref": "#/components/schemas/VitalPain"
            },
            "title": "Pain",
            "type": "array"
          },
          "rr": {
            "items": {
              "$ref": "#/components/schemas/VitalRR"
            },
            "title": "Rr",
            "type": "array"
          },
          "smm": {
            "items": {
              "$ref": "#/components/schemas/VitalSMM"
            },
            "title": "Smm",
            "type": "array"
          },
          "temperature": {
            "items": {
              "$ref": "#/components/schemas/VitalTemperature"
            },
            "title": "Temperature",
            "type": "array"
          },
          "wc": {
            "items": {
              "$ref": "#/components/schemas/VitalWC"
            },
            "title": "Wc",
            "type": "array"
          },
          "weight": {
            "items": {
              "$ref": "#/components/schemas/VitalWeight"
            },
            "title": "Weight",
            "type": "array"
          }
        },
        "title": "Vitals",
        "type": "object"
      }
    },
    "securitySchemes": {
      "RequireAuthentication": {
        "type": "http",
        "scheme": "bearer"
      },
      "RequirePracticeAuthorization": {
        "type": "http",
        "scheme": "bearer"
      },
      "RequirePracticeAuthorizationOrHippoAdmin": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  }
}