> ## 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 Prescription Fills

> Returns a list of prescription fills



## OpenAPI

````yaml get /api/2.0/prescription_fills/
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/prescription_fills/:
    get:
      tags:
        - Fills
      summary: List Prescription Fills
      description: Returns a list of prescription fills
      operationId: prescription_fills_list
      parameters:
        - in: query
          name: fill_date__gte
          schema:
            format: date
            type: string
        - in: query
          name: fill_date__isnull
          schema:
            type: boolean
        - in: query
          name: fill_date__lte
          schema:
            format: date
            type: string
        - description: Multiple values may be separated by commas.
          explode: false
          in: query
          name: fill_status
          schema:
            items:
              enum:
                - AH
                - AJ
                - AK
                - AL
              type: string
            type: array
          style: form
        - 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
        - description: Prescribed patient.
          explode: false
          in: query
          name: patient
          schema:
            items:
              format: int64
              type: integer
            type: array
          style: form
        - description: The doctor's practice.
          explode: false
          in: query
          name: practice
          schema:
            items:
              format: int64
              type: integer
            type: array
          style: form
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PaginatedPrescriptionFillList'
          description: ''
      security:
        - oauth2: []
components:
  schemas:
    PaginatedPrescriptionFillList:
      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/PrescriptionFill'
          type: array
      required:
        - results
      type: object
    PrescriptionFill:
      properties:
        fill_date:
          format: date
          type:
            - string
            - 'null'
        fill_status:
          $ref: '#/components/schemas/FillStatusEnum'
        id:
          readOnly: true
          type: integer
        medication_order:
          format: int64
          type: integer
        note_from_pharmacy:
          maxLength: 200
          type:
            - string
            - 'null'
        patient:
          format: int64
          type: integer
        pharmacy_ncpdpid:
          maxLength: 21
          title: Pharmacy this fill occurred at
          type: string
        practice:
          format: int64
          type: integer
      required:
        - fill_status
        - medication_order
        - patient
        - pharmacy_ncpdpid
        - practice
      type: object
    FillStatusEnum:
      description: |-
        * `AH` - Dispensed
        * `AJ` - PartiallyDispensed
        * `AK` - NotDispensed
        * `AL` - Transferred
      enum:
        - AH
        - AJ
        - AK
        - AL
      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

````