{"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","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","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","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","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","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","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","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","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","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","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","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","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"]}},"/v2/notes":{"get":{"description":"Returns a paginated list of note metadata.","operationId":"list_notes_v2","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 V2","tags":["Notes v2"]},"post":{"description":"Create an EN2.1 sections-based Note.","operationId":"create_note_v2","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNoteCreate"}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNote"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Create Note V2","tags":["Notes v2"]}},"/v2/notes/{note_id}":{"delete":{"description":"Delete a specific draft EN2.1 Note.","operationId":"delete_note_by_id_v2","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 V2","tags":["Notes v2"]},"get":{"description":"Get a specific EN2.1 sections-based Note. Returns HTTP 400 if the note\nuses the legacy schema.","operationId":"get_note_by_id_v2","parameters":[{"in":"path","name":"note_id","required":true,"schema":{"title":"Note Id","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNote"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Get Note By Id V2","tags":["Notes v2"]},"patch":{"description":"Update an EN2.1 sections-based Note.","operationId":"update_note_by_id_v2","parameters":[{"in":"path","name":"note_id","required":true,"schema":{"title":"Note Id","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNoteUpdate"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNote"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Update Note By Id V2","tags":["Notes v2"]}},"/v2/notes/{note_id}/amendments":{"post":{"description":"Create an EN2.1 note amendment. If a draft amendment already exists, returns it\n(HTTP 200). The parent note must be a signed sections-based note.","operationId":"create_note_amendment_v2","parameters":[{"in":"path","name":"note_id","required":true,"schema":{"title":"Note Id","type":"integer"}}],"responses":{"201":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNoteAmendment"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Create Note Amendment V2","tags":["Notes v2"]}},"/v2/notes/{note_id}/amendments/{amendment_id}":{"delete":{"description":"Delete a specific draft EN2.1 note amendment.","operationId":"delete_note_amendment_by_id_v2","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":{"204":{"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Delete Note Amendment By Id V2","tags":["Notes v2"]},"get":{"description":"Get a specific EN2.1 note amendment.","operationId":"get_note_amendment_by_id_v2","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":{"$ref":"#/components/schemas/ElationNoteAmendment"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Get Note Amendment By Id V2","tags":["Notes v2"]},"patch":{"description":"Update a draft EN2.1 note amendment.","operationId":"update_note_amendment_by_id_v2","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"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNoteAmendmentUpdate"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNoteAmendment"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Update Note Amendment By Id V2","tags":["Notes v2"]}},"/v2/notes/{note_id}/doctags":{"get":{"description":"List all doctags for an EN2.1 sections-based Note. Returns HTTP 400 if\nthe note uses the legacy schema.","operationId":"list_note_doctags_v2","parameters":[{"in":"path","name":"note_id","required":true,"schema":{"title":"Note Id","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/Doctag"},"title":"Response List Note Doctags V2 V2 Notes Note Id Doctags Get","type":"array"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"List Note Doctags V2","tags":["Notes v2"]},"patch":{"description":"Add a doctag to an EN2.1 sections-based Note. The doctag will be upserted\ninto the database and linked to the note. Returns HTTP 400 if the note\nuses the legacy schema.","operationId":"add_doctag_to_note_v2","parameters":[{"in":"path","name":"note_id","required":true,"schema":{"title":"Note Id","type":"integer"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateDoctagRequest"}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Doctag"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Add Doctag To Note V2","tags":["Notes v2"]}},"/v2/notes/{note_id}/doctags/{doctag_id}":{"delete":{"description":"Remove a doctag from an EN2.1 sections-based Note. Returns HTTP 400 if\nthe note uses the legacy schema.","operationId":"delete_doctag_v2","parameters":[{"in":"path","name":"note_id","required":true,"schema":{"title":"Note Id","type":"integer"}},{"in":"path","name":"doctag_id","required":true,"schema":{"title":"Doctag 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 Doctag V2","tags":["Notes v2"]}},"/v2/notes/{note_id}/edit":{"get":{"description":"Fetch an EN2.1 note for editing. Creates a snapshot and returns ``snapshot_id``\nfor collaborative PATCH updates.","operationId":"get_note_for_edit_v2","parameters":[{"in":"path","name":"note_id","required":true,"schema":{"title":"Note Id","type":"integer"}}],"responses":{"200":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ElationNote"}}},"description":"Successful Response"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}},"description":"Validation Error"}},"security":[{"RequireAuthentication":[]},{"RequirePracticeAuthorization":[]}],"summary":"Get Note For Edit V2","tags":["Notes v2"]}}},"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-Input":{"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-Input"},"title":"Content","type":"array"},"type":{"const":"assessmentPlan2","default":"assessmentPlan2","title":"Type","type":"string"}},"title":"AssessmentPlan2Node","type":"object"},"AssessmentPlan2Node-Output":{"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-Output"},"title":"Content","type":"array"},"type":{"const":"assessmentPlan2","default":"assessmentPlan2","title":"Type","type":"string"}},"title":"AssessmentPlan2Node","type":"object"},"AssessmentPlanItemNode-Input":{"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-Input"},{"$ref":"#/components/schemas/AssessmentPlanListNode-Input"}]},"title":"Content","type":"array"},"type":{"const":"assessmentPlanItem","default":"assessmentPlanItem","title":"Type","type":"string"}},"title":"AssessmentPlanItemNode","type":"object"},"AssessmentPlanItemNode-Output":{"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-Output"},{"$ref":"#/components/schemas/AssessmentPlanListNode-Output"}]},"title":"Content","type":"array"},"type":{"const":"assessmentPlanItem","default":"assessmentPlanItem","title":"Type","type":"string"}},"title":"AssessmentPlanItemNode","type":"object"},"AssessmentPlanItemTitleNode-Input":{"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-Input"},{"$ref":"#/components/schemas/BlockMacroNode-Input"},{"$ref":"#/components/schemas/CardiacOrderNode-Input"},{"$ref":"#/components/schemas/DiscontinuePrescriptionNode-Input"},{"$ref":"#/components/schemas/ImagingOrderNode-Input"},{"$ref":"#/components/schemas/LabOrderNode-Input"},{"$ref":"#/components/schemas/PrescriptionNode-Input"},{"$ref":"#/components/schemas/PulmonaryOrderNode-Input"},{"$ref":"#/components/schemas/ReferralNode-Input"},{"$ref":"#/components/schemas/SleepOrderNode-Input"},{"$ref":"#/components/schemas/CustomBlockNode-Input"}]},"title":"Content","type":"array"},"type":{"const":"assessmentPlanItemTitle","default":"assessmentPlanItemTitle","title":"Type","type":"string"}},"title":"AssessmentPlanItemTitleNode","type":"object"},"AssessmentPlanItemTitleNode-Output":{"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-Output"},{"$ref":"#/components/schemas/BlockMacroNode-Output"},{"$ref":"#/components/schemas/CardiacOrderNode-Output"},{"$ref":"#/components/schemas/DiscontinuePrescriptionNode-Output"},{"$ref":"#/components/schemas/ImagingOrderNode-Output"},{"$ref":"#/components/schemas/LabOrderNode-Output"},{"$ref":"#/components/schemas/PrescriptionNode-Output"},{"$ref":"#/components/schemas/PulmonaryOrderNode-Output"},{"$ref":"#/components/schemas/ReferralNode-Output"},{"$ref":"#/components/schemas/SleepOrderNode-Output"},{"$ref":"#/components/schemas/CustomBlockNode-Output"}]},"title":"Content","type":"array"},"type":{"const":"assessmentPlanItemTitle","default":"assessmentPlanItemTitle","title":"Type","type":"string"}},"title":"AssessmentPlanItemTitleNode","type":"object"},"AssessmentPlanListItemNode-Input":{"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-Input"},"title":"Content","type":"array"},"type":{"const":"assessmentPlanListItem","default":"assessmentPlanListItem","title":"Type","type":"string"}},"title":"AssessmentPlanListItemNode","type":"object"},"AssessmentPlanListItemNode-Output":{"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-Output"},"title":"Content","type":"array"},"type":{"const":"assessmentPlanListItem","default":"assessmentPlanListItem","title":"Type","type":"string"}},"title":"AssessmentPlanListItemNode","type":"object"},"AssessmentPlanListNode-Input":{"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-Input"},"title":"Content","type":"array"},"type":{"const":"assessmentPlanList","default":"assessmentPlanList","title":"Type","type":"string"}},"title":"AssessmentPlanListNode","type":"object"},"AssessmentPlanListNode-Output":{"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-Output"},"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-Input":{"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"},"BlockMacroNode-Output":{"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-Input","blockMacro":"#/components/schemas/BlockMacroNode-Input","cardiacOrder":"#/components/schemas/CardiacOrderNode-Input","carePlan":"#/components/schemas/CarePlanNode-Input","cognitiveStatus":"#/components/schemas/CognitiveStatusNode-Input","columnLayout":"#/components/schemas/ColumnLayoutNode-Input","customBlock":"#/components/schemas/CustomBlockNode-Input","customBlockReference":"#/components/schemas/CustomBlockReference-Input","data":"#/components/schemas/DataNode-Input","dietHistory":"#/components/schemas/DietHistoryNode-Input","discontinuePrescription":"#/components/schemas/DiscontinuePrescriptionNode-Input","dynamicForm":"#/components/schemas/DynamicFormNode-Input","examReason":"#/components/schemas/ExamReasonNode-Input","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-Input","hpi":"#/components/schemas/HPINode-Input","imagingOrder":"#/components/schemas/ImagingOrderNode-Input","labOrder":"#/components/schemas/LabOrderNode-Input","orderedList":"#/components/schemas/OrderedListNode-Input","paragraph":"#/components/schemas/ParagraphNode-Input","pastMedicalHistory":"#/components/schemas/PastMedicalHistoryNode-Input","pastSurgicalHistory":"#/components/schemas/PastSurgicalHistoryNode-Input","patientInstructions":"#/components/schemas/PatientInstructionsNode-Input","physicalExam":"#/components/schemas/PhysicalExamNode-Input","prescription":"#/components/schemas/PrescriptionNode-Input","procedure":"#/components/schemas/ProcedureNode-Input","procedures":"#/components/schemas/ProceduresNode-Input","procedures2":"#/components/schemas/Procedures2Node-Input","psychologicalStatus":"#/components/schemas/PsychologicalStatusNode-Input","pulmonaryOrder":"#/components/schemas/PulmonaryOrderNode-Input","reconciledMedications":"#/components/schemas/ReconciledMedicationsNode-Input","referral":"#/components/schemas/ReferralNode-Input","ros":"#/components/schemas/ROSNode-Input","sleepOrder":"#/components/schemas/SleepOrderNode-Input","socialHistory":"#/components/schemas/SocialHistoryNode-Input","twoColumnLayout":"#/components/schemas/TwoColumnLayoutNode-Input","unorderedList":"#/components/schemas/UnorderedListNode-Input","vitalBMI":"#/components/schemas/VitalBMINode-Input","vitalBP":"#/components/schemas/VitalBPNode-Input","vitalHR":"#/components/schemas/VitalHRNode-Input","vitalHeight":"#/components/schemas/VitalHeightNode-Input","vitalOxygen":"#/components/schemas/VitalOxygenNode-Input","vitalPain":"#/components/schemas/VitalPainNode-Input","vitalRR":"#/components/schemas/VitalRRNode-Input","vitalTemperature":"#/components/schemas/VitalTemperatureNode-Input","vitalWeight":"#/components/schemas/VitalWeightNode-Input","vitals":"#/components/schemas/VitalsNode-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/AllergiesNode-Input"},{"$ref":"#/components/schemas/AssessmentPlanNode-Input"},{"$ref":"#/components/schemas/AssessmentPlan2Node-Input"},{"$ref":"#/components/schemas/BlockMacroNode-Input"},{"$ref":"#/components/schemas/CardiacOrderNode-Input"},{"$ref":"#/components/schemas/CarePlanNode-Input"},{"$ref":"#/components/schemas/CognitiveStatusNode-Input"},{"$ref":"#/components/schemas/ColumnLayoutNode-Input"},{"$ref":"#/components/schemas/CustomBlockNode-Input"},{"$ref":"#/components/schemas/CustomBlockReference-Input"},{"$ref":"#/components/schemas/DataNode-Input"},{"$ref":"#/components/schemas/DietHistoryNode-Input"},{"$ref":"#/components/schemas/DiscontinuePrescriptionNode-Input"},{"$ref":"#/components/schemas/DynamicFormNode-Input"},{"$ref":"#/components/schemas/ExamReasonNode-Input"},{"$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-Input"},{"$ref":"#/components/schemas/HPINode-Input"},{"$ref":"#/components/schemas/ImagingOrderNode-Input"},{"$ref":"#/components/schemas/LabOrderNode-Input"},{"$ref":"#/components/schemas/OrderedListNode-Input"},{"$ref":"#/components/schemas/ParagraphNode-Input"},{"$ref":"#/components/schemas/PastMedicalHistoryNode-Input"},{"$ref":"#/components/schemas/PastSurgicalHistoryNode-Input"},{"$ref":"#/components/schemas/PatientInstructionsNode-Input"},{"$ref":"#/components/schemas/PhysicalExamNode-Input"},{"$ref":"#/components/schemas/PrescriptionNode-Input"},{"$ref":"#/components/schemas/ProcedureNode-Input"},{"$ref":"#/components/schemas/ProceduresNode-Input"},{"$ref":"#/components/schemas/Procedures2Node-Input"},{"$ref":"#/components/schemas/PsychologicalStatusNode-Input"},{"$ref":"#/components/schemas/PulmonaryOrderNode-Input"},{"$ref":"#/components/schemas/ReconciledMedicationsNode-Input"},{"$ref":"#/components/schemas/ReferralNode-Input"},{"$ref":"#/components/schemas/ROSNode-Input"},{"$ref":"#/components/schemas/SleepOrderNode-Input"},{"$ref":"#/components/schemas/SocialHistoryNode-Input"},{"$ref":"#/components/schemas/TwoColumnLayoutNode-Input"},{"$ref":"#/components/schemas/UnorderedListNode-Input"},{"$ref":"#/components/schemas/VitalBMINode-Input"},{"$ref":"#/components/schemas/VitalBPNode-Input"},{"$ref":"#/components/schemas/VitalHeightNode-Input"},{"$ref":"#/components/schemas/VitalHRNode-Input"},{"$ref":"#/components/schemas/VitalOxygenNode-Input"},{"$ref":"#/components/schemas/VitalPainNode-Input"},{"$ref":"#/components/schemas/VitalRRNode-Input"},{"$ref":"#/components/schemas/VitalTemperatureNode-Input"},{"$ref":"#/components/schemas/VitalWeightNode-Input"},{"$ref":"#/components/schemas/VitalsNode-Input"}]},"BlockNode-Output":{"discriminator":{"mapping":{"allergies":"#/components/schemas/AllergiesNode-Output","assessmentPlan":"#/components/schemas/AssessmentPlanNode-Output","assessmentPlan2":"#/components/schemas/AssessmentPlan2Node-Output","blockMacro":"#/components/schemas/BlockMacroNode-Output","cardiacOrder":"#/components/schemas/CardiacOrderNode-Output","carePlan":"#/components/schemas/CarePlanNode-Output","cognitiveStatus":"#/components/schemas/CognitiveStatusNode-Output","columnLayout":"#/components/schemas/ColumnLayoutNode-Output","customBlock":"#/components/schemas/CustomBlockNode-Output","customBlockReference":"#/components/schemas/CustomBlockReference-Output","data":"#/components/schemas/DataNode-Output","dietHistory":"#/components/schemas/DietHistoryNode-Output","discontinuePrescription":"#/components/schemas/DiscontinuePrescriptionNode-Output","dynamicForm":"#/components/schemas/DynamicFormNode-Output","examReason":"#/components/schemas/ExamReasonNode-Output","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-Output","hpi":"#/components/schemas/HPINode-Output","imagingOrder":"#/components/schemas/ImagingOrderNode-Output","labOrder":"#/components/schemas/LabOrderNode-Output","orderedList":"#/components/schemas/OrderedListNode-Output","paragraph":"#/components/schemas/ParagraphNode-Output","pastMedicalHistory":"#/components/schemas/PastMedicalHistoryNode-Output","pastSurgicalHistory":"#/components/schemas/PastSurgicalHistoryNode-Output","patientInstructions":"#/components/schemas/PatientInstructionsNode-Output","physicalExam":"#/components/schemas/PhysicalExamNode-Output","prescription":"#/components/schemas/PrescriptionNode-Output","procedure":"#/components/schemas/ProcedureNode-Output","procedures":"#/components/schemas/ProceduresNode-Output","procedures2":"#/components/schemas/Procedures2Node-Output","psychologicalStatus":"#/components/schemas/PsychologicalStatusNode-Output","pulmonaryOrder":"#/components/schemas/PulmonaryOrderNode-Output","reconciledMedications":"#/components/schemas/ReconciledMedicationsNode-Output","referral":"#/components/schemas/ReferralNode-Output","ros":"#/components/schemas/ROSNode-Output","sleepOrder":"#/components/schemas/SleepOrderNode-Output","socialHistory":"#/components/schemas/SocialHistoryNode-Output","twoColumnLayout":"#/components/schemas/TwoColumnLayoutNode-Output","unorderedList":"#/components/schemas/UnorderedListNode-Output","vitalBMI":"#/components/schemas/VitalBMINode-Output","vitalBP":"#/components/schemas/VitalBPNode-Output","vitalHR":"#/components/schemas/VitalHRNode-Output","vitalHeight":"#/components/schemas/VitalHeightNode-Output","vitalOxygen":"#/components/schemas/VitalOxygenNode-Output","vitalPain":"#/components/schemas/VitalPainNode-Output","vitalRR":"#/components/schemas/VitalRRNode-Output","vitalTemperature":"#/components/schemas/VitalTemperatureNode-Output","vitalWeight":"#/components/schemas/VitalWeightNode-Output","vitals":"#/components/schemas/VitalsNode-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/AllergiesNode-Output"},{"$ref":"#/components/schemas/AssessmentPlanNode-Output"},{"$ref":"#/components/schemas/AssessmentPlan2Node-Output"},{"$ref":"#/components/schemas/BlockMacroNode-Output"},{"$ref":"#/components/schemas/CardiacOrderNode-Output"},{"$ref":"#/components/schemas/CarePlanNode-Output"},{"$ref":"#/components/schemas/CognitiveStatusNode-Output"},{"$ref":"#/components/schemas/ColumnLayoutNode-Output"},{"$ref":"#/components/schemas/CustomBlockNode-Output"},{"$ref":"#/components/schemas/CustomBlockReference-Output"},{"$ref":"#/components/schemas/DataNode-Output"},{"$ref":"#/components/schemas/DietHistoryNode-Output"},{"$ref":"#/components/schemas/DiscontinuePrescriptionNode-Output"},{"$ref":"#/components/schemas/DynamicFormNode-Output"},{"$ref":"#/components/schemas/ExamReasonNode-Output"},{"$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-Output"},{"$ref":"#/components/schemas/HPINode-Output"},{"$ref":"#/components/schemas/ImagingOrderNode-Output"},{"$ref":"#/components/schemas/LabOrderNode-Output"},{"$ref":"#/components/schemas/OrderedListNode-Output"},{"$ref":"#/components/schemas/ParagraphNode-Output"},{"$ref":"#/components/schemas/PastMedicalHistoryNode-Output"},{"$ref":"#/components/schemas/PastSurgicalHistoryNode-Output"},{"$ref":"#/components/schemas/PatientInstructionsNode-Output"},{"$ref":"#/components/schemas/PhysicalExamNode-Output"},{"$ref":"#/components/schemas/PrescriptionNode-Output"},{"$ref":"#/components/schemas/ProcedureNode-Output"},{"$ref":"#/components/schemas/ProceduresNode-Output"},{"$ref":"#/components/schemas/Procedures2Node-Output"},{"$ref":"#/components/schemas/PsychologicalStatusNode-Output"},{"$ref":"#/components/schemas/PulmonaryOrderNode-Output"},{"$ref":"#/components/schemas/ReconciledMedicationsNode-Output"},{"$ref":"#/components/schemas/ReferralNode-Output"},{"$ref":"#/components/schemas/ROSNode-Output"},{"$ref":"#/components/schemas/SleepOrderNode-Output"},{"$ref":"#/components/schemas/SocialHistoryNode-Output"},{"$ref":"#/components/schemas/TwoColumnLayoutNode-Output"},{"$ref":"#/components/schemas/UnorderedListNode-Output"},{"$ref":"#/components/schemas/VitalBMINode-Output"},{"$ref":"#/components/schemas/VitalBPNode-Output"},{"$ref":"#/components/schemas/VitalHeightNode-Output"},{"$ref":"#/components/schemas/VitalHRNode-Output"},{"$ref":"#/components/schemas/VitalOxygenNode-Output"},{"$ref":"#/components/schemas/VitalPainNode-Output"},{"$ref":"#/components/schemas/VitalRRNode-Output"},{"$ref":"#/components/schemas/VitalTemperatureNode-Output"},{"$ref":"#/components/schemas/VitalWeightNode-Output"},{"$ref":"#/components/schemas/VitalsNode-Output"}]},"CODE_TYPE":{"enum":["CPT","SNOMED","HL7","ICD9","LOINC","CVX","RXNORM","ICD10","CPTII","HCPCS","EL8"],"title":"CODE_TYPE","type":"string"},"CardiacOrderAttrs-Input":{"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"},"CardiacOrderAttrs-Output":{"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/CardiacOrderBlockAttrs-Input"},"type":{"const":"cardiacOrder","default":"cardiacOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"CardiacOrderBlock","type":"object"},"CardiacOrderBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/CardiacOrderBlockAttrs-Output"},"type":{"const":"cardiacOrder","default":"cardiacOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"CardiacOrderBlock","type":"object"},"CardiacOrderBlockAttrs-Input":{"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"},"CardiacOrderBlockAttrs-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/CardiacOrderAttrs-Input"},"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"},"CardiacOrderNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/CardiacOrderAttrs-Output"},"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-Input":{"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"},"ClinicalFormCollectionNode-Output":{"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-Input":{"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-Input"},{"type":"null"}]},"instructions":{"anyOf":[{"$ref":"#/components/schemas/InstructionsSection-Input"},{"type":"null"}]},"narrative":{"anyOf":[{"$ref":"#/components/schemas/NarrativeSection-Input"},{"type":"null"}]},"orders":{"anyOf":[{"$ref":"#/components/schemas/OrdersSection-Input"},{"type":"null"}]},"procedures":{"anyOf":[{"$ref":"#/components/schemas/ProcedureSection-Input"},{"type":"null"}]},"referencedDocuments":{"anyOf":[{"$ref":"#/components/schemas/ReferencedDocumentsSection-Input"},{"type":"null"}]},"vitals":{"anyOf":[{"$ref":"#/components/schemas/VitalsSection-Input"},{"type":"null"}]}},"title":"ContentMap","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-Output"},{"type":"null"}]},"procedures":{"anyOf":[{"$ref":"#/components/schemas/ProcedureSection-Output"},{"type":"null"}]},"referencedDocuments":{"anyOf":[{"$ref":"#/components/schemas/ReferencedDocumentsSection-Output"},{"type":"null"}]},"vitals":{"anyOf":[{"$ref":"#/components/schemas/VitalsSection-Output"},{"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-Input":{"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"},"CptCodeNode-Output":{"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"},"CreateDoctagRequest":{"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":{"default":false,"title":"Is Cpc Plus","type":"boolean"},"is_mips":{"default":false,"title":"Is Mips","type":"boolean"},"shared":{"anyOf":[{"type":"boolean"},{"type":"null"}],"default":false,"title":"Shared"},"snomed_result_code":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Snomed Result Code"},"value":{"title":"Value","type":"string"}},"required":["id","value"],"title":"CreateDoctagRequest","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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/CustomBlockAttrs"},"content":{"items":{"$ref":"#/components/schemas/DynamicFormNode-Input"},"title":"Content","type":"array"},"type":{"const":"customBlock","default":"customBlock","title":"Type","type":"string"}},"required":["attrs"],"title":"CustomBlockNode","type":"object"},"CustomBlockNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/CustomBlockAttrs"},"content":{"items":{"$ref":"#/components/schemas/DynamicFormNode-Output"},"title":"Content","type":"array"},"type":{"const":"customBlock","default":"customBlock","title":"Type","type":"string"}},"required":["attrs"],"title":"CustomBlockNode","type":"object"},"CustomBlockReference-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/Attrs"},"content":{"items":{"$ref":"#/components/schemas/DynamicFormNode-Input"},"title":"Content","type":"array"},"type":{"const":"customBlockReference","default":"customBlockReference","title":"Type","type":"string"}},"required":["attrs"],"title":"CustomBlockReference","type":"object"},"CustomBlockReference-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/Attrs"},"content":{"items":{"$ref":"#/components/schemas/DynamicFormNode-Output"},"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-Output"},"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-Input":{"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"},"DiscontinuePrescriptionAttrs-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/DiscontinuePrescriptionAttrs-Input"},"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"},"DiscontinuePrescriptionNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/DiscontinuePrescriptionAttrs-Output"},"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-Input":{"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"},"DxNode-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/DynamicFormAttrs"},"type":{"const":"dynamicForm","default":"dynamicForm","title":"Type","type":"string"}},"required":["attrs"],"title":"DynamicFormNode","type":"object"},"DynamicFormNode-Output":{"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 — 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":{"default":false,"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","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"},"ElationNoteAmendmentUpdate":{"description":"Request body for updating a sections-based note amendment.\n\nAll fields optional. `content_map` replaces the full stored content_map.\nAmendment updates do not support `confidential` (parity with `NoteAmendmentUpdate`).\n\nField order: content-update fields (`content_map`, `snapshot_id`) first, then\nmutable fields in the same order as ``ElationNoteCreate`` (``provider`` through\n``metadata``; create-only ``layout_name``, ``practice``, ``patient`` omitted).","properties":{"bill":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The ID of the bill associated with the note.","title":"Bill"},"category":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Practice-created identifier for note category (Visit Note Type).","title":"Category"},"content_map":{"anyOf":[{"$ref":"#/components/schemas/ContentMap-Input"},{"type":"null"}]},"exam_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Reason"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"provider":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The ID of the assigned provider.","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":"ElationNoteAmendmentUpdate","type":"object"},"ElationNoteCreate":{"description":"Request body for creating a sections-based note.\n\nThe layout is selected by `layout_name` (e.g. \"simple_note\").\nNo `content` field — the initial content_map is always empty on creation.","properties":{"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":{"default":false,"title":"Confidential","type":"boolean"},"exam_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Reason"},"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":{"anyOf":[{"format":"date-time","type":"string"},{"type":"null"}],"title":"Serviced At"}},"required":["provider","category","layout_name","practice","patient"],"title":"ElationNoteCreate","type":"object"},"ElationNoteUpdate":{"description":"Request body for updating a sections-based note.\n\nWhen ``content_map`` is sent on a base note update, ``snapshot_id`` is required\n(from create or GET /notes/{id}/edit) for collaborative conflict detection.\n\nField order: content-update fields (`content_map`, `snapshot_id`) first, then\nmutable fields in the same order as ``ElationNoteCreate`` (``provider`` through\n``metadata``; create-only ``layout_name``, ``practice``, ``patient`` omitted),\nthen ``confidential``.","properties":{"bill":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The ID of the bill associated with the note.","title":"Bill"},"category":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"Practice-created identifier for note category (Visit Note Type).","title":"Category"},"confidential":{"anyOf":[{"type":"boolean"},{"type":"null"}],"title":"Confidential"},"content_map":{"anyOf":[{"$ref":"#/components/schemas/ContentMap-Input"},{"type":"null"}]},"exam_reason":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Exam Reason"},"metadata":{"anyOf":[{"additionalProperties":true,"type":"object"},{"type":"null"}],"title":"Metadata"},"provider":{"anyOf":[{"type":"integer"},{"type":"null"}],"description":"The ID of the assigned provider.","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":"ElationNoteUpdate","type":"object"},"EventSnapshot":{"properties":{"event":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Event"},"headers":{"title":"Headers"}},"required":["headers"],"title":"EventSnapshot","type":"object"},"ExamReasonNode-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/ParagraphNode-Input"},"title":"Content","type":"array"},"type":{"const":"examReason","default":"examReason","title":"Type","type":"string"}},"title":"ExamReasonNode","type":"object"},"ExamReasonNode-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/ParagraphNode-Output"},"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-Input":{"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-Input","followUpParagraph":"#/components/schemas/FollowupParagraph-Input","followUpUnorderedList":"#/components/schemas/FollowupUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/FollowupParagraph-Input"},{"$ref":"#/components/schemas/FollowupUnorderedList-Input"},{"$ref":"#/components/schemas/FollowupOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"followUpListItem","default":"followUpListItem","title":"Type","type":"string"}},"title":"FollowupListItem","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-Output","followUpUnorderedList":"#/components/schemas/FollowupUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/FollowupParagraph-Output"},{"$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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/FollowupListItem-Input"},"title":"Content","type":"array"},"type":{"const":"followUpOrderedList","default":"followUpOrderedList","title":"Type","type":"string"}},"title":"FollowupOrderedList","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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/FollowupParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Input"},{"$ref":"#/components/schemas/LineBreakInline"}]},"title":"Content","type":"array"},"type":{"const":"followUpParagraph","default":"followUpParagraph","title":"Type","type":"string"}},"title":"FollowupParagraph","type":"object"},"FollowupParagraph-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/FollowupParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Output"},{"$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-Input":{"properties":{"content":{"items":{"discriminator":{"mapping":{"followUpOrderedList":"#/components/schemas/FollowupOrderedList-Input","followUpParagraph":"#/components/schemas/FollowupParagraph-Input","followUpUnorderedList":"#/components/schemas/FollowupUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/FollowupParagraph-Input"},{"$ref":"#/components/schemas/FollowupUnorderedList-Input"},{"$ref":"#/components/schemas/FollowupOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"followUp","default":"followUp","title":"Type","type":"string"}},"title":"FollowupSection","type":"object"},"FollowupSection-Output":{"properties":{"content":{"items":{"discriminator":{"mapping":{"followUpOrderedList":"#/components/schemas/FollowupOrderedList-Output","followUpParagraph":"#/components/schemas/FollowupParagraph-Output","followUpUnorderedList":"#/components/schemas/FollowupUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/FollowupParagraph-Output"},{"$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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/FollowupListItem-Input"},"title":"Content","type":"array"},"type":{"const":"followUpUnorderedList","default":"followUpUnorderedList","title":"Type","type":"string"}},"title":"FollowupUnorderedList","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-Input"}]},"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-Output"}]},"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/HandoutBlockAttrs-Input"},"type":{"const":"handout","default":"handout","title":"Type","type":"string"}},"required":["attrs"],"title":"HandoutBlock","type":"object"},"HandoutBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/HandoutBlockAttrs-Output"},"type":{"const":"handout","default":"handout","title":"Type","type":"string"}},"required":["attrs"],"title":"HandoutBlock","type":"object"},"HandoutBlockAttrs-Input":{"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"},"HandoutBlockAttrs-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/HeadingBlockAttrs"},"content":{"items":{"$ref":"#/components/schemas/InlineNode-Input"},"title":"Content","type":"array"},"type":{"const":"heading","default":"heading","title":"Type","type":"string"}},"required":["attrs"],"title":"HeadingNode","type":"object"},"HeadingNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/HeadingBlockAttrs"},"content":{"items":{"$ref":"#/components/schemas/InlineNode-Output"},"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-Input":{"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"},"ImagingOrderAttrs-Output":{"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/ImagingOrderBlockAttrs-Input"},"type":{"const":"imagingOrder","default":"imagingOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"ImagingOrderBlock","type":"object"},"ImagingOrderBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/ImagingOrderBlockAttrs-Output"},"type":{"const":"imagingOrder","default":"imagingOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"ImagingOrderBlock","type":"object"},"ImagingOrderBlockAttrs-Input":{"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"},"ImagingOrderBlockAttrs-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/ImagingOrderAttrs-Input"},"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"},"ImagingOrderNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/ImagingOrderAttrs-Output"},"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/InjectionBlockAttrs-Input"},"type":{"const":"injection","default":"injection","title":"Type","type":"string"}},"required":["attrs"],"title":"InjectionBlock","type":"object"},"InjectionBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/InjectionBlockAttrs-Output"},"type":{"const":"injection","default":"injection","title":"Type","type":"string"}},"required":["attrs"],"title":"InjectionBlock","type":"object"},"InjectionBlockAttrs-Input":{"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"},"InjectionBlockAttrs-Output":{"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-Input":{"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"},"InlineMacroNode-Output":{"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-Input":{"discriminator":{"mapping":{"clinicalFormCollection":"#/components/schemas/ClinicalFormCollectionNode-Input","cptCode":"#/components/schemas/CptCodeNode-Input","dxCode":"#/components/schemas/DxNode-Input","inlineMacro":"#/components/schemas/InlineMacroNode-Input","lineBreak":"#/components/schemas/LineBreakNode-Input","problem":"#/components/schemas/ProblemNode-Input","reconciledMedication":"#/components/schemas/ReconciledMedicationNode-Input","report":"#/components/schemas/ReportNode-Input","text":"#/components/schemas/TextNode-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextNode-Input"},{"$ref":"#/components/schemas/LineBreakNode-Input"},{"$ref":"#/components/schemas/CptCodeNode-Input"},{"$ref":"#/components/schemas/DxNode-Input"},{"$ref":"#/components/schemas/ProblemNode-Input"},{"$ref":"#/components/schemas/ReconciledMedicationNode-Input"},{"$ref":"#/components/schemas/ReportNode-Input"},{"$ref":"#/components/schemas/ClinicalFormCollectionNode-Input"},{"$ref":"#/components/schemas/InlineMacroNode-Input"}]},"InlineNode-Output":{"discriminator":{"mapping":{"clinicalFormCollection":"#/components/schemas/ClinicalFormCollectionNode-Output","cptCode":"#/components/schemas/CptCodeNode-Output","dxCode":"#/components/schemas/DxNode-Output","inlineMacro":"#/components/schemas/InlineMacroNode-Output","lineBreak":"#/components/schemas/LineBreakNode-Output","problem":"#/components/schemas/ProblemNode-Output","reconciledMedication":"#/components/schemas/ReconciledMedicationNode-Output","report":"#/components/schemas/ReportNode-Output","text":"#/components/schemas/TextNode-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextNode-Output"},{"$ref":"#/components/schemas/LineBreakNode-Output"},{"$ref":"#/components/schemas/CptCodeNode-Output"},{"$ref":"#/components/schemas/DxNode-Output"},{"$ref":"#/components/schemas/ProblemNode-Output"},{"$ref":"#/components/schemas/ReconciledMedicationNode-Output"},{"$ref":"#/components/schemas/ReportNode-Output"},{"$ref":"#/components/schemas/ClinicalFormCollectionNode-Output"},{"$ref":"#/components/schemas/InlineMacroNode-Output"}]},"InstructionParagraphAttrs":{"properties":{"ref_id":{"title":"Ref Id","type":"string"}},"title":"InstructionParagraphAttrs","type":"object"},"InstructionsListItem-Input":{"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-Input","instructionsParagraph":"#/components/schemas/InstructionsParagraph-Input","instructionsUnorderedList":"#/components/schemas/InstructionsUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/InstructionsParagraph-Input"},{"$ref":"#/components/schemas/InstructionsUnorderedList-Input"},{"$ref":"#/components/schemas/InstructionsOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"instructionsListItem","default":"instructionsListItem","title":"Type","type":"string"}},"title":"InstructionsListItem","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-Output","instructionsUnorderedList":"#/components/schemas/InstructionsUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/InstructionsParagraph-Output"},{"$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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/InstructionsListItem-Input"},"title":"Content","type":"array"},"type":{"const":"instructionsOrderedList","default":"instructionsOrderedList","title":"Type","type":"string"}},"title":"InstructionsOrderedList","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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/InstructionParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Input"},{"$ref":"#/components/schemas/LineBreakInline"}]},"title":"Content","type":"array"},"type":{"const":"instructionsParagraph","default":"instructionsParagraph","title":"Type","type":"string"}},"title":"InstructionsParagraph","type":"object"},"InstructionsParagraph-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/InstructionParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Output"},{"$ref":"#/components/schemas/LineBreakInline"}]},"title":"Content","type":"array"},"type":{"const":"instructionsParagraph","default":"instructionsParagraph","title":"Type","type":"string"}},"title":"InstructionsParagraph","type":"object"},"InstructionsSection-Input":{"properties":{"content":{"items":{"discriminator":{"mapping":{"instructionsOrderedList":"#/components/schemas/InstructionsOrderedList-Input","instructionsParagraph":"#/components/schemas/InstructionsParagraph-Input","instructionsUnorderedList":"#/components/schemas/InstructionsUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/InstructionsParagraph-Input"},{"$ref":"#/components/schemas/InstructionsUnorderedList-Input"},{"$ref":"#/components/schemas/InstructionsOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"instructions","default":"instructions","title":"Type","type":"string"}},"title":"InstructionsSection","type":"object"},"InstructionsSection-Output":{"properties":{"content":{"items":{"discriminator":{"mapping":{"instructionsOrderedList":"#/components/schemas/InstructionsOrderedList-Output","instructionsParagraph":"#/components/schemas/InstructionsParagraph-Output","instructionsUnorderedList":"#/components/schemas/InstructionsUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/InstructionsParagraph-Output"},{"$ref":"#/components/schemas/InstructionsUnorderedList-Output"},{"$ref":"#/components/schemas/InstructionsOrderedList-Output"}]},"title":"Content","type":"array"},"type":{"const":"instructions","default":"instructions","title":"Type","type":"string"}},"title":"InstructionsSection","type":"object"},"InstructionsUnorderedList-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/InstructionsListItem-Input"},"title":"Content","type":"array"},"type":{"const":"instructionsUnorderedList","default":"instructionsUnorderedList","title":"Type","type":"string"}},"title":"InstructionsUnorderedList","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-Input":{"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"},"LabOrderAttrs-Output":{"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/LabOrderBlockAttrs-Input"},"type":{"const":"labOrder","default":"labOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"LabOrderBlock","type":"object"},"LabOrderBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/LabOrderBlockAttrs-Output"},"type":{"const":"labOrder","default":"labOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"LabOrderBlock","type":"object"},"LabOrderBlockAttrs-Input":{"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"},"LabOrderBlockAttrs-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/LabOrderAttrs-Input"},"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"},"LabOrderNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/LabOrderAttrs-Output"},"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-Input":{"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"},"LineBreakNode-Output":{"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-Input":{"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-Input","narrativeParagraph":"#/components/schemas/NarrativeParagraph-Input","narrativeUnorderedList":"#/components/schemas/NarrativeUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/NarrativeParagraph-Input"},{"$ref":"#/components/schemas/NarrativeUnorderedList-Input"},{"$ref":"#/components/schemas/NarrativeOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"narrativeListItem","default":"narrativeListItem","title":"Type","type":"string"}},"title":"NarrativeListItem","type":"object"},"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-Output","narrativeUnorderedList":"#/components/schemas/NarrativeUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/NarrativeParagraph-Output"},{"$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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/NarrativeListItem-Input"},"title":"Content","type":"array"},"type":{"const":"narrativeOrderedList","default":"narrativeOrderedList","title":"Type","type":"string"}},"title":"NarrativeOrderedList","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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/NarrativeParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Input"},{"$ref":"#/components/schemas/LineBreakInline"}]},"title":"Content","type":"array"},"type":{"const":"narrativeParagraph","default":"narrativeParagraph","title":"Type","type":"string"}},"title":"NarrativeParagraph","type":"object"},"NarrativeParagraph-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/NarrativeParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Output"},{"$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-Input":{"properties":{"content":{"items":{"discriminator":{"mapping":{"narrativeOrderedList":"#/components/schemas/NarrativeOrderedList-Input","narrativeParagraph":"#/components/schemas/NarrativeParagraph-Input","narrativeUnorderedList":"#/components/schemas/NarrativeUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/NarrativeParagraph-Input"},{"$ref":"#/components/schemas/NarrativeUnorderedList-Input"},{"$ref":"#/components/schemas/NarrativeOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"narrative","default":"narrative","title":"Type","type":"string"}},"title":"NarrativeSection","type":"object"},"NarrativeSection-Output":{"properties":{"content":{"items":{"discriminator":{"mapping":{"narrativeOrderedList":"#/components/schemas/NarrativeOrderedList-Output","narrativeParagraph":"#/components/schemas/NarrativeParagraph-Output","narrativeUnorderedList":"#/components/schemas/NarrativeUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/NarrativeParagraph-Output"},{"$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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/NarrativeListItem-Input"},"title":"Content","type":"array"},"type":{"const":"narrativeUnorderedList","default":"narrativeUnorderedList","title":"Type","type":"string"}},"title":"NarrativeUnorderedList","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://docs.elationhealth.com/reference/visit_note_types_list 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-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","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://docs.elationhealth.com/reference/visit_note_types_list 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-Input"},{"$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-Output"},{"$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://docs.elationhealth.com/reference/visit_note_types_list 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 — 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://docs.elationhealth.com/reference/visit_note_types_list 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"},"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"],"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-Input":{"properties":{"content":{"items":{"discriminator":{"mapping":{"cardiacOrder":"#/components/schemas/CardiacOrderBlock-Input","handout":"#/components/schemas/HandoutBlock-Input","imagingOrder":"#/components/schemas/ImagingOrderBlock-Input","injection":"#/components/schemas/InjectionBlock-Input","labOrder":"#/components/schemas/LabOrderBlock-Input","patientImmunization":"#/components/schemas/PatientImmunizationBlock-Input","prescription":"#/components/schemas/PrescriptionBlock-Input","pulmonaryOrder":"#/components/schemas/PulmonaryOrderBlock-Input","referral":"#/components/schemas/ReferralBlock-Input","sleepOrder":"#/components/schemas/SleepOrderBlock-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/PrescriptionBlock-Input"},{"$ref":"#/components/schemas/LabOrderBlock-Input"},{"$ref":"#/components/schemas/ImagingOrderBlock-Input"},{"$ref":"#/components/schemas/ReferralBlock-Input"},{"$ref":"#/components/schemas/CardiacOrderBlock-Input"},{"$ref":"#/components/schemas/PulmonaryOrderBlock-Input"},{"$ref":"#/components/schemas/SleepOrderBlock-Input"},{"$ref":"#/components/schemas/PatientImmunizationBlock-Input"},{"$ref":"#/components/schemas/InjectionBlock-Input"},{"$ref":"#/components/schemas/HandoutBlock-Input"}]},"title":"Content","type":"array"},"type":{"const":"orders","default":"orders","title":"Type","type":"string"}},"title":"OrdersSection","type":"object"},"OrdersSection-Output":{"properties":{"content":{"items":{"discriminator":{"mapping":{"cardiacOrder":"#/components/schemas/CardiacOrderBlock-Output","handout":"#/components/schemas/HandoutBlock-Output","imagingOrder":"#/components/schemas/ImagingOrderBlock-Output","injection":"#/components/schemas/InjectionBlock-Output","labOrder":"#/components/schemas/LabOrderBlock-Output","patientImmunization":"#/components/schemas/PatientImmunizationBlock-Output","prescription":"#/components/schemas/PrescriptionBlock-Output","pulmonaryOrder":"#/components/schemas/PulmonaryOrderBlock-Output","referral":"#/components/schemas/ReferralBlock-Output","sleepOrder":"#/components/schemas/SleepOrderBlock-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/PrescriptionBlock-Output"},{"$ref":"#/components/schemas/LabOrderBlock-Output"},{"$ref":"#/components/schemas/ImagingOrderBlock-Output"},{"$ref":"#/components/schemas/ReferralBlock-Output"},{"$ref":"#/components/schemas/CardiacOrderBlock-Output"},{"$ref":"#/components/schemas/PulmonaryOrderBlock-Output"},{"$ref":"#/components/schemas/SleepOrderBlock-Output"},{"$ref":"#/components/schemas/PatientImmunizationBlock-Output"},{"$ref":"#/components/schemas/InjectionBlock-Output"},{"$ref":"#/components/schemas/HandoutBlock-Output"}]},"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-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/InlineNode-Input"},"title":"Content","type":"array"},"type":{"const":"paragraph","default":"paragraph","title":"Type","type":"string"}},"title":"ParagraphNode","type":"object"},"ParagraphNode-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/InlineNode-Output"},"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-Input":{"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"},"PatientImmunizationAttrs-Output":{"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/PatientImmunizationAttrs-Input"},"type":{"const":"patientImmunization","default":"patientImmunization","title":"Type","type":"string"}},"required":["attrs"],"title":"PatientImmunizationBlock","type":"object"},"PatientImmunizationBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/PatientImmunizationAttrs-Output"},"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-Input":{"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"},"PrescriptionAttrs-Output":{"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/PrescriptionBlockAttrs"},"type":{"const":"prescription","default":"prescription","title":"Type","type":"string"}},"required":["attrs"],"title":"PrescriptionBlock","type":"object"},"PrescriptionBlock-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/PrescriptionAttrs-Input"},"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"},"PrescriptionNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/PrescriptionAttrs-Output"},"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-Input":{"additionalProperties":true,"description":"Inline node for a patient problem reference.","properties":{"attrs":{"$ref":"#/components/schemas/el8_note_models__note__content__inline_nodes__ProblemNode__NodeAttrs-Input"},"type":{"const":"problem","default":"problem","title":"Type","type":"string"}},"required":["attrs"],"title":"ProblemNode","type":"object"},"ProblemNode-Output":{"additionalProperties":true,"description":"Inline node for a patient problem reference.","properties":{"attrs":{"$ref":"#/components/schemas/el8_note_models__note__content__inline_nodes__ProblemNode__NodeAttrs-Output"},"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/ProcedureAttrs"},"type":{"const":"procedure","default":"procedure","title":"Type","type":"string"}},"required":["attrs"],"title":"Procedure","type":"object"},"Procedure-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/ProcedureAttrs"},"type":{"const":"procedure","default":"procedure","title":"Type","type":"string"}},"required":["attrs"],"title":"Procedure","type":"object"},"ProcedureAttrs":{"properties":{"cpt_code":{"$ref":"#/components/schemas/CptCode"},"ref_id":{"title":"Ref Id","type":"string"}},"required":["cpt_code"],"title":"ProcedureAttrs","type":"object"},"ProcedureListItem-Input":{"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":{"proceduresOrderedList":"#/components/schemas/ProcedureOrderedList-Input","proceduresParagraph":"#/components/schemas/ProcedureParagraph-Input","proceduresUnorderedList":"#/components/schemas/ProcedureUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ProcedureParagraph-Input"},{"$ref":"#/components/schemas/ProcedureUnorderedList-Input"},{"$ref":"#/components/schemas/ProcedureOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"proceduresListItem","default":"proceduresListItem","title":"Type","type":"string"}},"title":"ProcedureListItem","type":"object"},"ProcedureListItem-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":{"proceduresOrderedList":"#/components/schemas/ProcedureOrderedList-Output","proceduresParagraph":"#/components/schemas/ProcedureParagraph-Output","proceduresUnorderedList":"#/components/schemas/ProcedureUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/ProcedureParagraph-Output"},{"$ref":"#/components/schemas/ProcedureUnorderedList-Output"},{"$ref":"#/components/schemas/ProcedureOrderedList-Output"}]},"title":"Content","type":"array"},"type":{"const":"proceduresListItem","default":"proceduresListItem","title":"Type","type":"string"}},"title":"ProcedureListItem","type":"object"},"ProcedureNode-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/ProcedureNodeAttrs"},"type":{"const":"procedure","default":"procedure","title":"Type","type":"string"}},"required":["attrs"],"title":"ProcedureNode","type":"object"},"ProcedureNode-Output":{"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"},"ProcedureOrderedList-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/ProcedureListItem-Input"},"title":"Content","type":"array"},"type":{"const":"proceduresOrderedList","default":"proceduresOrderedList","title":"Type","type":"string"}},"title":"ProcedureOrderedList","type":"object"},"ProcedureOrderedList-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/ProcedureListItem-Output"},"title":"Content","type":"array"},"type":{"const":"proceduresOrderedList","default":"proceduresOrderedList","title":"Type","type":"string"}},"title":"ProcedureOrderedList","type":"object"},"ProcedureParagraph-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/ProcedureParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Input"},{"$ref":"#/components/schemas/LineBreakInline"}]},"title":"Content","type":"array"},"type":{"const":"proceduresParagraph","default":"proceduresParagraph","title":"Type","type":"string"}},"title":"ProcedureParagraph","type":"object"},"ProcedureParagraph-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/ProcedureParagraphAttrs"},"content":{"items":{"discriminator":{"mapping":{"lineBreak":"#/components/schemas/LineBreakInline","text":"#/components/schemas/TextInline-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/TextInline-Output"},{"$ref":"#/components/schemas/LineBreakInline"}]},"title":"Content","type":"array"},"type":{"const":"proceduresParagraph","default":"proceduresParagraph","title":"Type","type":"string"}},"title":"ProcedureParagraph","type":"object"},"ProcedureParagraphAttrs":{"properties":{"ref_id":{"title":"Ref Id","type":"string"}},"title":"ProcedureParagraphAttrs","type":"object"},"ProcedureSection-Input":{"properties":{"content":{"items":{"discriminator":{"mapping":{"procedure":"#/components/schemas/Procedure-Input","proceduresOrderedList":"#/components/schemas/ProcedureOrderedList-Input","proceduresParagraph":"#/components/schemas/ProcedureParagraph-Input","proceduresUnorderedList":"#/components/schemas/ProcedureUnorderedList-Input"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/Procedure-Input"},{"$ref":"#/components/schemas/ProcedureParagraph-Input"},{"$ref":"#/components/schemas/ProcedureUnorderedList-Input"},{"$ref":"#/components/schemas/ProcedureOrderedList-Input"}]},"title":"Content","type":"array"},"type":{"const":"procedures","default":"procedures","title":"Type","type":"string"}},"title":"ProcedureSection","type":"object"},"ProcedureSection-Output":{"properties":{"content":{"items":{"discriminator":{"mapping":{"procedure":"#/components/schemas/Procedure-Output","proceduresOrderedList":"#/components/schemas/ProcedureOrderedList-Output","proceduresParagraph":"#/components/schemas/ProcedureParagraph-Output","proceduresUnorderedList":"#/components/schemas/ProcedureUnorderedList-Output"},"propertyName":"type"},"oneOf":[{"$ref":"#/components/schemas/Procedure-Output"},{"$ref":"#/components/schemas/ProcedureParagraph-Output"},{"$ref":"#/components/schemas/ProcedureUnorderedList-Output"},{"$ref":"#/components/schemas/ProcedureOrderedList-Output"}]},"title":"Content","type":"array"},"type":{"const":"procedures","default":"procedures","title":"Type","type":"string"}},"title":"ProcedureSection","type":"object"},"ProcedureUnorderedList-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/ProcedureListItem-Input"},"title":"Content","type":"array"},"type":{"const":"proceduresUnorderedList","default":"proceduresUnorderedList","title":"Type","type":"string"}},"title":"ProcedureUnorderedList","type":"object"},"ProcedureUnorderedList-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/AttrsWithRefId"},"content":{"items":{"$ref":"#/components/schemas/ProcedureListItem-Output"},"title":"Content","type":"array"},"type":{"const":"proceduresUnorderedList","default":"proceduresUnorderedList","title":"Type","type":"string"}},"title":"ProcedureUnorderedList","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-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/ProcedureNode-Input"},"title":"Content","type":"array"},"type":{"const":"procedures","default":"procedures","title":"Type","type":"string"}},"title":"ProceduresNode","type":"object"},"ProceduresNode-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/ProcedureNode-Output"},"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-Input":{"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"},"PulmonaryOrderAttrs-Output":{"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/PulmonaryOrderBlockAttrs-Input"},"type":{"const":"pulmonaryOrder","default":"pulmonaryOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"PulmonaryOrderBlock","type":"object"},"PulmonaryOrderBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/PulmonaryOrderBlockAttrs-Output"},"type":{"const":"pulmonaryOrder","default":"pulmonaryOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"PulmonaryOrderBlock","type":"object"},"PulmonaryOrderBlockAttrs-Input":{"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"},"PulmonaryOrderBlockAttrs-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/PulmonaryOrderAttrs-Input"},"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"},"PulmonaryOrderNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/PulmonaryOrderAttrs-Output"},"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-Input":{"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-Input"},"type":{"const":"reconciledMedication","default":"reconciledMedication","title":"Type","type":"string"}},"required":["attrs"],"title":"ReconciledMedicationNode","type":"object"},"ReconciledMedicationNode-Output":{"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-Output"},"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/ReferencedDocumentAttrs"},"type":{"const":"referencedDocument","default":"referencedDocument","title":"Type","type":"string"}},"required":["attrs"],"title":"ReferencedDocument","type":"object"},"ReferencedDocument-Output":{"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-Input":{"properties":{"content":{"items":{"$ref":"#/components/schemas/ReferencedDocument-Input"},"title":"Content","type":"array"},"type":{"const":"referencedDocuments","default":"referencedDocuments","title":"Type","type":"string"}},"title":"ReferencedDocumentsSection","type":"object"},"ReferencedDocumentsSection-Output":{"properties":{"content":{"items":{"$ref":"#/components/schemas/ReferencedDocument-Output"},"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/ReferralBlockAttrs"},"type":{"const":"referral","default":"referral","title":"Type","type":"string"}},"required":["attrs"],"title":"ReferralBlock","type":"object"},"ReferralBlock-Output":{"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-Input":{"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"},"ReferralNode-Output":{"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-Input":{"additionalProperties":true,"description":"Inline node for a Report item link.","properties":{"attrs":{"$ref":"#/components/schemas/el8_note_models__note__content__inline_nodes__ReportNode__NodeAttrs-Input"},"type":{"const":"report","default":"report","title":"Type","type":"string"}},"required":["attrs"],"title":"ReportNode","type":"object"},"ReportNode-Output":{"additionalProperties":true,"description":"Inline node for a Report item link.","properties":{"attrs":{"$ref":"#/components/schemas/el8_note_models__note__content__inline_nodes__ReportNode__NodeAttrs-Output"},"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-Input":{"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"},"SleepOrderAttrs-Output":{"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-Input":{"properties":{"attrs":{"$ref":"#/components/schemas/SleepOrderBlockAttrs-Input"},"type":{"const":"sleepOrder","default":"sleepOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"SleepOrderBlock","type":"object"},"SleepOrderBlock-Output":{"properties":{"attrs":{"$ref":"#/components/schemas/SleepOrderBlockAttrs-Output"},"type":{"const":"sleepOrder","default":"sleepOrder","title":"Type","type":"string"}},"required":["attrs"],"title":"SleepOrderBlock","type":"object"},"SleepOrderBlockAttrs-Input":{"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"},"SleepOrderBlockAttrs-Output":{"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/SleepOrderAttrs-Input"},"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"},"SleepOrderNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/SleepOrderAttrs-Output"},"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-Input":{"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 — 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"},"TextInline-Output":{"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 — 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-Input":{"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"},"TextNode-Output":{"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"},"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-Input":{"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"},"VitalBMINode-Output":{"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-Input":{"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"},"VitalBPNode-Output":{"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"},"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-Input":{"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"},"VitalHRNode-Output":{"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-Input":{"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"},"VitalHeightNode-Output":{"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"},"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-Input":{"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"},"VitalOxygenNode-Output":{"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-Input":{"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"},"VitalPainNode-Output":{"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-Input":{"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"},"VitalRRNode-Output":{"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"},"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-Input":{"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"},"VitalTemperatureNode-Output":{"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"},"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-Input":{"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"},"VitalWeightNode-Output":{"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-Input":{"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":{"bmi":[{"edited_by_scribe":false}],"bp":[{"bp_d":"","bp_s":"","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":""}],"oxygen":[{"edited_by_scribe":false,"extra_note":"","percent":""}],"pain":[{"edited_by_scribe":false,"extra_note":"","pain":""}],"rr":[{"edited_by_scribe":false,"extra_note":"","rr":""}],"temperature":[{"edited_by_scribe":false,"extra_note":"","temperature":""}],"weight":[{"edited_by_scribe":false,"extra_note":"","weight":""}]}},"vitals_collection_id":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Vitals Collection Id"}},"title":"VitalsAttrs","type":"object"},"VitalsAttrs-Output":{"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":{"bmi":[{"edited_by_scribe":false}],"bp":[{"bp_d":"","bp_s":"","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":""}],"oxygen":[{"edited_by_scribe":false,"extra_note":"","percent":""}],"pain":[{"edited_by_scribe":false,"extra_note":"","pain":""}],"rr":[{"edited_by_scribe":false,"extra_note":"","rr":""}],"temperature":[{"edited_by_scribe":false,"extra_note":"","temperature":""}],"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-Input":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/VitalsAttrs-Input"},"type":{"const":"vitals","default":"vitals","title":"Type","type":"string"}},"title":"VitalsNode","type":"object"},"VitalsNode-Output":{"additionalProperties":true,"properties":{"attrs":{"$ref":"#/components/schemas/VitalsAttrs-Output"},"type":{"const":"vitals","default":"vitals","title":"Type","type":"string"}},"title":"VitalsNode","type":"object"},"VitalsSection-Input":{"description":"Tier-1 vitals section; attrs mirror VN2 ``VitalsNode``.","properties":{"attrs":{"$ref":"#/components/schemas/VitalsSectionAttrs-Input"},"type":{"const":"vitals","default":"vitals","title":"Type","type":"string"}},"title":"VitalsSection","type":"object"},"VitalsSection-Output":{"description":"Tier-1 vitals section; attrs mirror VN2 ``VitalsNode``.","properties":{"attrs":{"$ref":"#/components/schemas/VitalsSectionAttrs-Output"},"type":{"const":"vitals","default":"vitals","title":"Type","type":"string"}},"title":"VitalsSection","type":"object"},"VitalsSectionAttrs-Input":{"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"},"VitalsSectionAttrs-Output":{"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-Input":{"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__ProblemNode__NodeAttrs-Output":{"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-Input":{"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__ReconciledMedicationNode__NodeAttrs-Output":{"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-Input":{"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__ReportNode__NodeAttrs-Output":{"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":{"bmi":{"default":[{"edited_by_scribe":false}],"items":{"$ref":"#/components/schemas/VitalBMI"},"title":"Bmi","type":"array"},"bp":{"default":[{"bp_d":"","bp_s":"","edited_by_scribe":false,"extra_note":""}],"items":{"$ref":"#/components/schemas/VitalBP"},"title":"Bp","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"},"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"},"temperature":{"default":[{"edited_by_scribe":false,"extra_note":"","temperature":""}],"items":{"$ref":"#/components/schemas/VitalTemperature"},"title":"Temperature","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":{"bmi":{"items":{"$ref":"#/components/schemas/VitalBMI"},"title":"Bmi","type":"array"},"bp":{"items":{"$ref":"#/components/schemas/VitalBP"},"title":"Bp","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"},"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"},"temperature":{"items":{"$ref":"#/components/schemas/VitalTemperature"},"title":"Temperature","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"}}}}