Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 13 additions & 4 deletions api/src/main/java/org/openmrs/Order.java
Original file line number Diff line number Diff line change
Expand Up @@ -54,19 +54,28 @@ public enum Action {
DISCONTINUE,
RENEW
}

/**
* Valid values for the status of an order that is received from a filler
* @since 2.2.0
* Aligned with FHIR Task Status: https://hl7.org/fhir/codesystem-task-status.html
* @since 2.2.0
* @since 2.6.1 added ON_HOLD & DECLINED
* @since 2.8.x added DRAFT, REQUESTED, ACCEPTED, REJECTED, READY, CANCELLED, FAILED, ENTERED_IN_ERROR
*/
public enum FulfillerStatus {
RECEIVED,
RECEIVED,
IN_PROGRESS,
EXCEPTION,
ON_HOLD,
DECLINED,
COMPLETED
COMPLETED,
DRAFT,
REQUESTED,
ACCEPTED,
REJECTED,
CANCELLED,
FAILED,
ENTERED_IN_ERROR
}

private Integer orderId;
Expand Down