Elation Health Notes v2 API

The Notes v2 API from Elation Health — 7 operation(s) for notes v2.

Operations 13

GET /v2/notes List Notes V2 #
POST /v2/notes Create Note V2 #
DELETE /v2/notes/{note_id} Delete Note By Id V2 #
GET /v2/notes/{note_id} Get Note By Id V2 #
PATCH /v2/notes/{note_id} Update Note By Id V2 #
POST /v2/notes/{note_id}/amendments Create Note Amendment V2 #
DELETE /v2/notes/{note_id}/amendments/{amendment_id} Delete Note Amendment By Id V2 #
GET /v2/notes/{note_id}/amendments/{amendment_id} Get Note Amendment By Id V2 #
PATCH /v2/notes/{note_id}/amendments/{amendment_id} Update Note Amendment By Id V2 #
GET /v2/notes/{note_id}/doctags List Note Doctags V2 #
PATCH /v2/notes/{note_id}/doctags Add Doctag To Note V2 #
DELETE /v2/notes/{note_id}/doctags/{doctag_id} Delete Doctag V2 #
GET /v2/notes/{note_id}/edit Get Note For Edit V2 #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/elation-health-notes-v2-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

elation-health-notes-v2-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Visit Notes Notes v2 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
tags:
- name: Notes v2
paths:
  /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

        uses 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

        (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

        the 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

        into the database and linked to the note. Returns HTTP 400 if the note

        uses 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

        the 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``

        for 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:
    PulmonaryOrderBlock-Input:
      properties:
        attrs:
          $ref: '#/components/schemas/PulmonaryOrderBlockAttrs-Input'
        type:
          const: pulmonaryOrder
          default: pulmonaryOrder
          title: Type
          type: string
      required:
      - attrs
      title: PulmonaryOrderBlock
      type: object
    NarrativeParagraphAttrs:
      properties:
        ref_id:
          title: Ref Id
          type: string
      title: NarrativeParagraphAttrs
      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
    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
    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
    FollowupParagraphAttrs:
      properties:
        ref_id:
          title: Ref Id
          type: string
      title: FollowupParagraphAttrs
      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
    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
    ReferralBlock-Input:
      properties:
        attrs:
          $ref: '#/components/schemas/ReferralBlockAttrs'
        type:
          const: referral
          default: referral
          title: Type
          type: string
      required:
      - attrs
      title: ReferralBlock
      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
    PulmonaryOrderBlock-Output:
      properties:
        attrs:
          $ref: '#/components/schemas/PulmonaryOrderBlockAttrs-Output'
        type:
          const: pulmonaryOrder
          default: pulmonaryOrder
          title: Type
          type: string
      required:
      - attrs
      title: PulmonaryOrderBlock
      type: object
    ContentMap-Input:
      description: 'Typed map from section type to its content. All sections are optional.


        Keys match section ``type`` wire values (``NodeType``): lowercase single words

        (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
    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
    Procedure-Output:
      properties:
        attrs:
          $ref: '#/components/schemas/ProcedureAttrs'
        type:
          const: procedure
          default: procedure
          title: Type
          type: string
      required:
      - attrs
      title: Procedure
      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
    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
    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
    ElationNoteAmendmentUpdate:
      description: 'Request body for updating a sections-based note amendment.


        All fields optional. `content_map` replaces the full stored content_map.

        Amendment updates do not support `confidential` (parity with `NoteAmendmentUpdate`).


        Field order: content-update fields (`content_map`, `snapshot_id`) first, then

        mutable fields in the same order as ``ElationNoteCreate`` (``provider`` through

        ``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
    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
    ReferencedDocument-Input:
      properties:
        attrs:
          $ref: '#/components/schemas/ReferencedDocumentAttrs'
        type:
          const: referencedDocument
          default: referencedDocument
          title: Type
          type: string
      required:
      - attrs
      title: ReferencedDocument
      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
    ReferencedDocumentAttrs:
      properties:
        document:
          $ref: '#/components/schemas/ReferencedDocumentData'
        ref_id:
          title: Ref Id
          type: string
      required:
      - document
      title: ReferencedDocumentAttrs
      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
    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
    ImmunizationVaccine:
      properties:
        name:
          anyOf:
          - type: string
          - type: 'null'
          title: Name
      title: ImmunizationVaccine
      type: object
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      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
    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
    LabOrderBlock-Output:
      properties:
        attrs:
          $ref: '#/components/schemas/LabOrderBlockAttrs-Output'
        type:
          const: labOrder
          default: labOrder
          title: Type
          type: string
      required:
      - attrs
      title: LabOrderBlock
      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
    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
   

# --- truncated at 32 KB (114 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/elation-health/refs/heads/main/openapi/elation-health-notes-v2-api-openapi.yml