Skip to content

(fix) add location attribute on cohort creation#252

Merged
icrc-jofrancisco merged 1 commit intoopenmrs:mainfrom
icrc-jofrancisco:fix/cohort-location
Feb 26, 2026
Merged

(fix) add location attribute on cohort creation#252
icrc-jofrancisco merged 1 commit intoopenmrs:mainfrom
icrc-jofrancisco:fix/cohort-location

Conversation

@icrc-jofrancisco
Copy link
Contributor

Requirements

  • This PR has a title that briefly describes the work done, including the ticket number if there is a ticket.
  • My work conforms to the OpenMRS 3.0 Styleguide.
  • My work includes tests or is validated by existing tests.

Summary

When a cohort is created, its location is now derived from the current session location and persisted on the entity when created by Fast Data Entry.

Patient lists include filters by location. If a cohort does not have a consistent, persisted location, filtering can return incorrect or incomplete results.

Screenshots

Related Issue

Other

@icrc-jofrancisco icrc-jofrancisco merged commit 824dde4 into openmrs:main Feb 26, 2026
6 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.

2 participants