openchs-models 1.33.71 → 1.33.72
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/EntityMetaData.js
CHANGED
|
@@ -589,7 +589,7 @@ class EntityMetaData {
|
|
|
589
589
|
}
|
|
590
590
|
//order is important. last entity in each (tx and ref) with be executed first. parent should be synced before the child.
|
|
591
591
|
static model() {
|
|
592
|
-
return [groupDashboard, approvalStatus, dashboardSectionCardMapping, dashboardSection, dashboardFilter, dashboard, reportCard, customCardConfig, standardReportCardType, menuItem, locationHierarchy, video, checklistItemDetail, checklistDetail, rule, ruleDependency, individualRelationshipType, individualRelationGenderMapping, individualRelation, formMapping, formElement, formElementGroup, form, documentationItem, documentation, identifierSource, organisationConfig, platformTranslation, translation, locationMapping, addressLevel, taskStatus, taskType, encounterType, program, gender, groupRole, calendarDateMarker, calendar, attendanceType, subjectType, conceptAnswer, concept, myGroups, groupPrivileges, groups, privilege, resetSync, subjectMigration, userSubjectAssignment, task, taskUnAssigment, subjectProgramEligibility, news, videoTelemetric, groupSubject, comment, commentThread, entityApprovalStatus, subjectEntityApprovalStatus, encounterEntityApprovalStatus, programEncounterEntityApprovalStatus, programEnrolmentEntityApprovalStatus, checklistItemEntityApprovalStatus, individualRelationship, checklistItem, checklist, attendanceRecord, session, encounter, identifierAssignment, programEncounter, programEnrolment, individual, extension, downloadableContent, userInfo,
|
|
592
|
+
return [groupDashboard, approvalStatus, dashboardSectionCardMapping, dashboardSection, dashboardFilter, dashboard, reportCard, customCardConfig, standardReportCardType, menuItem, locationHierarchy, video, checklistItemDetail, checklistDetail, rule, ruleDependency, individualRelationshipType, individualRelationGenderMapping, individualRelation, formMapping, formElement, formElementGroup, form, documentationItem, documentation, identifierSource, organisationConfig, platformTranslation, translation, locationMapping, addressLevel, taskStatus, taskType, encounterType, program, gender, groupRole, calendarDateMarker, calendar, attendanceType, subjectType, conceptAnswer, concept, myGroups, groupPrivileges, groups, privilege, ruleFailureTelemetry, resetSync, subjectMigration, userSubjectAssignment, task, taskUnAssigment, subjectProgramEligibility, news, videoTelemetric, groupSubject, comment, commentThread, entityApprovalStatus, subjectEntityApprovalStatus, encounterEntityApprovalStatus, programEncounterEntityApprovalStatus, programEnrolmentEntityApprovalStatus, checklistItemEntityApprovalStatus, individualRelationship, checklistItem, checklist, attendanceRecord, session, encounter, identifierAssignment, programEncounter, programEnrolment, individual, extension, downloadableContent, userInfo, syncTelemetry];
|
|
593
593
|
}
|
|
594
594
|
static entitiesLoadedFromServer() {
|
|
595
595
|
return _lodash.default.differenceBy(_Schema.default.getInstance().getEntities(), [_Settings.default, _LocaleMapping.default].concat(EntityMetaData.embeddedEntities()), "schema.name");
|
|
@@ -108,7 +108,7 @@ class RuleFailureTelemetry extends _BaseEntity.default {
|
|
|
108
108
|
return ruleFailureTelemetry;
|
|
109
109
|
}
|
|
110
110
|
get toResource() {
|
|
111
|
-
return _lodash.default.pick(this, ["ruleUuid", "individualUuid", "errorMessage", "stacktrace", "closed", "errorDateTime", "sourceType", "sourceId", "entityType", "entityId", "appType"]);
|
|
111
|
+
return _lodash.default.pick(this, ["uuid", "ruleUuid", "individualUuid", "errorMessage", "stacktrace", "closed", "errorDateTime", "sourceType", "sourceId", "entityType", "entityId", "appType"]);
|
|
112
112
|
}
|
|
113
113
|
clone() {
|
|
114
114
|
const ruleFailureTelemetry = new RuleFailureTelemetry();
|