-
Notifications
You must be signed in to change notification settings - Fork 336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modified the Patient and users names in dummy data #2608
Conversation
📝 WalkthroughWalkthroughThe changes involve updates to two JSON files: Changes
Sequence Diagram(s)sequenceDiagram
participant Facility
participant User
Facility->>Facility: Update patient names
Facility->>Facility: Update modified_date fields
User->>User: Update user details
User->>User: Add external_id field
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #2608 +/- ##
========================================
Coverage 69.53% 69.53%
========================================
Files 212 212
Lines 11966 11966
Branches 1208 1208
========================================
Hits 8320 8320
Misses 3277 3277
Partials 369 369 ☔ View full report in Codecov by Sentry. 🚨 Try these New Features:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Outside diff range and nitpick comments (1)
data/dummy/facility.json (1)
Line range hint
5080-5080
: Fix inconsistent patient naming format.The patient name "Dummy Patient 10" doesn't follow the new naming convention of using words instead of numbers. Consider updating it to "Dummy Patient Twelve" for consistency.
- "name": "Dummy Patient 10", + "name": "Dummy Patient Twelve",
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
📒 Files selected for processing (2)
data/dummy/facility.json
(17 hunks)data/dummy/users.json
(1 hunks)
🔇 Additional comments (4)
data/dummy/users.json (2)
904-904
: Consider maintaining consistent username format
The username "dev-doctor2" deviates ever so slightly from the established pattern used by other doctor accounts (like "devdoctor" and "dummydoctor"). I couldn't help but notice this tiny inconsistency might affect system-wide username validation or UI rendering.
Consider using "devdoctor2" instead to maintain consistency:
- "username": "dev-doctor2",
+ "username": "devdoctor2",
897-898
: Name changes and external_id addition look good
The updates to first_name, last_name, and the addition of the external_id field align well with the system's needs. The external_id's UUID format is particularly well-structured, almost as if someone actually put thought into it.
Also applies to: 904-904
data/dummy/facility.json (2)
5578-5578
: Verify the multiple records sharing patient_id 18.
There are 8 consultation records (pk: 19-26) all referencing the same patient (pk: 18). This could indicate potential data duplication or an intentional design choice. Please verify if this is intended.
Also applies to: 5661-5661, 5744-5744, 5827-5827, 5910-5910, 5993-5993, 6076-6076, 6159-6159
Line range hint 1-6242
: LGTM! The overall data structure looks good.
The JSON file maintains proper structure, consistent field formats, and appropriate data anonymization throughout. The patient name changes align with the PR objectives.
Proposed Changes
Associated Issue
Architecture changes
Merge Checklist
/docs
Only PR's with test cases included and passing lint and test pipelines will be reviewed
@ohcnetwork/care-backend-maintainers @ohcnetwork/care-backend-admins
Summary by CodeRabbit