From aa45884a2a68176a54bb571b189926db6c4ccd66 Mon Sep 17 00:00:00 2001 From: riyaTw <126869458+riyaTw@users.noreply.github.com> Date: Mon, 8 Jan 2024 15:38:15 +0530 Subject: [PATCH] BAH-3448 | Add. Accession number field in Order class (#219) * BAH-3448 | Add. Accession number field in Order class | [Riya/Sweety] * BAH-3448 | Add. Since annotation in public methods of accessionNumber | [Riya/Sweety] --- .../encounter/domain/EncounterTransaction.java | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/api/src/main/java/org/openmrs/module/emrapi/encounter/domain/EncounterTransaction.java b/api/src/main/java/org/openmrs/module/emrapi/encounter/domain/EncounterTransaction.java index 65cd2764e..c9519b058 100644 --- a/api/src/main/java/org/openmrs/module/emrapi/encounter/domain/EncounterTransaction.java +++ b/api/src/main/java/org/openmrs/module/emrapi/encounter/domain/EncounterTransaction.java @@ -632,6 +632,7 @@ public static class Order { private String instructions; private String uuid; private String orderType; + private String accessionNumber; private OrderGroup orderGroup; private Date dateCreated; private Date dateChanged; @@ -655,6 +656,20 @@ public Date getAutoExpireDate() { return autoExpireDate; } + /** + * @since 1.35.0 + */ + public String getAccessionNumber() { + return accessionNumber; + } + + /** + * @since 1.35.0 + */ + public void setAccessionNumber(String accessionNumber) { + this.accessionNumber = accessionNumber; + } + public void setAutoExpireDate(Date autoExpireDate) { this.autoExpireDate = autoExpireDate; }