Skip to content

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

Open
sasikiran-tw wants to merge 1 commit into
Bahmni:masterfrom
cureinternational:BAH-4739
Open

BAH-4739 | Add new dose units enum constants and fix extension path derivation logic#32
sasikiran-tw wants to merge 1 commit into
Bahmni:masterfrom
cureinternational:BAH-4739

Conversation

@sasikiran-tw

Copy link
Copy Markdown

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

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