Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(fix) O3-4039: Enable backdating a prescription's start date #2057

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Commits on Oct 7, 2024

  1. (fix) O3-4039: Enable backdating a prescription's start date

    This PR fixes an issue where the Start date field of the drug order form was not being set correctly. The default value for the field was being set to the current date. Instead, the field should be set to the value of the medication order's `dateActivated` property (when editing an existing order) or the current date (when creating a new order).
    
    This PR also refactors the MedicationsDetailsTable component to leverage the new MedicationsDisplaySection sub-component. The idea with this refactor is to clean up the logic for rendering the medications section and to make the component more modular and easier to maintain.
    
    Ticket: https://openmrs.atlassian.net/browse/O3-4039
    denniskigen committed Oct 7, 2024
    Configuration menu
    Copy the full SHA
    7ea8cbd View commit details
    Browse the repository at this point in the history