openchs-models 1.33.63 → 1.33.65
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Session.js +2 -0
- package/package.json +1 -1
package/dist/Session.js
CHANGED
|
@@ -185,6 +185,7 @@ class Session extends _BaseEntity.default {
|
|
|
185
185
|
if (!enrolment) return;
|
|
186
186
|
encounter = new _ProgramEncounter.default();
|
|
187
187
|
encounter.uuid = _General.default.randomUUID();
|
|
188
|
+
encounter.name = encounterType.name;
|
|
188
189
|
encounter.encounterType = encounterType;
|
|
189
190
|
encounter.programEnrolment = enrolment;
|
|
190
191
|
encounter.earliestVisitDateTime = earliestVisit;
|
|
@@ -195,6 +196,7 @@ class Session extends _BaseEntity.default {
|
|
|
195
196
|
} else {
|
|
196
197
|
encounter = new _Encounter.default();
|
|
197
198
|
encounter.uuid = _General.default.randomUUID();
|
|
199
|
+
encounter.name = encounterType.name;
|
|
198
200
|
encounter.encounterType = encounterType;
|
|
199
201
|
encounter.individual = student;
|
|
200
202
|
encounter.earliestVisitDateTime = earliestVisit;
|