-
Notifications
You must be signed in to change notification settings - Fork 649
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
Treatment and Discharge Summary for Completed Encounters #11141
base: develop
Are you sure you want to change the base?
Treatment and Discharge Summary for Completed Encounters #11141
Conversation
WalkthroughThis pull request simplifies the conditional rendering logic in both the Changes
Sequence Diagram(s)sequenceDiagram
participant EA as EncounterActions
participant DS as disableButtons Flag
participant ES as Encounter Status
participant AD as AlertDialog
EA->>DS: Check disableButtons
alt Buttons enabled
EA->>ES: Evaluate encounter status
alt Status not completed
EA->>AD: Render AlertDialog
else
EA-->>AD: Do not render AlertDialog
end
else
EA->>EA: Do not render content
end
sequenceDiagram
participant PIC as PatientInfoCard
participant DS as disableButtons Flag
participant Btn as Consultation Buttons
PIC->>DS: Check disableButtons
alt Buttons enabled
PIC->>Btn: Render Consultation Buttons
else
PIC-->>Btn: Omit Consultation Buttons
end
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (3)
🔇 Additional comments (4)
✨ Finishing Touches
🪧 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 (
|
✅ Deploy Preview for care-ohc ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Proposed Changes
@ohcnetwork/care-fe-code-reviewers

Slack Thread
https://rebuildearth.slack.com/archives/C010GQBMFJ9/p1741385328945659
Merge Checklist
Summary by CodeRabbit