> ## Documentation Index
> Fetch the complete documentation index at: https://developer.eka.care/llms.txt
> Use this file to discover all available pages before exploring further.

# List Discharge Summaries for Admission

> 
### Overview

This API returns all **discharge summaries** of an IPD admission of your workspace, newest first (by creation time). An admission with no discharge summary returns an empty list.



## OpenAPI

````yaml get /ipd/v1/service/discharge-summaries/admission/{admission_id}
openapi: 3.0.0
info:
  title: Ekacare API & Webhook Documentation
  contact: {}
  version: '1.0'
servers:
  - description: Production
    url: https://api.eka.care
  - description: Stage/Sandbox
    url: https://api.dev.eka.care
security: []
paths:
  /ipd/v1/service/discharge-summaries/admission/{admission_id}:
    get:
      tags:
        - IPD API
      summary: List Discharge Summaries for Admission
      description: >-

        ### Overview


        This API returns all **discharge summaries** of an IPD admission of your
        workspace, newest first (by creation time). An admission with no
        discharge summary returns an empty list.
      operationId: ListIpdDischargeSummaries
      parameters:
        - name: auth
          in: header
          required: true
          schema:
            type: string
          example: >-
            eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJiX2lkIjoiMTIzNDU2IiwiY2xpZW50X2lkIjoiNzg5MCIsImV4dHJhX2ZpZWxkIjoiZXh0cmFfZmllbGRfZGF0YSJ9.q9KzBI6f4l3OyM_EkB5Quq0l9EEMFh5JS-fx3F_PHUM
        - name: admission_id
          in: path
          description: Id of the IPD admission.
          required: true
          style: simple
          schema:
            type: string
          example: a1b2c3d4-5678-90ab-cdef-1234567890ab
      responses:
        '200':
          description: OK — the discharge summaries of the admission.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/IpdDischargeSummary'
              example:
                success: true
                data:
                  - id: 66f1cbf6e4b0a1b2c3d4ee09
                    admission_id: a1b2c3d4-5678-90ab-cdef-1234567890ab
                    patient_id: pid-321
                    actor_name: Vivek Sharma
                    actor_oid: '161467756044203'
                    content_html: >-
                      <h2>Discharge Summary</h2><p>Patient recovered and is fit
                      for discharge.</p>
                    content_json:
                      - type: heading
                        text: Discharge Summary
                      - type: paragraph
                        text: Patient recovered and is fit for discharge.
                    createdAt: '2026-10-07T12:00:00.000Z'
                    updatedAt: '2026-10-07T12:00:00.000Z'
                    __v: 0
        '400':
          description: Bad Request — the discharge summaries could not be loaded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceFailure'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IpdServiceError'
      deprecated: false
components:
  schemas:
    IpdDischargeSummary:
      title: IpdDischargeSummary
      type: object
      properties:
        id:
          type: string
          description: Discharge summary id.
        admission_id:
          type: string
          description: Id of the IPD admission the summary belongs to.
        patient_id:
          type: string
          description: Id of the patient the summary is about.
        actor_name:
          type: string
          description: Name of the user who created the summary.
        actor_oid:
          type: string
          description: Id of the user who created the summary.
        content_html:
          type: string
          description: Summary content as HTML.
        content_json:
          type: array
          items: {}
          description: Summary content in structured (JSON) form.
        createdAt:
          type: string
          description: Created date-time as an ISO-8601 string.
        updatedAt:
          type: string
          description: Last-updated date-time as an ISO-8601 string.
        __v:
          type: number
          description: Internal document version.
    IpdServiceFailure:
      title: IpdServiceFailure
      type: object
      properties:
        success:
          type: boolean
          description: Always `false`.
        error:
          type: string
          description: Human-readable error message.
    IpdServiceError:
      title: IpdServiceError
      type: object
      properties:
        message:
          type: string
          description: Human-readable error message.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.