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

scarver2 / ehr-portal / 23504568638
77%

Build:
DEFAULT BRANCH: main
Ran 24 Mar 2026 06:00PM UTC
Jobs 1
Files 68
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: 78.263% (-17.6%) from 95.91%
23504568638

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)

1343 of 1716 relevant lines covered (78.26%)

2.51 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
8
82.98
-13.18% apps/ehr-api/apps/ehr-api/app/graphql/types/patient_type.rb
Jobs
ID Job ID Ran Files Coverage
1 23504568638.1 24 Mar 2026 06:00PM UTC 68
78.26
GitHub Action Run
Source Files on build 23504568638
  • Tree
  • List 68
  • Changed 3
  • Source Changed 0
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23504568638
  • 61f85edc on github
  • Prev Build on main (#23490872500)
  • Next Build on main (#23513749677)
  • 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