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

# Fetch a universal prescription

> Retrieves a universal prescription by its ID.

A **universal prescription** represents a medication or service prescribed to a patient by a veterinarian. Universal prescriptions unify three fulfillment types — home delivery, internal (in-clinic), and external (third-party pharmacy) — into a single record. When a prescription is renewed or edited, a new version is created in the same prescription group, preserving the full history.



## OpenAPI

````yaml get /ext/v2/universal-prescriptions/{universal_prescription_id}/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/universal-prescriptions/{universal_prescription_id}/:
    get:
      tags:
        - Prescriptions
      summary: Fetch a universal prescription
      description: >-
        Retrieves a universal prescription by its ID.


        A **universal prescription** represents a medication or service
        prescribed to a patient by a veterinarian. Universal prescriptions unify
        three fulfillment types — home delivery, internal (in-clinic), and
        external (third-party pharmacy) — into a single record. When a
        prescription is renewed or edited, a new version is created in the same
        prescription group, preserving the full history.
      operationId: universal_prescriptions_get
      parameters:
        - description: The ID of the universal prescription to fetch.
          in: path
          name: universal_prescription_id
          required: true
          schema:
            description: The ID of the universal prescription to fetch.
            title: Universal Prescription Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ConnectUniversalPrescriptionSchema'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ConnectUniversalPrescriptionSchema:
      description: >-
        A universal prescription represents a medication or service prescribed
        to a patient by a veterinarian. Universal prescriptions unify three
        fulfillment types — home delivery, internal (in-clinic), and external
        (third-party pharmacy) — into a single record.
      properties:
        allowed_uses:
          anyOf:
            - minimum: 0
              type: integer
            - type: 'null'
          description: The number of fills allowed. None if the prescription is PRN.
          title: Allowed Uses
        authorized_by:
          anyOf:
            - type: string
            - type: 'null'
          description: The name of the clinic user who authorized this prescription.
          title: Authorized By
        client_notes:
          default: ''
          description: Additional notes for the client.
          title: Client Notes
          type: string
        clinic_id:
          description: The ID of the clinic where this prescription was created.
          title: Clinic Id
          type: integer
        clinic_patient_id:
          description: The ID of the clinic patient that this prescription is for.
          title: Clinic Patient Id
          type: integer
        created:
          description: The datetime this object was created.
          format: date-time
          title: Created
          type: string
        deleted:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The datetime this record was soft deleted.
          title: Deleted
        directions:
          default: ''
          description: The directions for the prescription.
          title: Directions
          type: string
        expiration_date:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: When this prescription expires, if applicable.
          title: Expiration Date
        external_prescription:
          anyOf:
            - $ref: '#/components/schemas/ConnectExternalPrescriptionSchema'
            - type: 'null'
          description: >-
            External (third-party pharmacy) prescription details. Present when
            this is an external prescription.
        fills_remaining:
          anyOf:
            - type: integer
            - type: 'null'
          description: The number of fills still available. None if PRN.
          title: Fills Remaining
        fills_used:
          description: The number of fills consumed across all fulfillment channels.
          title: Fills Used
          type: integer
        hd_prescription:
          anyOf:
            - $ref: '#/components/schemas/ConnectHDPrescriptionSchema'
            - type: 'null'
          description: >-
            Home delivery prescription details. Present when this is a home
            delivery prescription.
        id:
          description: The unique identifier for this universal prescription.
          title: Id
          type: integer
        internal_prescription:
          anyOf:
            - $ref: '#/components/schemas/ConnectInternalPrescriptionSchema'
            - type: 'null'
          description: >-
            Internal (in-clinic) prescription details. Present when this is an
            internal prescription.
        is_deleted:
          description: Whether this record is soft deleted or not.
          title: Is Deleted
          type: boolean
        is_prn:
          description: Whether the prescription allows unlimited refills (PRN).
          title: Is Prn
          type: boolean
        latest_fill_id:
          description: >-
            The ID of the current universal prescription version. Use this to
            look up the full history via the history endpoint.
          title: Latest Fill Id
          type: integer
        modified:
          description: >-
            The datetime this object was last modified; changes to related
            entities will not update this field.
          format: date-time
          title: Modified
          type: string
        original_created:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: >-
            When the prescription was first created in the system. Null when the
            source system did not provide an issued date.
          title: Original Created
        prescribed_by:
          anyOf:
            - type: string
            - type: 'null'
          description: The name of the prescribing doctor.
          title: Prescribed By
        prescribed_by_doctor_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            The ID of the prescribing doctor. Use with the Doctors endpoint to
            look up full doctor details.
          title: Prescribed By Doctor Id
        status:
          $ref: '#/components/schemas/VisibleUniversalPrescriptionStatus'
          description: The visible status of the prescription.
      required:
        - created
        - modified
        - is_deleted
        - deleted
        - id
        - clinic_id
        - clinic_patient_id
        - status
        - is_prn
        - latest_fill_id
        - fills_used
        - fills_remaining
      title: Universal Prescription
      type: object
    ConnectExternalPrescriptionSchema:
      properties:
        group_service_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: The ID of the group service, if mapped.
          title: Group Service Id
        group_service_name:
          anyOf:
            - type: string
            - type: 'null'
          description: The name of the group service, if mapped.
          title: Group Service Name
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: The name of the external prescription.
          title: Name
        quantity:
          anyOf:
            - type: string
            - type: 'null'
          description: The prescribed quantity.
          title: Quantity
      title: External Prescription
      type: object
    ConnectHDPrescriptionSchema:
      properties:
        id:
          description: >-
            The ID of the HD prescription fill. References the prescription fill
            history API.
          title: Id
          type: integer
        item_id:
          description: The ID of the catalog item.
          title: Item Id
          type: integer
        item_name:
          description: The name of the catalog item.
          title: Item Name
          type: string
        quantity_prescribed:
          anyOf:
            - type: string
            - type: 'null'
          description: The prescribed quantity, accounting for default units.
          title: Quantity Prescribed
      required:
        - id
        - item_id
        - item_name
      title: Home Delivery Prescription
      type: object
    ConnectInternalPrescriptionSchema:
      properties:
        group_service_id:
          description: The ID of the group service.
          title: Group Service Id
          type: integer
        group_service_name:
          description: The name of the group service.
          title: Group Service Name
          type: string
        quantity:
          anyOf:
            - type: string
            - type: 'null'
          description: The prescribed quantity.
          title: Quantity
      required:
        - group_service_id
        - group_service_name
      title: Internal Prescription
      type: object
    VisibleUniversalPrescriptionStatus:
      enum:
        - ACTIVE
        - DISCONTINUED
        - DEACTIVATED
        - DECLINED
        - EXPIRED
        - DRAFT
        - IMPORTED
        - IMPORTED_VOIDED
      title: VisibleUniversalPrescriptionStatus
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````