Skip to content

BAH-4209 | Extend eoc model#19

Merged
mohan-13 merged 18 commits into
masterfrom
EXTEND-EOC-MODEL
Nov 2, 2025
Merged

BAH-4209 | Extend eoc model#19
mohan-13 merged 18 commits into
masterfrom
EXTEND-EOC-MODEL

Conversation

@angshu

@angshu angshu commented Oct 14, 2025

Copy link
Copy Markdown
Member
  • Extended model (liquibase) - Episode model extension for status, period (date start, date end), type/classification, reasons, Attributes (type definition and Values), Introduced resource for EpisodeAttribute
  • New reference table for Episode and Visit.

Comment thread api/src/main/java/org/openmrs/module/episodes/Episode.java Outdated
Comment thread api/src/main/java/org/openmrs/module/episodes/Episode.java Outdated
@mohan-13

mohan-13 commented Nov 1, 2025

Copy link
Copy Markdown
Member

@angshu I can also see that there is no privilege check happening on the /episode-attribute-type resource. May be because the service is not registered to go through OpenMRS interceptors ?

image

@mohan-13

mohan-13 commented Nov 1, 2025

Copy link
Copy Markdown
Member

The PR description says a reference for episode and visit is added. I couldn't see any new table @angshu ?

@angshu

angshu commented Nov 1, 2025

Copy link
Copy Markdown
Member Author

@angshu I can also see that there is no privilege check happening on the /episode-attribute-type resource. May be because the service is not registered to go through OpenMRS interceptors ?

Yes. But doing that, will break Bahmni-core programs. Thought of doing this in another PR.

@angshu

angshu commented Nov 1, 2025

Copy link
Copy Markdown
Member Author

The PR description says a reference for episode and visit is added. I couldn't see any new table @angshu ?

there is a table "episode_visit", which maps to set in episode model

@mohan-13

mohan-13 commented Nov 1, 2025

Copy link
Copy Markdown
Member

The PR description says a reference for episode and visit is added. I couldn't see any new table @angshu ?

there is a table "episode_visit", which maps to set in episode model

alright, missed that

@mohan-13 mohan-13 merged commit bd87d61 into master Nov 2, 2025
2 checks passed
@mohan-13 mohan-13 deleted the EXTEND-EOC-MODEL branch November 2, 2025 10:51
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