Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed unique constraint from order_type.java_class_name and updated…
… OrderService.getActiveOrders and getOrders to include orders for sub types if order type is specified Follow up Follow up
- Loading branch information
Showing
9 changed files
with
86 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 5 additions & 4 deletions
9
api/src/test/resources/org/openmrs/api/include/OrderServiceTest-otherOrders.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<dataset> | ||
<orders order_id="6" order_number="6" 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="0c96f25c-4949-4f72-9931-d808fbcdb611" care_setting="1"/> | ||
<orders order_id="7" order_number="7" urgency="ROUTINE" order_action="NEW" concept_id="792" orderer="1" instructions="" start_date="2012-09-19 00:00:00.0" creator="1" date_created="2012-02-19 12:24:10.0" voided="false" patient_id="2" uuid="1c96f25c-4949-4f72-9931-d808fbcdb612" care_setting="1"/> | ||
<drug_order order_id="6" drug_inventory_id="3" dose="125.0" dose_units="50" frequency="1" as_needed="false" dosing_type="SIMPLE"/> | ||
<drug_order order_id="7" drug_inventory_id="3" dose="225.0" dose_units="50" frequency="1" as_needed="false" dosing_type="SIMPLE"/> | ||
<order_type order_type_id="100" name="some Order Type" parent="2" java_class_name="org.openmrs.TestOrder" description="Some lab order" creator="1" date_created="2008-08-15 15:49:04.0" retired="1" retired_by="1" retire_reason="None" date_retired="2008-08-15 00:00:00.0" uuid="dd3fb1d0-ae06-22e3-a5e2-0800211c9a66"/> | ||
<orders order_id="101" order_type="7" order_number="ORD-101" urgency="ROUTINE" order_action="NEW" concept_id="5497" orderer="1" start_date="2008-11-19 09:24:10.0" patient_id="2" care_setting="1" encounter_id="6" uuid="7d96f25c-4949-4f72-9931-d808fbc226de" date_created="2008-11-19 09:24:10.0" creator="1" voided="0" /> | ||
<orders order_id="102" order_type="100" order_number="ORD-102" urgency="ROUTINE" order_action="NEW" concept_id="5497" orderer="1" start_date="2008-12-19 09:24:10.0" patient_id="2" care_setting="1" encounter_id="6" uuid="8d96f25c-4949-4f72-9931-d808fbc226de" date_created="2008-12-19 09:24:10.0" creator="1" voided="0" /> | ||
<orders order_id="103" order_type="9" order_number="ORD-103" urgency="ROUTINE" order_action="NEW" concept_id="5497" orderer="1" start_date="2008-13-19 09:24:10.0" patient_id="2" care_setting="1" encounter_id="6" uuid="9d96f25c-4949-4f72-9931-d808fbc226de" date_created="2008-13-19 09:24:10.0" creator="1" voided="0" /> | ||
<orders order_id="104" order_type="10" order_number="ORD-104" urgency="ROUTINE" order_action="NEW" concept_id="5497" orderer="1" start_date="2008-14-19 09:24:10.0" patient_id="2" care_setting="1" encounter_id="6" uuid="0d96f25c-4949-4f72-9931-d808fbc226de" date_created="2008-14-19 09:24:10.0" creator="1" voided="0" /> | ||
</dataset> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters