Skip to content

Fix#70: Make medication product fields mandatory - #69

Open
mercy-korir600 wants to merge 1 commit into
IntelliSOFT-Consulting:upgradefrom
mercy-korir600:ft/med-fields
Open

Fix#70: Make medication product fields mandatory#69
mercy-korir600 wants to merge 1 commit into
IntelliSOFT-Consulting:upgradefrom
mercy-korir600:ft/med-fields

Conversation

@mercy-korir600

Copy link
Copy Markdown

This PR makes key medication product fields mandatory in the Medication Product module to improve data completeness and prevent incomplete medication records from being submitted.

Changes Made

  • Made Generic Name mandatory.
  • Made Brand/Product Name mandatory.
  • Made **Dose, frequency, duration, route ** mandatory.
  • Added validation to prevent submission when any of the required fields are left blank.

Expected Behaviour
Users should not be able to submit a medication product record if any of the required fields are empty.

Testing

  • Tested the medication product form with all required fields populated.
  • Tested submission with individual required fields left blank.
  • Confirmed that incomplete records are prevented from being submitted.
  • Confirmed that valid medication product records can still be submitted successfully.

@mercy-korir600 mercy-korir600 changed the title Make medication product fields mandatory Fix#70: Make medication product fields mandatory Aug 24, 2026
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.

1 participant