Issues with Template Management and Medicine Naming in Prescription Module

XMLWordPrintable

    • Type: Bug
    • Resolution: Done
    • Priority: High
    • 1.0
    • Affects Version/s: None
    • None

      Description:
      There are multiple issues identified in the Prescription Module related to template functionality and medicine details management:

      1. Delete Template & Save Template Not Working:
        • After adding a template, it is not getting deleted when the delete option is used.
        • The save template functionality is also not working correctly.
      1. Medicine Naming Issue:
        • When two medicines are added (e.g., Medicine-1 & Medicine-2) and the first one is removed, the second medicine still retains the name Medicine-2 instead of updating to Medicine-1.
        • This creates confusion as only one medicine remains, but it still shows as Medicine-2.
      1. Issue with Adding More Medicines:
        • Unable to add a third or fourth medicine for a single beneficiary.
        • If two medicines are added and one is removed, the system does not allow adding more medicines beyond the initial two.

      Steps to Reproduce:

      1. Navigate to the Prescription Module.
      2. Try to add and delete a template and observe that deletion is not working.
      3. Add two medicines, delete the first one, and observe that the second one still appears as Medicine-2 instead of Medicine-1.
      4. Try adding more medicines after removing one and check if additional medicines can be added.

      Expected Result:

      • Delete and Save Template functionalities should work properly.
      • Medicine names should update dynamically when an item is removed.
      • Users should be able to add more than two medicines without restrictions.

      Actual Result:

      • Template deletion and saving are not functioning.
      • Medicine names are not updating correctly upon deletion.
      • Unable to add 3rd or 4th medicine for a single beneficiary if one is removed.

              Assignee:
              Deep Shikha
              Reporter:
              Deep Shikha
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: