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

scarver2 / ehr-portal / 23600991801
78%

Build:
DEFAULT BRANCH: main
Ran 26 Mar 2026 02:55PM 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 02:52PM UTC coverage: 72.343% (-4.2%) from 76.554%
23600991801

push

github

web-flow
Feature/icd10 codes (#58)

* feat: Add ICD10 codes reference table with associations

- Create ICD10Code model with code, description, category, requires_7th_char, billable, and notes fields
- Add database migrations for icd10_codes table and FK to diagnoses
- Seed 50 common ICD-10 codes across medical categories
- Update Diagnosis model to belong_to ICD10Code
- Create ICD10CodeType for GraphQL queries
- Update DiagnosisType to expose icd10CodeObject
- Create ActiveAdmin resource for ICD-10 code management
- Update Diagnoses ActiveAdmin to use ICD10Code select dropdown
- Add ICD10Code factory with common diagnosis traits
- Update Diagnosis factory to use ICD10Code associations
- Update specs to work with new association structure
- Add Ransack support for filtering and searching

This enables better diagnosis management with proper reference data and
validation through the ICD-10 lookup table.

* fix: Correct Rails naming conventions for ICD10Code model

- Rename ICD10Code class to Icd10Code (Rails standard convention)
- Update all references in models, admin, GraphQL types, factories, and specs
- Fix migration class names (CreateIcd10Codes, AddIcd10CodeToDiagnoses)
- Update seed file to use correct model name
- Seed file now runs successfully with 50 ICD-10 codes

* fix: Add RBS type stubs and fix type checking errors

- Create sig/app/models/icd10_code.rbs with proper type annotations
- Update sig/app/models/diagnosis.rbs to include icd10_code association
- Refactor Diagnosis.by_code to use subquery instead of joins for type safety
- Alternative implementation uses: where(icd10_code_id: Icd10Code.where(...).select(:id))
- All type checks now passing with Steep

* feat: Add comprehensive GraphQL object and field descriptions

- Add type descriptions to all GraphQL types explaining purpose and usage
- Add detailed field descriptions for: Icd10CodeType, DiagnosisType, EncounterType, VitalType, SpecialtyType, UserType
- Improves API discoverability and ... (continued)

1525 of 2108 relevant lines covered (72.34%)

2.22 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23600991801.1 26 Mar 2026 02:55PM UTC 87
72.34
GitHub Action Run
Source Files on build 23600991801
  • Tree
  • List 87
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #23600991801
  • 79f29733 on github
  • Prev Build on main (#23572037483)
  • Next Build on main (#23602601968)
  • 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