> ## Documentation Index
> Fetch the complete documentation index at: https://hmis-docs.derrickmugabwa.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the patient medical-history timeline

> Returns outpatient summaries, diagnoses, active allergies, latest vitals, orders, forms, and authorized result summaries. Raw progress notes are excluded.



## OpenAPI

````yaml /openapi-patient.yaml get /patient/medical-history
openapi: 3.1.0
info:
  title: HMIS Patient Mobile API
  version: 1.0.0
  description: >-
    Patient-owned authentication, appointment, clinical record, and billing
    operations.
servers:
  - url: https://jaliprohmis.derrickmugabwa.dev/api/v1
    description: HMIS staging API
security:
  - bearerAuth: []
tags:
  - name: Patient authentication
  - name: Patient profile
  - name: Patient appointments
  - name: Patient records
  - name: Patient billing
paths:
  /patient/medical-history:
    get:
      tags:
        - Patient records
      summary: Get the patient medical-history timeline
      description: >-
        Returns outpatient summaries, diagnoses, active allergies, latest
        vitals, orders, forms, and authorized result summaries. Raw progress
        notes are excluded.
      operationId: getPatientMedicalHistory
      parameters:
        - $ref: '#/components/parameters/From'
        - $ref: '#/components/parameters/To'
        - $ref: '#/components/parameters/Status'
        - $ref: '#/components/parameters/Page'
        - $ref: '#/components/parameters/PerPage'
      responses:
        '200':
          $ref: '#/components/responses/PaginatedResponse'
        '401':
          $ref: '#/components/responses/Unauthenticated'
        '403':
          $ref: '#/components/responses/Forbidden'
components:
  parameters:
    From:
      name: from
      in: query
      required: false
      schema:
        type: string
        format: date
    To:
      name: to
      in: query
      required: false
      schema:
        type: string
        format: date
    Status:
      name: status
      in: query
      required: false
      schema:
        type: string
        maxLength: 32
    Page:
      name: page
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        default: 1
    PerPage:
      name: per_page
      in: query
      required: false
      schema:
        type: integer
        minimum: 1
        maximum: 50
        default: 25
  responses:
    PaginatedResponse:
      description: Paginated patient-owned collection.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/PaginatedEnvelope'
    Unauthenticated:
      description: Missing, expired, or invalid bearer token.
    Forbidden:
      description: Token lacks the required patient ability or the account is inactive.
  schemas:
    PaginatedEnvelope:
      allOf:
        - $ref: '#/components/schemas/CollectionEnvelope'
        - type: object
          properties:
            links:
              type: object
              additionalProperties: true
            meta:
              type: object
              additionalProperties: true
    CollectionEnvelope:
      type: object
      properties:
        data:
          type: array
          items:
            type: object
            additionalProperties: true
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Sanctum patient device token

````