Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete other order stuff before deleting current order - TRUNK-3289
TRUNK-3289a TRUNK-3289a -- change OrderServiceTest TRUNK-3289 new method and test - deleteObsThatReference TRUNK-3289 Remove comments Removed debug code, added javadoc TRUNK-3289 cleanup code TRUNK-3289 remove unneccessary code Cleaned up the query that deletes related obs - TRUNK-3289
- Loading branch information
Showing
6 changed files
with
89 additions
and
5 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
11 changes: 11 additions & 0 deletions
11
api/src/test/resources/org/openmrs/api/include/OrderServiceTest-deleteObsThatReference.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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<dataset> | ||
<orders order_id="61" order_number="ORD-61" order_action="ORDER" urgency="ROUTINE" start_date="2012-08-19 00:00:00.0" creator="1" date_created="2012-01-19 12:24:10.0" voided="false" uuid="0c96f25c-4949-4f72-9931-d808fbcdb612"/> | ||
<orders order_id="71" order_number="ORD-71" order_action="ORDER" urgency="ROUTINE" start_date="2012-09-19 00:00:00.0" creator="1" date_created="2012-01-19 12:24:10.0" voided="false" uuid="1c96f25c-4949-4f72-9931-d808fbcdb613"/> | ||
<orders order_id="72" order_number="ORD-72" order_action="ORDER" urgency="ROUTINE" start_date="2012-08-19 00:00:00.0" creator="1" date_created="2012-01-19 12:24:10.0" voided="true" uuid="1c96f25c-4949-4f72-9931-d808fbcdb615"/> | ||
|
||
<obs obs_id="1" person_id="2" concept_id="88" order_id="61" obs_datetime="2006-02-09 00:00:00.0" creator="1" date_created="2006-02-10 15:57:35.0" voided="true" uuid="be3a4d7a-f9ab-47bb-aaad-bc0b452fcda4"/> | ||
<obs obs_id="2" person_id="2" concept_id="792" order_id="61" obs_datetime="2006-02-09 00:00:00.0" creator="1" date_created="2006-02-10 15:57:35.0" voided="true" uuid="b5499df2-b17c-4b39-88a6-44591c165569"/> | ||
<obs obs_id="3" person_id="6" concept_id="88" order_id="71" obs_datetime="2006-02-09 00:00:00.0" creator="1" date_created="2006-02-10 15:57:35.0" voided="true" uuid="efbba621-51ca-428b-8671-4f4eede10b4b"/> | ||
<obs obs_id="4" person_id="2" concept_id="792" order_id="72" obs_datetime="2006-02-09 00:00:00.0" creator="1" date_created="2006-02-10 15:57:35.0" voided="true" uuid="144cb55d-69ab-4009-8256-f4750e8770ee"/> | ||
</dataset> |