diff --git a/package.json b/package.json index 6e93b1f..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.15", + "version": "1.31.16", "private": false, "repository": { "type": "git", 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; }