Plan for OpenMRS Core 2.0.x

Build: #46 was successful Changes by ys-achinta <achintar@thoughtworks.com>

Stages & jobs

  1. Build and Test

  2. Deploy

  3. Release

    Requires a user to start manually

Build result summary

Details

Completed
Queue duration
1 second
Duration
12 minutes
Labels
None
Revisions
openmrs-core
2ba3b4c24f41c6da5d36371ea5f940a394ff9435 2ba3b4c24f41c6da5d36371ea5f940a394ff9435
openmrs-standalone
0ce29bae9faefe443587a59d1a2d0070d49915e9 0ce29bae9faefe443587a59d1a2d0070d49915e9
Release scripts
a9c6b4741f415820e397e9b150cf80baca7f9368 a9c6b4741f415820e397e9b150cf80baca7f9368
Total tests
3249
Successful since
#19 ()

Tests

Code commits

openmrs-core
Author Commit Message Commit date
ys-achinta <achintar@thoughtworks.com> ys-achinta <achintar@thoughtworks.com> 2ba3b4c24f41c6da5d36371ea5f940a394ff9435 2ba3b4c24f41c6da5d36371ea5f940a394ff9435 TRUNK-4834 | Support for orderSets and orderGroups
Creating OrderSet, OrderSetMember metadata,
Corresponding tables order_set, order_set_meber,
Services OrderSetService for operations on the metadata.
Creating OrderGroup
Adding extra methods in OrderService for saving the OrderGroup,
Updating the Order model to have new fields for OrderGroup

Used a List for putting the orderSetMembers in OrderSet,
        (Hibernate internally sets the sequenceNumber)
Added functionality in OrderSet to add a member at a particular position
Used a List for putting the orders in the OrderGroup,
        (Used a bag for mapping the list of orders in hibernate mapping file)
Added functionality in OrderGroup to add an order at a particular postion.

Added functionality for the API to handle negative position values for adding orderSetMembers and Orders
Added validation for illegal position values for adding orderSetMembers and Orders

Added a parameter to the OrderSetMember model to take in a templateType.
(This template type is a name which will decide the schema of the orderTemplate
to be generated)

OrderSet-Implementation:
Added two utility methods to Encounter model
        a. to getOrderGroups within a list of orders
        b. to get the orders which are not associated with orderGroups

EncounterSave iterates through the list of orderGroups and saves them one by one.
EncounterSave iterates through a list of order not having orderGroups for saving them.

OrderService saves an orderGroup and the orders within it.

(cherry picked from commit 008b101aaae07cb61006beec703b3cc4e7f05a6b)

Jira issues

IssueDescriptionStatus
Unknown Issue TypeTRUNK-4834Could not obtain issue details from Jira