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

scarver2 / ehr-portal / 23504568662
77%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2026 05:58PM UTC
Jobs 1
Files 35
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

24 Mar 2026 05:57PM UTC coverage: 74.027% (-21.9%) from 95.91%
23504568662

push

github

web-flow
feat(phase8+ui): implement vital baselines and medical history portal components (#47)

* chore(phase2): foundation for patient conditions feature

- Add patient_conditions table migration with proper indexes
- Create PatientCondition model with status enum
- Add validation logic for date constraints
- Document Phase 2 implementation plan

Ready for GraphQL, tests, and admin interface development.

* feat(phase2): implement patient medical conditions feature

Complete Phase 2 (Patient Conditions / Past Medical History) implementation
with full CRUD functionality, GraphQL API, ActiveAdmin management, and
comprehensive test coverage.

Changes:
- Model: PatientCondition with status enum (active, resolved, chronic, inactive)
  and scopes for filtering by status and date
- RBS: Complete type signatures for model and all methods
- GraphQL: PatientConditionType with query and mutation support
- ActiveAdmin: Full resource with filters, forms, index/show views, and CSV export
- Queries: patientConditions and patientCondition resolvers with filtering
- Seeds: Sample data for 10 patients with various conditions
- Tests: 26 model tests + 3 GraphQL integration tests (100% passing)
- Factory: Comprehensive factory with status, condition, and date traits

All tests passing, type checking clean, linting within acceptable limits.

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

* fix(phase2): split enum predicate test to reduce expectations per test

* fix(phase2): add RuboCop suppressions for GraphQL integration tests

* fix(phase2): remove redundant RuboCop disable directive

* fix(phase2): suppress I18n warning for validation message

* chore(phase2): update RuboCop todo for QueryType length and GraphQL extraction

* fix(phase2): consolidate GraphQL/ExtractType exclusions, remove duplicate

* fix(phase2): move status_badge helper outside ActiveAdmin DSL

Remove 'private' keyword which is not supported in ActiveAdmin ResourceDSL.
Move helper method outside... (continued)

299 of 429 branches covered (69.7%)

Branch coverage included in aggregate %.

196 of 210 new or added lines in 10 files covered. (93.33%)

405 of 522 relevant lines covered (77.59%)

19.69 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
97.01
apps/ehr-portal/src/components/FamilyHistoryTree.tsx
5
0.0
apps/ehr-portal/src/components/MedicalHistoryPage.example.tsx
8
77.08
apps/ehr-portal/src/hooks/usePatientMedicalHistory.ts
Jobs
ID Job ID Ran Files Coverage
1 23504568662.1 24 Mar 2026 05:58PM UTC 35
74.03
GitHub Action Run
Source Files on build 23504568662
  • Tree
  • List 35
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #23504568662
  • 61f85edc on github
  • Prev Build on main (#23490872500)
  • Next Build on main (#23504568638)
  • 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