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

Trunk 4282: Orders.orderer should be required #709

Closed
wants to merge 2 commits into from

Conversation

alexisduque
Copy link
Contributor

No description provided.

@@ -435,7 +435,7 @@ public Order cloneForDiscontinuing() {
newOrder.setPatient(this.getPatient());
newOrder.setDrug(this.getDrug());
newOrder.setStartDate(this.getStartDate());

newOrder.setOrderer(this.getOrderer());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is not right because the provider who prescribed the order is not always going to be the same person to discontinue it, so don't copy this field



<changeSet id="201403011348" author="alexisduque">
<preConditions onFail="MARK_RAN">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is incorrect, you want this to fail not to skip, i have fixed it at babbe52

@wluyima wluyima closed this Mar 9, 2014
RandilaP pushed a commit to RandilaP/openmrs-core that referenced this pull request Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants