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

RESTWS-429: Update OrderResource to match the most recent changes in 1.10 #818

Closed
wants to merge 1 commit into from

Conversation

dszafranek
Copy link
Contributor

No description provided.

@@ -195,6 +195,7 @@
<order_type order_type_id="14" name="X-Ray Sheet order" parent="12" java_class_name="org.openmrs.XRaySheetRadiologyOrder" description="Sample radiology sheetorder" creator="1" date_created="2008-08-15 15:49:04.0" retired="false" uuid="e83a5d30-ae07-11e3-a5e2-0800200c9a66"/>
<order_type order_type_id="15" name="Theater Order" java_class_name="org.openmrs.TheaterOrder" description="Some theater order" creator="1" date_created="2008-08-15 13:50:14.0" retired="false" uuid="bf7f3ab0-ae06-11e3-a5e2-0800200c9a66"/>
<order_type order_type_id="16" name="Lab Order" java_class_name="org.openmrs.LabOrder" description="Some lab order" creator="1" date_created="2008-08-15 15:49:04.0" retire_reason="None" retired="true" retired_by="1" date_retired="2008-08-15 00:00:00.0" uuid="cc3fb1d0-ae06-11e3-a5e2-0800200c9a66"/>
<order_type_class_map order_type_id="1" concept_class_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.

What is the use of adding this? You can add it from the module's test data

Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is the dataset which is used by module's tests. I thought that it's better approach than adding additional file with just a single data entity. Moreover, it can come in handy with other 1.10.x tests using this dataset.
Actually, every order_type and concept_class should be linked like that according to the latest changes

Copy link
Member

Choose a reason for hiding this comment

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

That's not correct, not every order type has to be linked and we intentionally left order_type 1 unlinked

@dkayiwa
Copy link
Member

dkayiwa commented Mar 28, 2014

@wluyima are we going to merge this?

@wluyima
Copy link
Member

wluyima commented Mar 28, 2014

No

@wluyima wluyima closed this Mar 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants