> ## 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.

# Retrieve Medication Refill



## OpenAPI

````yaml get /api/2.0/medication_refills/{id}/
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_refills/{id}/:
    get:
      tags:
        - Refills
      summary: Retrieve Medication Refill
      operationId: medication_refills_retrieve
      parameters:
        - in: path
          name: id
          required: true
          schema:
            format: int64
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RxRefillRequest'
          description: ''
      security:
        - oauth2: []
components:
  schemas:
    RxRefillRequest:
      properties:
        id:
          readOnly: true
          type: integer
        original_medication_order:
          format: int64
          type: integer
        patient:
          format: int64
          type:
            - integer
            - 'null'
        patient_matched:
          type: boolean
        patient_matching_result:
          $ref: '#/components/schemas/PatientMatchingResultEnum'
        practice:
          format: int64
          type: integer
        prescriber:
          format: int64
          type: integer
        received_date:
          format: date-time
          type: string
        requested_pharmacy_ncpdpid:
          type: integer
        supervisor:
          format: int64
          type:
            - integer
            - 'null'
      required:
        - original_medication_order
        - patient_matching_result
        - practice
        - prescriber
        - received_date
        - requested_pharmacy_ncpdpid
      type: object
    PatientMatchingResultEnum:
      enum:
        - COMPLETE_MATCH
        - MULTIPLE_MATCHES
        - NO_MATCH
      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

````