Skip to content

BAH-4739 | Add new dose units enum constants and fix extension path derivation logic - #32

Merged
lingeswaranTW merged 1 commit into
Bahmni:masterfrom
cureinternational:BAH-4739
Jul 21, 2026
Merged

BAH-4739 | Add new dose units enum constants and fix extension path derivation logic#32
lingeswaranTW merged 1 commit into
Bahmni:masterfrom
cureinternational:BAH-4739

Conversation

@sasikiran-tw

Copy link
Copy Markdown
Contributor

Description:

Summary

  • Added MCG and ML enum constants to the Dose domain class to support the new mcg/kg and ml/kg dosage rules
  • Fixed extension path derivation logic in RulesEngineImpl to correctly resolve the rules engine execution path

Test plan

  • Verify mcg/kg rule calculates dose as Dose Value × Latest Patient Weight (kg) and resolves unit to mcg
  • Verify ml/kg rule calculates dose as Dose Value × Latest Patient Weight (kg) and resolves unit to ml
  • Verify existing mg/kg rule is unaffected

@lingeswaranTW
lingeswaranTW merged commit 3c2cae9 into Bahmni:master Jul 21, 2026
2 checks passed
@lingeswaranTW
lingeswaranTW deleted the BAH-4739 branch July 21, 2026 08:45
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