-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Drug orders for different formulations of the same concept should be …
…allowed - TRUNK-4436 TRUNK-4436: Improve the order service test and use nullSafeEquals TRUNK-4436: Use nullSafeEquals in Order
- Loading branch information
Showing
7 changed files
with
256 additions
and
13 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
13 changes: 13 additions & 0 deletions
13
...nmrs/api/include/OrderServiceTest-drugOrdersWitSameConceptAndDifferentFormAndStrength.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,13 @@ | ||
<?xml version='1.0' encoding='UTF-8'?> | ||
<dataset> | ||
<concept concept_id="1000" retired="0" datatype_id="4" class_id="3" is_set="0" creator="1" date_created="2004-08-12 00:00:00.0" version="" uuid="8e02d1a0-7869-11e3-981f-0800200c9a76"/> | ||
<concept_name concept_name_id="2000" concept_id="1000" name="Paracetamol" locale="en" creator="1" date_created="2008-08-15 13:52:53.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="0" uuid="93f24a00-7869-11e3-981f-0800200c9a67"/> | ||
<concept concept_id="1001" retired="0" datatype_id="4" class_id="11" is_set="0" creator="1" date_created="2004-08-12 00:00:00.0" version="" uuid="290cb421-4e42-425e-b8d3-0b91224b7994"/> | ||
<concept_name concept_name_id="2001" concept_id="1001" name="Tablet" locale="en" creator="1" date_created="2008-08-15 13:52:53.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="0" uuid="34d4d8c1-988b-4667-b127-199ab44f6e8e"/> | ||
<concept concept_id="1002" retired="0" datatype_id="4" class_id="11" is_set="0" creator="1" date_created="2004-08-12 00:00:00.0" version="" uuid="6be8113a-f1a3-43bb-b661-a276a1330360"/> | ||
<concept_name concept_name_id="2002" concept_id="1002" name="Injection" locale="en" creator="1" date_created="2008-08-15 13:52:53.0" concept_name_type="FULLY_SPECIFIED" locale_preferred="1" voided="0" uuid="4a6def87-5766-40f6-80ce-003f73b126df"/> | ||
<drug drug_id="3000" concept_id="1000" name="Paracetamol 500mg" dosage_form="1001" combination="false" strength="500mg" creator="1" date_created="2005-02-24 00:00:00.0" retired="false" uuid="e338a9b5-d6a6-419b-a381-1b2461f0d886"/> | ||
<drug drug_id="3001" concept_id="1000" name="Paracetamol 2ml" dosage_form="1002" combination="false" strength="2ml" creator="1" date_created="2005-02-24 00:00:00.0" retired="false" uuid="865fceb1-ad0c-4102-aead-26ca25c77b09"/> | ||
<orders order_id="1000" order_type_id="1" order_number="ORD-1000" urgency="ROUTINE" order_action="NEW" concept_id="1000" 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="56b9196c-bcac-4c2f-b3a2-625264a96439" care_setting="1" encounter_id="6" /> | ||
<drug_order order_id="1000" drug_inventory_id="3000" dose="3" dose_units="50" as_needed="false" frequency="1" dosing_type="SIMPLE" route="22" quantity="1.0" quantity_units="2" num_refills="10" dispense_as_written="0" /> | ||
</dataset> |