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

# List Medication History Downloads



## OpenAPI

````yaml get /api/2.0/medication_history_downloads/
openapi: 3.1.0
info:
  contact:
    name: Elation Health
    url: https://www.elationhealth.com/
  description: Elation Health API v2.0
  title: Patient Document API
  version: 2.0.0
servers:
  - description: Sandbox Server
    url: https://sandbox.elationemr.com
  - description: Production Server
    url: https://api.app.elationemr.com
security: []
paths:
  /api/2.0/medication_history_downloads/:
    get:
      tags:
        - Historical Medication Download Requests
      summary: List Medication History Downloads
      operationId: medication_history_downloads_list
      parameters:
        - description: Number of results to return per page.
          in: query
          name: limit
          required: false
          schema:
            type: integer
        - description: The initial index from which to return the results.
          in: query
          name: offset
          required: false
          schema:
            type: integer
        - description: Which field to use when ordering the results.
          in: query
          name: order_by
          required: false
          schema:
            type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedRxHistoryDownloadList'
          description: ''
      security:
        - oauth2: []
components:
  schemas:
    PaginatedRxHistoryDownloadList:
      properties:
        count:
          example: 123
          type: integer
        next:
          example: http://api.example.org/accounts/?offset=400&limit=100
          format: uri
          nullable: true
          type: string
        previous:
          example: http://api.example.org/accounts/?offset=200&limit=100
          format: uri
          nullable: true
          type: string
        results:
          items:
            $ref: '#/components/schemas/RxHistoryDownload'
          type: array
      required:
        - results
      type: object
    RxHistoryDownload:
      properties:
        created_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        deleted_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        eligibility:
          format: int64
          type:
            - integer
            - 'null'
        error_code:
          oneOf:
            - $ref: '#/components/schemas/ErrorCodeEnum'
            - $ref: '#/components/schemas/NullEnum'
        error_description:
          type:
            - string
            - 'null'
        error_description_code:
          oneOf:
            - $ref: '#/components/schemas/ErrorDescriptionCodeEnum'
            - $ref: '#/components/schemas/NullEnum'
        from_date:
          format: date
          type:
            - string
            - 'null'
        id:
          readOnly: true
          type: integer
        is_active:
          type: boolean
        num_items:
          readOnly: true
          type: string
        patient:
          format: int64
          type: integer
        pbm_member_id:
          maxLength: 100
          type:
            - string
            - 'null'
        pbm_name:
          readOnly: true
          type: string
        pbm_surescripts_participant_id:
          readOnly: true
          type: string
        practice:
          format: int64
          type: integer
        signed_by:
          format: int64
          readOnly: true
          type:
            - integer
            - 'null'
        signed_date:
          format: date-time
          readOnly: true
          type:
            - string
            - 'null'
        success:
          type: boolean
        until_date:
          format: date
          type:
            - string
            - 'null'
      required:
        - patient
        - practice
      type: object
    ErrorCodeEnum:
      enum:
        - Communication problem - try again later
        - Receiver System Error
        - Receiver unable to process
        - Transaction rejected
      type: string
    NullEnum:
      type: 'null'
    ErrorDescriptionCodeEnum:
      enum:
        - Internal processing error has occurred.
        - Invalid password for receiver
        - Invalid password for sender.
        - No password on file for receiver.
        - No password on file for sender.
        - Receiver ID not on file.
        - Request timed out before response could be received.
        - Required segment UIB is missing.
        - Required segment UIH is missing.
        - Required segment UIT is missing.
        - Required segment UIZ is missing.
        - Sender ID not on file.
      type: string
  securitySchemes:
    oauth2:
      flows:
        clientCredentials:
          scopes:
            act_as_user: >-
              Impersonate a provider via X-On-Behalf-Of (combinable with apiv2
              or system scopes)
            apiv2: Full access to the API
            system/{resource_name}.read: Read access to a specific resource
            system/{resource_name}.write: Write access to a specific resource
          tokenUrl: /api/2.0/oauth2/token/
      type: oauth2

````