• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

scarver2 / ehr-portal / 23602601964
78%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 03:26PM UTC
Jobs 1
Files 87
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

26 Mar 2026 03:24PM UTC coverage: 70.892% (-1.5%) from 72.343%
23602601964

push

github

web-flow
feature: Patient Data Enhancement - Integrate medical history into detail pages (#59)

* feat: Add nested medical history panels to Patient detail page

Displays Allergies, Conditions, Family History, Immunizations,
Surgeries, Vital Baselines, Medications, and Lab Results as
searchable, sortable panels on the patient detail view in ActiveAdmin.

Each panel includes:
- Conditional rendering (only shows if data exists)
- Appropriate scoping (recent or alphabetical ordering)
- Edit links to manage individual records
- Clean, scannable table layouts

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* feat: Integrate medical history components into Patient detail page

Updates the patient detail page to display comprehensive medical history.

Features:
- Prominently displays allergies with severity indicators
- Responsive grid layout for medical history cards
- Shows conditions, family history, immunizations, surgeries
- Displays vital baselines, medications, and lab results
- Updates GraphQL query to fetch all medical history data
- Includes status badges with semantic color coding
- Scrollable card sections for better UX

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* style: Add rubocop disable for BlockLength in patients admin resource

Medical history panels naturally create longer blocks. This is a standard
pattern in ActiveAdmin resources with multiple show panels.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* excluded ActiveAdmin from BlockLength lints

* fix: Add medical history fields to patient test mock data

Updates the mockPatient object in the test file to include all new
medical history fields (allergies, conditions, family history, etc.)
as empty arrays. This prevents 'Cannot read properties of undefined'
errors in tests where the page component tries to check array lengths.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>

* removed unnecessary lint directives

---------

Co-authored-by: Claude... (continued)

1549 of 2185 relevant lines covered (70.89%)

2.17 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
53
61.59
-38.41% apps/ehr-api/apps/ehr-api/app/admin/patients.rb
Jobs
ID Job ID Ran Files Coverage
1 23602601964.1 26 Mar 2026 03:26PM UTC 87
70.89
GitHub Action Run
Source Files on build 23602601964
  • Tree
  • List 87
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23602601964
  • 9b3ef922 on github
  • Prev Build on main (#23600991801)
  • Next Build on main (#23615777097)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc