Skip to content

RA-2107: AppContextModel: add new "hasAnyActiveVisit" to model - #533

Merged
mogoodrich merged 3 commits into
masterfrom
RA-2107
May 12, 2026
Merged

mogoodrich merged 3 commits into
masterfrom
RA-2107

Conversation

@mogoodrich

Copy link
Copy Markdown
Member

No description provided.

@mogoodrich

Copy link
Copy Markdown
Member Author

Was trying to come up with a good name for this property... use case is we only want the "Start Visit" button to appear if the patient does not have an active visit at any location, so we need a way to figure this out.

Took the opportunity to have Claude add tests for all of this as well.

@mogoodrich
mogoodrich requested review from cioan and mseaton May 11, 2026 21:19

@cioan cioan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Thanks @mogoodrich !

@mseaton mseaton left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me. That is a disproportionally massive number of tests for this feature! :) I assume you wrote all of those yourself.

@mogoodrich

Copy link
Copy Markdown
Member Author

Thanks @cioan @mseaton ... yeah, there were no tests around this class at all, so I took the opportunity to have Claude create them. Really helpful.

@mogoodrich
mogoodrich merged commit 24eb400 into master May 12, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants