> ## 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 patient lab

> Fetches a patient lab result by its ID.

A **patient lab** represents a diagnostic lab test result for a clinic patient (e.g., bloodwork, urinalysis, fecal test).



## OpenAPI

````yaml get /ext/v2/patient-labs/{patient_lab_id}/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/patient-labs/{patient_lab_id}/:
    get:
      tags:
        - Labs
      summary: Fetch a patient lab
      description: >-
        Fetches a patient lab result by its ID.


        A **patient lab** represents a diagnostic lab test result for a clinic
        patient (e.g., bloodwork, urinalysis, fecal test).
      operationId: patient_labs_detail
      parameters:
        - description: The ID of the patient lab to fetch
          in: path
          name: patient_lab_id
          required: true
          schema:
            description: The ID of the patient lab to fetch
            title: Patient Lab Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalPatientLabDetailSchema'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalPatientLabDetailSchema:
      properties:
        clinic_id:
          description: The ID of the clinic the patient lab belongs to.
          title: Clinic Id
          type: integer
        clinic_patient_id:
          description: The ID of the patient the patient lab belongs to.
          title: Clinic Patient Id
          type: integer
        code:
          description: >-
            The lab panel code (e.g., test code from the lab provider). Empty
            string if no code is available.
          title: Code
          type: string
        collected_at:
          description: The date and time the lab was collected.
          format: date-time
          title: Collected At
          type: string
        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
        id:
          description: The ID of the patient lab.
          title: Id
          type: integer
        is_deleted:
          description: Whether this record is soft deleted or not.
          title: Is Deleted
          type: boolean
        is_pending:
          description: Whether the patient lab results are still pending.
          title: Is Pending
          type: boolean
        lab_provider_name:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The name of the lab provider who provided this lab. Only available
            for integrated labs.
          title: Lab Provider Name
        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
        name:
          description: The display name of the patient lab.
          title: Name
          type: string
        ordering_clinic_user_id:
          anyOf:
            - type: integer
            - type: 'null'
          description: The ID of the clinic user who ordered this lab, if available.
          title: Ordering Clinic User Id
        ordering_clinic_user_name:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The display name of the clinic user who ordered this lab, if
            available.
          title: Ordering Clinic User Name
        results:
          description: The structured results of the patient lab test.
          items:
            $ref: '#/components/schemas/ExternalLabResultSchema'
          title: Results
          type: array
        reviewed_at:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The date and time the lab was completed.
          title: Reviewed At
        status:
          $ref: '#/components/schemas/LabOrderDashboardStatus'
          description: The status of the patient lab.
        type:
          $ref: '#/components/schemas/PatientLabType'
          description: The type of patient lab.  IN_CLINIC and EXTERNAL are ordered labs.
      required:
        - created
        - modified
        - is_deleted
        - deleted
        - id
        - clinic_id
        - clinic_patient_id
        - name
        - code
        - type
        - status
        - is_pending
        - collected_at
        - results
      title: ExternalPatientLabDetailSchema
      type: object
    ExternalLabResultSchema:
      properties:
        category:
          anyOf:
            - type: string
            - type: 'null'
          description: The category of the test result.
          title: Category
        code:
          anyOf:
            - type: string
            - type: 'null'
          description: The test code.
          title: Code
        critical_range_high:
          anyOf:
            - type: number
            - type: 'null'
          description: The high end of the critical range.
          title: Critical Range High
        critical_range_low:
          anyOf:
            - type: number
            - type: 'null'
          description: The low end of the critical range.
          title: Critical Range Low
        id:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Stable identifier for this individual lab result. Null for manual
            lab results. Present for integrated labs (VCP, Antech, PACS) and
            imported labs.
          title: Id
        is_abnormal:
          anyOf:
            - type: boolean
            - type: 'null'
          description: Whether this result is abnormal.
          title: Is Abnormal
        name:
          anyOf:
            - type: string
            - type: 'null'
          description: The name of the test or analyte.
          title: Name
        notes:
          anyOf:
            - type: string
            - type: 'null'
          description: Any notes associated with this result.
          title: Notes
        reference_range_high:
          anyOf:
            - type: number
            - type: 'null'
          description: The high end of the normal reference range.
          title: Reference Range High
        reference_range_low:
          anyOf:
            - type: number
            - type: 'null'
          description: The low end of the normal reference range.
          title: Reference Range Low
        result_date:
          anyOf:
            - type: string
            - type: 'null'
          description: The date/time the result was recorded (ISO 8601).
          title: Result Date
        status:
          anyOf:
            - type: string
            - type: 'null'
          description: The status of this individual result.
          title: Status
        type:
          anyOf:
            - type: string
            - type: 'null'
          description: 'The result type: NUMERIC, TEXT, or IMAGE.'
          title: Type
        units:
          anyOf:
            - type: string
            - type: 'null'
          description: The unit of measurement for the result value.
          title: Units
        value:
          anyOf:
            - type: string
            - type: 'null'
          description: >-
            The result value. For IMAGE type results, this is a presigned S3 URL
            (1-hour expiry).
          title: Value
      required:
        - name
        - code
        - value
        - type
        - units
        - reference_range_low
        - reference_range_high
        - critical_range_low
        - critical_range_high
        - is_abnormal
        - status
        - result_date
        - category
        - notes
      title: ExternalLabResultSchema
      type: object
    LabOrderDashboardStatus:
      description: >-
        Filters that FE might pass in for lab order list 'status' (map to
        result_states)
      enum:
        - PENDING
        - COMPLETE
        - ERROR
        - IMPORTED
      title: LabOrderDashboardStatus
      type: string
    PatientLabType:
      description: The different kinds of labs for dashboard
      enum:
        - IN_CLINIC
        - EXTERNAL
        - MANUAL
        - IMPORTED
      title: PatientLabType
      type: string
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````