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

Added order type custom getter methods as per TRUNK-4312 #777

Closed
wants to merge 1 commit into from

Conversation

harsha89
Copy link
Contributor

No description provided.

* Get all order types available with or without retired order types according to boolean flag
*
* @param includeRetired boolean flag which indicate search needs to look at retired order types or not
* @param includeRetired if set true then will return all order types include retired order types
Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have misunderstood the @should use.Sorry will keep remind about the use

@wluyima
Copy link
Member

wluyima commented Mar 13, 2014

Looks good, i will address the comments and merge the code

@@ -267,7 +267,10 @@
<order_type order_type_id="1" name="Drug order" description="Order of medications for the patient" creator="1" date_created="2008-08-15 13:49:47.0" retired="false" uuid="84ce45a8-5e7c-48f7-a581-ca1d17d63a62"/>
<order_type order_type_id="2" name="Lab test" description="An order by a clinician for a laboratory test" creator="1" date_created="2008-08-15 13:50:14.0" retired="false" uuid="f149b5e1-4314-4d0d-a95f-1c4f8031161d"/>
<order_type order_type_id="4" name="Lunch order" description="so hungry" creator="1" date_created="2008-08-15 15:49:04.0" retired="true" uuid="e23733ab-787e-4096-8ba2-577a902d2c2b"/>
<orders order_id="1" order_type_id="2" urgency="ROUTINE" concept_id="88" orderer="1" instructions="2x daily" start_date="2008-08-08 00:00:00.0" discontinued="true" discontinued_date="2008-08-15 00:00:00.0" discontinued_by="1" creator="1" date_created="2008-08-19 12:20:22.0" voided="false" patient_id="7" uuid="921de0a3-05c4-444a-be03-e01b4c4b9142"/>
Copy link
Member

Choose a reason for hiding this comment

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

You added these the wrong file, it should be in standardTestDataset.xml file, are you sure you ran the tests and they passed

Copy link
Member

Choose a reason for hiding this comment

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

The reason they are passing is because you set up the test for including/excluding retired ones wrongly

@wluyima
Copy link
Member

wluyima commented Mar 14, 2014

Merged at e532b37

@wluyima wluyima closed this Mar 14, 2014
@harsha89
Copy link
Contributor Author

Do I need to do the necessary changes and create a pull request again? I saw this is committed.

@harsha89 harsha89 deleted the TRUNK_4312 branch April 14, 2015 18:51
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.

None yet

2 participants