openchs-models 1.32.53 → 1.33.0
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/AddressLevel.js +8 -2
- package/dist/Checklist.js +8 -2
- package/dist/ChecklistItem.js +10 -3
- package/dist/ChecklistItemDetail.js +12 -4
- package/dist/Comment.js +8 -2
- package/dist/ConceptAnswer.js +4 -1
- package/dist/CustomDashboardCache.js +4 -1
- package/dist/DashboardSection.js +4 -1
- package/dist/DashboardSectionCardMapping.js +8 -2
- package/dist/Encounter.js +6 -2
- package/dist/EntityApprovalStatus.js +4 -1
- package/dist/Family.js +8 -2
- package/dist/GroupDashboard.js +6 -2
- package/dist/GroupPrivileges.js +8 -2
- package/dist/GroupRole.js +8 -2
- package/dist/GroupSubject.js +12 -3
- package/dist/IdentifierAssignment.js +8 -3
- package/dist/Individual.js +12 -4
- package/dist/Observation.js +4 -1
- package/dist/ProgramEncounter.js +4 -2
- package/dist/ProgramEnrolment.js +10 -3
- package/dist/ReportCard.js +2 -1
- package/dist/Settings.js +2 -1
- package/dist/application/FormElement.js +10 -3
- package/dist/application/FormElementGroup.js +4 -1
- package/dist/application/FormMapping.js +8 -3
- package/dist/draft/DraftEncounter.js +8 -2
- package/dist/draft/DraftSubject.js +10 -3
- package/dist/program/SubjectProgramEligibility.js +8 -2
- package/dist/relationship/IndividualRelationGenderMapping.js +8 -2
- package/dist/relationship/IndividualRelationship.js +12 -3
- package/dist/relationship/IndividualRelationshipType.js +8 -2
- package/dist/reports/DashboardFilter.js +4 -1
- package/dist/task/Task.js +8 -2
- package/dist/task/TaskStatus.js +4 -1
- package/dist/videos/VideoTelemetric.js +4 -1
- package/package.json +1 -1
package/dist/AddressLevel.js
CHANGED
|
@@ -84,8 +84,14 @@ _defineProperty(LocationMapping, "schema", {
|
|
|
84
84
|
primaryKey: "uuid",
|
|
85
85
|
properties: {
|
|
86
86
|
uuid: "string",
|
|
87
|
-
parent:
|
|
88
|
-
|
|
87
|
+
parent: {
|
|
88
|
+
type: 'object',
|
|
89
|
+
objectType: 'AddressLevel'
|
|
90
|
+
},
|
|
91
|
+
child: {
|
|
92
|
+
type: 'object',
|
|
93
|
+
objectType: 'AddressLevel'
|
|
94
|
+
},
|
|
89
95
|
voided: {
|
|
90
96
|
type: "bool",
|
|
91
97
|
default: false
|
package/dist/Checklist.js
CHANGED
|
@@ -178,13 +178,19 @@ _defineProperty(Checklist, "schema", {
|
|
|
178
178
|
primaryKey: "uuid",
|
|
179
179
|
properties: _objectSpread({
|
|
180
180
|
uuid: "string",
|
|
181
|
-
detail:
|
|
181
|
+
detail: {
|
|
182
|
+
type: 'object',
|
|
183
|
+
objectType: 'ChecklistDetail'
|
|
184
|
+
},
|
|
182
185
|
baseDate: "date",
|
|
183
186
|
items: {
|
|
184
187
|
type: "list",
|
|
185
188
|
objectType: "ChecklistItem"
|
|
186
189
|
},
|
|
187
|
-
programEnrolment:
|
|
190
|
+
programEnrolment: {
|
|
191
|
+
type: 'object',
|
|
192
|
+
objectType: 'ProgramEnrolment'
|
|
193
|
+
}
|
|
188
194
|
}, _AuditUtil.AuditFields)
|
|
189
195
|
});
|
|
190
196
|
|
package/dist/ChecklistItem.js
CHANGED
|
@@ -355,7 +355,10 @@ _defineProperty(ChecklistItem, "schema", {
|
|
|
355
355
|
primaryKey: "uuid",
|
|
356
356
|
properties: _objectSpread({
|
|
357
357
|
uuid: "string",
|
|
358
|
-
detail:
|
|
358
|
+
detail: {
|
|
359
|
+
type: 'object',
|
|
360
|
+
objectType: 'ChecklistItemDetail'
|
|
361
|
+
},
|
|
359
362
|
completionDate: {
|
|
360
363
|
type: "date",
|
|
361
364
|
optional: true
|
|
@@ -364,13 +367,17 @@ _defineProperty(ChecklistItem, "schema", {
|
|
|
364
367
|
type: "list",
|
|
365
368
|
objectType: "Observation"
|
|
366
369
|
},
|
|
367
|
-
checklist:
|
|
370
|
+
checklist: {
|
|
371
|
+
type: 'object',
|
|
372
|
+
objectType: 'Checklist'
|
|
373
|
+
},
|
|
368
374
|
approvalStatuses: {
|
|
369
375
|
type: "list",
|
|
370
376
|
objectType: "EntityApprovalStatus"
|
|
371
377
|
},
|
|
372
378
|
latestEntityApprovalStatus: {
|
|
373
|
-
type:
|
|
379
|
+
type: 'object',
|
|
380
|
+
objectType: 'EntityApprovalStatus',
|
|
374
381
|
optional: true
|
|
375
382
|
}
|
|
376
383
|
}, _AuditUtil.AuditFields)
|
|
@@ -145,22 +145,30 @@ _defineProperty(ChecklistItemDetail, "schema", {
|
|
|
145
145
|
primaryKey: "uuid",
|
|
146
146
|
properties: {
|
|
147
147
|
uuid: "string",
|
|
148
|
-
concept:
|
|
148
|
+
concept: {
|
|
149
|
+
type: 'object',
|
|
150
|
+
objectType: 'Concept'
|
|
151
|
+
},
|
|
149
152
|
stateConfig: {
|
|
150
153
|
type: "list",
|
|
151
154
|
objectType: _SchemaNames.default.ChecklistItemStatus
|
|
152
155
|
},
|
|
153
156
|
form: {
|
|
154
|
-
type:
|
|
157
|
+
type: 'object',
|
|
158
|
+
objectType: 'Form',
|
|
155
159
|
optional: true
|
|
156
160
|
},
|
|
157
|
-
checklistDetail:
|
|
161
|
+
checklistDetail: {
|
|
162
|
+
type: 'object',
|
|
163
|
+
objectType: 'ChecklistDetail'
|
|
164
|
+
},
|
|
158
165
|
voided: {
|
|
159
166
|
type: "bool",
|
|
160
167
|
default: false
|
|
161
168
|
},
|
|
162
169
|
dependentOn: {
|
|
163
|
-
type:
|
|
170
|
+
type: 'object',
|
|
171
|
+
objectType: 'ChecklistItemDetail',
|
|
164
172
|
optional: true
|
|
165
173
|
},
|
|
166
174
|
scheduleOnExpiryOfDependency: {
|
package/dist/Comment.js
CHANGED
|
@@ -196,12 +196,18 @@ _defineProperty(Comment, "schema", {
|
|
|
196
196
|
properties: _objectSpread({
|
|
197
197
|
uuid: "string",
|
|
198
198
|
text: "string",
|
|
199
|
-
subject:
|
|
199
|
+
subject: {
|
|
200
|
+
type: 'object',
|
|
201
|
+
objectType: 'Individual'
|
|
202
|
+
},
|
|
200
203
|
displayUsername: "string",
|
|
201
204
|
createdByUsername: "string",
|
|
202
205
|
createdDateTime: "date",
|
|
203
206
|
lastModifiedDateTime: "date",
|
|
204
|
-
commentThread:
|
|
207
|
+
commentThread: {
|
|
208
|
+
type: 'object',
|
|
209
|
+
objectType: 'CommentThread'
|
|
210
|
+
},
|
|
205
211
|
voided: {
|
|
206
212
|
type: "bool",
|
|
207
213
|
default: false
|
package/dist/ConceptAnswer.js
CHANGED
|
@@ -73,7 +73,10 @@ _defineProperty(ConceptAnswer, "schema", {
|
|
|
73
73
|
primaryKey: "uuid",
|
|
74
74
|
properties: {
|
|
75
75
|
uuid: "string",
|
|
76
|
-
concept:
|
|
76
|
+
concept: {
|
|
77
|
+
type: 'object',
|
|
78
|
+
objectType: 'Concept'
|
|
79
|
+
},
|
|
77
80
|
answerOrder: "double",
|
|
78
81
|
abnormal: "bool",
|
|
79
82
|
unique: "bool",
|
|
@@ -155,7 +155,10 @@ _defineProperty(CustomDashboardCache, "schema", {
|
|
|
155
155
|
primaryKey: "uuid",
|
|
156
156
|
properties: {
|
|
157
157
|
uuid: "string",
|
|
158
|
-
dashboard:
|
|
158
|
+
dashboard: {
|
|
159
|
+
type: 'object',
|
|
160
|
+
objectType: 'Dashboard'
|
|
161
|
+
},
|
|
159
162
|
updatedAt: {
|
|
160
163
|
type: "date",
|
|
161
164
|
optional: true
|
package/dist/DashboardSection.js
CHANGED
|
@@ -63,8 +63,14 @@ _defineProperty(DashboardSectionCardMapping, "schema", {
|
|
|
63
63
|
primaryKey: "uuid",
|
|
64
64
|
properties: {
|
|
65
65
|
uuid: "string",
|
|
66
|
-
dashboardSection:
|
|
67
|
-
|
|
66
|
+
dashboardSection: {
|
|
67
|
+
type: 'object',
|
|
68
|
+
objectType: 'DashboardSection'
|
|
69
|
+
},
|
|
70
|
+
card: {
|
|
71
|
+
type: 'object',
|
|
72
|
+
objectType: 'ReportCard'
|
|
73
|
+
},
|
|
68
74
|
displayOrder: "double",
|
|
69
75
|
voided: {
|
|
70
76
|
type: "bool",
|
package/dist/Encounter.js
CHANGED
|
@@ -124,7 +124,10 @@ _defineProperty(Encounter, "schema", {
|
|
|
124
124
|
primaryKey: "uuid",
|
|
125
125
|
properties: _objectSpread({
|
|
126
126
|
uuid: "string",
|
|
127
|
-
encounterType:
|
|
127
|
+
encounterType: {
|
|
128
|
+
type: 'object',
|
|
129
|
+
objectType: 'EncounterType'
|
|
130
|
+
},
|
|
128
131
|
encounterDateTime: {
|
|
129
132
|
type: "date",
|
|
130
133
|
optional: true
|
|
@@ -171,7 +174,8 @@ _defineProperty(Encounter, "schema", {
|
|
|
171
174
|
objectType: "EntityApprovalStatus"
|
|
172
175
|
},
|
|
173
176
|
latestEntityApprovalStatus: {
|
|
174
|
-
type:
|
|
177
|
+
type: 'object',
|
|
178
|
+
objectType: 'EntityApprovalStatus',
|
|
175
179
|
optional: true
|
|
176
180
|
}
|
|
177
181
|
}, _AuditUtil.AuditFields, {
|
|
@@ -215,7 +215,10 @@ _defineProperty(EntityApprovalStatus, "schema", {
|
|
|
215
215
|
properties: _objectSpread({
|
|
216
216
|
uuid: "string",
|
|
217
217
|
entityUUID: "string",
|
|
218
|
-
approvalStatus:
|
|
218
|
+
approvalStatus: {
|
|
219
|
+
type: 'object',
|
|
220
|
+
objectType: 'ApprovalStatus'
|
|
221
|
+
},
|
|
219
222
|
entityType: "string",
|
|
220
223
|
entityTypeUuid: {
|
|
221
224
|
type: "string",
|
package/dist/Family.js
CHANGED
|
@@ -216,8 +216,14 @@ _defineProperty(Family, "schema", {
|
|
|
216
216
|
properties: {
|
|
217
217
|
uuid: "string",
|
|
218
218
|
registrationDate: "date",
|
|
219
|
-
lowestAddressLevel:
|
|
220
|
-
|
|
219
|
+
lowestAddressLevel: {
|
|
220
|
+
type: 'object',
|
|
221
|
+
objectType: 'AddressLevel'
|
|
222
|
+
},
|
|
223
|
+
headOfFamily: {
|
|
224
|
+
type: 'object',
|
|
225
|
+
objectType: 'Individual'
|
|
226
|
+
},
|
|
221
227
|
typeOfFamily: "string",
|
|
222
228
|
householdNumber: "string",
|
|
223
229
|
members: {
|
package/dist/GroupDashboard.js
CHANGED
|
@@ -80,10 +80,14 @@ _defineProperty(GroupDashboard, "schema", {
|
|
|
80
80
|
default: false
|
|
81
81
|
},
|
|
82
82
|
group: {
|
|
83
|
-
type:
|
|
83
|
+
type: 'object',
|
|
84
|
+
objectType: 'Groups',
|
|
84
85
|
optional: true
|
|
85
86
|
},
|
|
86
|
-
dashboard:
|
|
87
|
+
dashboard: {
|
|
88
|
+
type: 'object',
|
|
89
|
+
objectType: 'Dashboard'
|
|
90
|
+
},
|
|
87
91
|
voided: {
|
|
88
92
|
type: "bool",
|
|
89
93
|
default: false
|
package/dist/GroupPrivileges.js
CHANGED
|
@@ -105,8 +105,14 @@ _defineProperty(GroupPrivileges, "schema", {
|
|
|
105
105
|
primaryKey: "uuid",
|
|
106
106
|
properties: {
|
|
107
107
|
uuid: "string",
|
|
108
|
-
group:
|
|
109
|
-
|
|
108
|
+
group: {
|
|
109
|
+
type: 'object',
|
|
110
|
+
objectType: 'Groups'
|
|
111
|
+
},
|
|
112
|
+
privilege: {
|
|
113
|
+
type: 'object',
|
|
114
|
+
objectType: 'Privilege'
|
|
115
|
+
},
|
|
110
116
|
subjectTypeUuid: "string",
|
|
111
117
|
programUuid: "string?",
|
|
112
118
|
programEncounterTypeUuid: "string?",
|
package/dist/GroupRole.js
CHANGED
|
@@ -114,8 +114,14 @@ _defineProperty(GroupRole, "schema", {
|
|
|
114
114
|
primaryKey: "uuid",
|
|
115
115
|
properties: {
|
|
116
116
|
uuid: "string",
|
|
117
|
-
groupSubjectType:
|
|
118
|
-
|
|
117
|
+
groupSubjectType: {
|
|
118
|
+
type: 'object',
|
|
119
|
+
objectType: 'SubjectType'
|
|
120
|
+
},
|
|
121
|
+
memberSubjectType: {
|
|
122
|
+
type: 'object',
|
|
123
|
+
objectType: 'SubjectType'
|
|
124
|
+
},
|
|
119
125
|
role: "string",
|
|
120
126
|
primary: {
|
|
121
127
|
type: "bool",
|
package/dist/GroupSubject.js
CHANGED
|
@@ -231,9 +231,18 @@ _defineProperty(GroupSubject, "schema", {
|
|
|
231
231
|
primaryKey: "uuid",
|
|
232
232
|
properties: _objectSpread({
|
|
233
233
|
uuid: "string",
|
|
234
|
-
groupSubject:
|
|
235
|
-
|
|
236
|
-
|
|
234
|
+
groupSubject: {
|
|
235
|
+
type: 'object',
|
|
236
|
+
objectType: 'Individual'
|
|
237
|
+
},
|
|
238
|
+
memberSubject: {
|
|
239
|
+
type: 'object',
|
|
240
|
+
objectType: 'Individual'
|
|
241
|
+
},
|
|
242
|
+
groupRole: {
|
|
243
|
+
type: 'object',
|
|
244
|
+
objectType: 'GroupRole'
|
|
245
|
+
},
|
|
237
246
|
membershipStartDate: "date",
|
|
238
247
|
membershipEndDate: {
|
|
239
248
|
type: "date",
|
|
@@ -153,11 +153,15 @@ _defineProperty(IdentifierAssignment, "schema", {
|
|
|
153
153
|
primaryKey: "uuid",
|
|
154
154
|
properties: _objectSpread({
|
|
155
155
|
uuid: "string",
|
|
156
|
-
identifierSource:
|
|
156
|
+
identifierSource: {
|
|
157
|
+
type: 'object',
|
|
158
|
+
objectType: 'IdentifierSource'
|
|
159
|
+
},
|
|
157
160
|
identifier: "string",
|
|
158
161
|
assignmentOrder: "double",
|
|
159
162
|
individual: {
|
|
160
|
-
type:
|
|
163
|
+
type: 'object',
|
|
164
|
+
objectType: 'Individual',
|
|
161
165
|
optional: true
|
|
162
166
|
},
|
|
163
167
|
voided: {
|
|
@@ -165,7 +169,8 @@ _defineProperty(IdentifierAssignment, "schema", {
|
|
|
165
169
|
default: false
|
|
166
170
|
},
|
|
167
171
|
programEnrolment: {
|
|
168
|
-
type:
|
|
172
|
+
type: 'object',
|
|
173
|
+
objectType: 'ProgramEnrolment',
|
|
169
174
|
optional: true
|
|
170
175
|
},
|
|
171
176
|
used: {
|
package/dist/Individual.js
CHANGED
|
@@ -1098,7 +1098,10 @@ _defineProperty(Individual, "schema", {
|
|
|
1098
1098
|
primaryKey: "uuid",
|
|
1099
1099
|
properties: _objectSpread({
|
|
1100
1100
|
uuid: "string",
|
|
1101
|
-
subjectType:
|
|
1101
|
+
subjectType: {
|
|
1102
|
+
type: 'object',
|
|
1103
|
+
objectType: 'SubjectType'
|
|
1104
|
+
},
|
|
1102
1105
|
name: "string",
|
|
1103
1106
|
firstName: "string",
|
|
1104
1107
|
middleName: {
|
|
@@ -1122,11 +1125,15 @@ _defineProperty(Individual, "schema", {
|
|
|
1122
1125
|
optional: true
|
|
1123
1126
|
},
|
|
1124
1127
|
gender: {
|
|
1125
|
-
type:
|
|
1128
|
+
type: 'object',
|
|
1129
|
+
objectType: 'Gender',
|
|
1126
1130
|
optional: true
|
|
1127
1131
|
},
|
|
1128
1132
|
registrationDate: "date",
|
|
1129
|
-
lowestAddressLevel:
|
|
1133
|
+
lowestAddressLevel: {
|
|
1134
|
+
type: 'object',
|
|
1135
|
+
objectType: 'AddressLevel'
|
|
1136
|
+
},
|
|
1130
1137
|
voided: {
|
|
1131
1138
|
type: "bool",
|
|
1132
1139
|
default: false
|
|
@@ -1168,7 +1175,8 @@ _defineProperty(Individual, "schema", {
|
|
|
1168
1175
|
objectType: "EntityApprovalStatus"
|
|
1169
1176
|
},
|
|
1170
1177
|
latestEntityApprovalStatus: {
|
|
1171
|
-
type:
|
|
1178
|
+
type: 'object',
|
|
1179
|
+
objectType: 'EntityApprovalStatus',
|
|
1172
1180
|
optional: true
|
|
1173
1181
|
}
|
|
1174
1182
|
}, _AuditUtil.AuditFields)
|
package/dist/Observation.js
CHANGED
|
@@ -271,7 +271,10 @@ class Observation extends _PersistedObject.default {
|
|
|
271
271
|
_defineProperty(Observation, "schema", {
|
|
272
272
|
name: "Observation",
|
|
273
273
|
properties: {
|
|
274
|
-
concept:
|
|
274
|
+
concept: {
|
|
275
|
+
type: 'object',
|
|
276
|
+
objectType: 'Concept'
|
|
277
|
+
},
|
|
275
278
|
valueJSON: "string"
|
|
276
279
|
}
|
|
277
280
|
});
|
package/dist/ProgramEncounter.js
CHANGED
|
@@ -177,7 +177,8 @@ _defineProperty(ProgramEncounter, "schema", {
|
|
|
177
177
|
optional: true
|
|
178
178
|
},
|
|
179
179
|
encounterType: {
|
|
180
|
-
type:
|
|
180
|
+
type: 'object',
|
|
181
|
+
objectType: 'EncounterType'
|
|
181
182
|
},
|
|
182
183
|
earliestVisitDateTime: {
|
|
183
184
|
type: "date",
|
|
@@ -221,7 +222,8 @@ _defineProperty(ProgramEncounter, "schema", {
|
|
|
221
222
|
objectType: "EntityApprovalStatus"
|
|
222
223
|
},
|
|
223
224
|
latestEntityApprovalStatus: {
|
|
224
|
-
type:
|
|
225
|
+
type: 'object',
|
|
226
|
+
objectType: 'EntityApprovalStatus',
|
|
225
227
|
optional: true
|
|
226
228
|
}
|
|
227
229
|
}, _AuditUtil.AuditFields, {
|
package/dist/ProgramEnrolment.js
CHANGED
|
@@ -657,7 +657,10 @@ _defineProperty(ProgramEnrolment, "schema", {
|
|
|
657
657
|
primaryKey: "uuid",
|
|
658
658
|
properties: _objectSpread({
|
|
659
659
|
uuid: "string",
|
|
660
|
-
program:
|
|
660
|
+
program: {
|
|
661
|
+
type: 'object',
|
|
662
|
+
objectType: 'Program'
|
|
663
|
+
},
|
|
661
664
|
enrolmentDateTime: "date",
|
|
662
665
|
observations: {
|
|
663
666
|
type: "list",
|
|
@@ -679,7 +682,10 @@ _defineProperty(ProgramEnrolment, "schema", {
|
|
|
679
682
|
type: "list",
|
|
680
683
|
objectType: "Checklist"
|
|
681
684
|
},
|
|
682
|
-
individual:
|
|
685
|
+
individual: {
|
|
686
|
+
type: 'object',
|
|
687
|
+
objectType: 'Individual'
|
|
688
|
+
},
|
|
683
689
|
enrolmentLocation: {
|
|
684
690
|
type: _SchemaNames.default.Point,
|
|
685
691
|
optional: true
|
|
@@ -697,7 +703,8 @@ _defineProperty(ProgramEnrolment, "schema", {
|
|
|
697
703
|
objectType: "EntityApprovalStatus"
|
|
698
704
|
},
|
|
699
705
|
latestEntityApprovalStatus: {
|
|
700
|
-
type:
|
|
706
|
+
type: 'object',
|
|
707
|
+
objectType: 'EntityApprovalStatus',
|
|
701
708
|
optional: true
|
|
702
709
|
}
|
|
703
710
|
}, _AuditUtil.AuditFields)
|
package/dist/ReportCard.js
CHANGED
package/dist/Settings.js
CHANGED
|
@@ -439,12 +439,18 @@ _defineProperty(FormElement, "schema", {
|
|
|
439
439
|
type: "list",
|
|
440
440
|
objectType: _SchemaNames.default.KeyValue
|
|
441
441
|
},
|
|
442
|
-
concept:
|
|
442
|
+
concept: {
|
|
443
|
+
type: 'object',
|
|
444
|
+
objectType: 'Concept'
|
|
445
|
+
},
|
|
443
446
|
type: {
|
|
444
447
|
type: "string",
|
|
445
448
|
optional: true
|
|
446
449
|
},
|
|
447
|
-
formElementGroup:
|
|
450
|
+
formElementGroup: {
|
|
451
|
+
type: 'object',
|
|
452
|
+
objectType: 'FormElementGroup'
|
|
453
|
+
},
|
|
448
454
|
validFormat: {
|
|
449
455
|
type: _SchemaNames.default.Format,
|
|
450
456
|
optional: true
|
|
@@ -462,7 +468,8 @@ _defineProperty(FormElement, "schema", {
|
|
|
462
468
|
optional: true
|
|
463
469
|
},
|
|
464
470
|
documentation: {
|
|
465
|
-
type:
|
|
471
|
+
type: 'object',
|
|
472
|
+
objectType: 'Documentation',
|
|
466
473
|
optional: true
|
|
467
474
|
}
|
|
468
475
|
}
|
|
@@ -171,9 +171,13 @@ _defineProperty(FormMapping, "schema", {
|
|
|
171
171
|
primaryKey: "uuid",
|
|
172
172
|
properties: {
|
|
173
173
|
uuid: "string",
|
|
174
|
-
form:
|
|
174
|
+
form: {
|
|
175
|
+
type: 'object',
|
|
176
|
+
objectType: 'Form'
|
|
177
|
+
},
|
|
175
178
|
subjectType: {
|
|
176
|
-
type:
|
|
179
|
+
type: 'object',
|
|
180
|
+
objectType: 'SubjectType',
|
|
177
181
|
optional: true
|
|
178
182
|
},
|
|
179
183
|
entityUUID: {
|
|
@@ -193,7 +197,8 @@ _defineProperty(FormMapping, "schema", {
|
|
|
193
197
|
default: false
|
|
194
198
|
},
|
|
195
199
|
taskType: {
|
|
196
|
-
type:
|
|
200
|
+
type: 'object',
|
|
201
|
+
objectType: 'TaskType',
|
|
197
202
|
optional: true
|
|
198
203
|
}
|
|
199
204
|
}
|
|
@@ -162,12 +162,18 @@ _defineProperty(DraftEncounter, "schema", {
|
|
|
162
162
|
primaryKey: "uuid",
|
|
163
163
|
properties: {
|
|
164
164
|
uuid: "string",
|
|
165
|
-
encounterType:
|
|
165
|
+
encounterType: {
|
|
166
|
+
type: 'object',
|
|
167
|
+
objectType: 'EncounterType'
|
|
168
|
+
},
|
|
166
169
|
encounterDateTime: {
|
|
167
170
|
type: "date",
|
|
168
171
|
optional: true
|
|
169
172
|
},
|
|
170
|
-
individual:
|
|
173
|
+
individual: {
|
|
174
|
+
type: 'object',
|
|
175
|
+
objectType: 'Individual'
|
|
176
|
+
},
|
|
171
177
|
observations: {
|
|
172
178
|
type: "list",
|
|
173
179
|
objectType: "Observation"
|
|
@@ -187,7 +187,10 @@ _defineProperty(DraftSubject, "schema", {
|
|
|
187
187
|
primaryKey: "uuid",
|
|
188
188
|
properties: {
|
|
189
189
|
uuid: "string",
|
|
190
|
-
subjectType:
|
|
190
|
+
subjectType: {
|
|
191
|
+
type: 'object',
|
|
192
|
+
objectType: 'SubjectType'
|
|
193
|
+
},
|
|
191
194
|
firstName: "string",
|
|
192
195
|
lastName: {
|
|
193
196
|
type: "string",
|
|
@@ -206,11 +209,15 @@ _defineProperty(DraftSubject, "schema", {
|
|
|
206
209
|
optional: true
|
|
207
210
|
},
|
|
208
211
|
gender: {
|
|
209
|
-
type:
|
|
212
|
+
type: 'object',
|
|
213
|
+
objectType: 'Gender',
|
|
210
214
|
optional: true
|
|
211
215
|
},
|
|
212
216
|
registrationDate: "date",
|
|
213
|
-
lowestAddressLevel:
|
|
217
|
+
lowestAddressLevel: {
|
|
218
|
+
type: 'object',
|
|
219
|
+
objectType: 'AddressLevel'
|
|
220
|
+
},
|
|
214
221
|
observations: {
|
|
215
222
|
type: "list",
|
|
216
223
|
objectType: "Observation"
|
|
@@ -212,8 +212,14 @@ _defineProperty(SubjectProgramEligibility, "schema", {
|
|
|
212
212
|
primaryKey: "uuid",
|
|
213
213
|
properties: _objectSpread({
|
|
214
214
|
uuid: "string",
|
|
215
|
-
subject:
|
|
216
|
-
|
|
215
|
+
subject: {
|
|
216
|
+
type: 'object',
|
|
217
|
+
objectType: 'Individual'
|
|
218
|
+
},
|
|
219
|
+
program: {
|
|
220
|
+
type: 'object',
|
|
221
|
+
objectType: 'Program'
|
|
222
|
+
},
|
|
217
223
|
checkDate: "date",
|
|
218
224
|
eligible: {
|
|
219
225
|
type: "bool",
|
|
@@ -65,8 +65,14 @@ _defineProperty(IndividualRelationGenderMapping, "schema", {
|
|
|
65
65
|
primaryKey: "uuid",
|
|
66
66
|
properties: {
|
|
67
67
|
uuid: "string",
|
|
68
|
-
relation:
|
|
69
|
-
|
|
68
|
+
relation: {
|
|
69
|
+
type: 'object',
|
|
70
|
+
objectType: 'IndividualRelation'
|
|
71
|
+
},
|
|
72
|
+
gender: {
|
|
73
|
+
type: 'object',
|
|
74
|
+
objectType: 'Gender'
|
|
75
|
+
},
|
|
70
76
|
voided: {
|
|
71
77
|
type: "bool",
|
|
72
78
|
default: false
|
|
@@ -194,9 +194,18 @@ _defineProperty(IndividualRelationship, "schema", {
|
|
|
194
194
|
primaryKey: "uuid",
|
|
195
195
|
properties: _objectSpread({
|
|
196
196
|
uuid: "string",
|
|
197
|
-
relationship:
|
|
198
|
-
|
|
199
|
-
|
|
197
|
+
relationship: {
|
|
198
|
+
type: 'object',
|
|
199
|
+
objectType: 'IndividualRelationshipType'
|
|
200
|
+
},
|
|
201
|
+
individualA: {
|
|
202
|
+
type: 'object',
|
|
203
|
+
objectType: 'Individual'
|
|
204
|
+
},
|
|
205
|
+
individualB: {
|
|
206
|
+
type: 'object',
|
|
207
|
+
objectType: 'Individual'
|
|
208
|
+
},
|
|
200
209
|
enterDateTime: {
|
|
201
210
|
type: "date",
|
|
202
211
|
optional: true
|
|
@@ -83,8 +83,14 @@ _defineProperty(IndividualRelationshipType, "schema", {
|
|
|
83
83
|
properties: {
|
|
84
84
|
uuid: "string",
|
|
85
85
|
name: "string",
|
|
86
|
-
individualAIsToBRelation:
|
|
87
|
-
|
|
86
|
+
individualAIsToBRelation: {
|
|
87
|
+
type: 'object',
|
|
88
|
+
objectType: 'IndividualRelation'
|
|
89
|
+
},
|
|
90
|
+
individualBIsToARelation: {
|
|
91
|
+
type: 'object',
|
|
92
|
+
objectType: 'IndividualRelation'
|
|
93
|
+
},
|
|
88
94
|
voided: {
|
|
89
95
|
type: "bool",
|
|
90
96
|
default: false
|
|
@@ -61,7 +61,10 @@ _defineProperty(DashboardFilter, "schema", {
|
|
|
61
61
|
primaryKey: "uuid",
|
|
62
62
|
properties: {
|
|
63
63
|
uuid: "string",
|
|
64
|
-
dashboard:
|
|
64
|
+
dashboard: {
|
|
65
|
+
type: 'object',
|
|
66
|
+
objectType: 'Dashboard'
|
|
67
|
+
},
|
|
65
68
|
name: "string",
|
|
66
69
|
filterConfig: "string",
|
|
67
70
|
voided: {
|
package/dist/task/Task.js
CHANGED
|
@@ -219,8 +219,14 @@ _defineProperty(Task, "schema", {
|
|
|
219
219
|
properties: _objectSpread({
|
|
220
220
|
uuid: "string",
|
|
221
221
|
name: "string",
|
|
222
|
-
taskType:
|
|
223
|
-
|
|
222
|
+
taskType: {
|
|
223
|
+
type: 'object',
|
|
224
|
+
objectType: 'TaskType'
|
|
225
|
+
},
|
|
226
|
+
taskStatus: {
|
|
227
|
+
type: 'object',
|
|
228
|
+
objectType: 'TaskStatus'
|
|
229
|
+
},
|
|
224
230
|
scheduledOn: {
|
|
225
231
|
type: "date"
|
|
226
232
|
},
|
package/dist/task/TaskStatus.js
CHANGED
|
@@ -124,7 +124,10 @@ _defineProperty(VideoTelemetric, "schema", {
|
|
|
124
124
|
primaryKey: "uuid",
|
|
125
125
|
properties: {
|
|
126
126
|
uuid: "string",
|
|
127
|
-
video:
|
|
127
|
+
video: {
|
|
128
|
+
type: 'object',
|
|
129
|
+
objectType: 'Video'
|
|
130
|
+
},
|
|
128
131
|
playerOpenTime: "date",
|
|
129
132
|
playerCloseTime: "date",
|
|
130
133
|
videoStartTime: "double",
|