Skip to content

SIMPLEBACK-34: Add sync API for patient scores#5766

Open
sshinde-rtsl wants to merge 2 commits intomasterfrom
SIMPLEBACK-34
Open

SIMPLEBACK-34: Add sync API for patient scores#5766
sshinde-rtsl wants to merge 2 commits intomasterfrom
SIMPLEBACK-34

Conversation

@sshinde-rtsl
Copy link
Contributor

@sshinde-rtsl sshinde-rtsl commented Feb 9, 2026

  • Add migration to create patient_scores table (with existence check)
  • Add PatientScore model with Mergeable concern
  • Add Api::V4::PatientScoresController with sync_to_user only
  • Add PatientScoreTransformer for response transformation
  • Add patient_score schema to Api::V4::Models
  • Add GET route for /patient_scores/sync

Story card: SIMPLEBACK-34

Because

Enter the reason for raising this PR...

This addresses

Enter the details of what all this covers...

Test instructions

Enter detailed instructions for how to test this PR...

@sshinde-rtsl sshinde-rtsl force-pushed the SIMPLEBACK-34 branch 3 times, most recently from 1a7bde0 to f66b218 Compare February 11, 2026 07:11
- Add migration to create patient_scores table (with existence check)
- Add PatientScore model with Mergeable concern
- Add Api::V4::PatientScoresController with sync_to_user only
- Add PatientScoreTransformer for response transformation
- Add patient_score schema to Api::V4::Models
- Add GET route for /patient_scores/sync
- Add factory and controller spec for patient_scores (sync_to_user only)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant