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 isType method for order class to check orderType of order against specified order #805

Closed
wants to merge 1 commit into from

Conversation

harsha89
Copy link
Contributor

Solution for TRUNK-4290

@@ -252,6 +252,8 @@
<orders order_id="7" order_type="2" order_number="ORD-7" urgency="ROUTINE" order_action="NEW" concept_id="5497" orderer="1" start_date="2008-10-19 09:24:10.0" creator="1" date_created="2008-10-19 09:24:10.0" voided="false" patient_id="2" uuid="2c96f25c-4949-4f72-9931-d808fbc226df" care_setting="1" encounter_id="6" />
<orders order_id="8" order_type="2" order_number="ORD-8" urgency="ROUTINE" order_action="NEW" concept_id="5497" orderer="1" start_date="2008-11-19 09:24:10.0" creator="1" date_created="2008-11-19 09:24:10.0" patient_id="2" voided="true" voided_by="1" date_voided="2008-11-20 09:24:10.0" void_reason="Testing 1" uuid="3c96f25c-4949-4f72-9931-d808fbc226dg" care_setting="1" encounter_id="6" />
<orders order_id="9" order_type="2" order_number="ORD-9" urgency="ROUTINE" order_action="NEW" concept_id="5497" orderer="1" start_date="2008-12-01 09:24:10.0" date_stopped="2008-12-03 09:24:10.0" auto_expire_date="2008-12-05 09:24:10.0" creator="1" date_created="2008-12-01 09:24:10.0" voided="false" patient_id="2" uuid="4c96f25c-4949-4f72-9931-d808fbc226dh" care_setting="1" encounter_id="6" />
<orders order_id="34" order_number="34" order_type="9" urgency="ROUTINE" order_action="NEW" concept_id="88" orderer="1" instructions="" start_date="2012-08-19 00:00:00.0" creator="1" date_created="2012-01-19 12:24:10.0" voided="false" patient_id="2" uuid="22e4b610-b060-11e3-a5e2-0800200c9a66" care_setting="1" encounter_id="3"/>
Copy link
Member

Choose a reason for hiding this comment

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

Did you really need to add this? you can create a new instance of the order and use that in the test

@wluyima
Copy link
Member

wluyima commented Mar 20, 2014

I will fix the comments as i merge the code

@wluyima
Copy link
Member

wluyima commented Mar 21, 2014

Made some changes and merged at f00b9f0

@wluyima wluyima closed this Mar 21, 2014
@harsha89 harsha89 deleted the TRUNK-4290 branch April 14, 2015 18:52
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