From e13781064e847f04cf356fe0c226367c567fe32b Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Thu, 11 Jan 2024 17:35:39 +0530 Subject: [PATCH 1/2] avniproject/avni-client#1277 - removed fields which are not part of state of draft encounter --- src/draft/DraftEncounter.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/draft/DraftEncounter.js b/src/draft/DraftEncounter.js index 366ad45..f719527 100644 --- a/src/draft/DraftEncounter.js +++ b/src/draft/DraftEncounter.js @@ -136,8 +136,6 @@ class DraftEncounter extends BaseEntity { draftEncounter.cancelObservations = ObservationsHolder.clone(encounter.cancelObservations); draftEncounter.cancelLocation = encounter.cancelLocation; draftEncounter.voided = encounter.voided; - draftEncounter.registrationLocation = encounter.registrationLocation; - draftEncounter.updatedOn = new Date(); return draftEncounter; } @@ -156,7 +154,6 @@ class DraftEncounter extends BaseEntity { encounter.cancelObservations = ObservationsHolder.clone(this.cancelObservations); encounter.cancelLocation = this.cancelLocation; encounter.voided = this.voided; - encounter.registrationLocation = this.registrationLocation; encounter.approvalStatuses = []; return encounter; } From af4398beff560c4a31f738fc5fa125ef0f021f9b Mon Sep 17 00:00:00 2001 From: Vivek Singh Date: Thu, 11 Jan 2024 17:36:06 +0530 Subject: [PATCH 2/2] v1.31.16 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f48f24f..fafc6ad 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "openchs-models", "description": "OpenCHS data model to be used by front end clients", - "version": "1.31.14", + "version": "1.31.16", "private": false, "repository": { "type": "git",