diff --git a/dhis-2/dhis-support/dhis-support-test/src/main/resources/tracker/simple_metadata.json b/dhis-2/dhis-support/dhis-support-test/src/main/resources/tracker/simple_metadata.json index 3dacb04250fc..6f5f171f343d 100644 --- a/dhis-2/dhis-support/dhis-support-test/src/main/resources/tracker/simple_metadata.json +++ b/dhis-2/dhis-support/dhis-support-test/src/main/resources/tracker/simple_metadata.json @@ -667,7 +667,7 @@ "value": "orgUnit h4w96yEMlzO" } ], - "code": "test-orgunit-code", + "code": "h4w96yEMlzO code", "created": "2020-05-31T08:56:15.922", "description": "test-orgunit", "lastUpdated": "2020-05-31T11:41:22.384", @@ -675,7 +675,7 @@ "id": "tTgjgobT1oS" }, "level": 1, - "name": "test-orgunit", + "name": "h4w96yEMlzO name", "openingDate": "2020-05-31T00:00:00.000", "path": "/h4w96yEMlzO", "publicAccess": "rwrw----", diff --git a/dhis-2/dhis-test-web-api/src/test/resources/tracker/simple_metadata_changelog.json b/dhis-2/dhis-test-web-api/src/test/resources/tracker/simple_metadata_changelog.json index 79eca3e6a09a..1fe668a7a40c 100644 --- a/dhis-2/dhis-test-web-api/src/test/resources/tracker/simple_metadata_changelog.json +++ b/dhis-2/dhis-test-web-api/src/test/resources/tracker/simple_metadata_changelog.json @@ -1,3085 +1,216 @@ { "attributes": [ { - "categoryOptionAttribute": true, - "categoryOptionComboAttribute": true, - "dataElementAttribute": true, "id": "j45AR9cBQKc", - "mandatory": false, "name": "some attribute", - "organisationUnitAttribute": true, - "programAttribute": true, - "programStageAttribute": true, - "relationshipTypeAttribute": true, "sharing": { "owner": "PQD6wXJ2r5j", - "public": "rw------", - "userGroups": {}, - "users": {} + "public": "rw------" }, - "trackedEntityAttributeAttribute": true, - "trackedEntityTypeAttribute": true, + "valueType": "TEXT", + "mandatory": false, "unique": true, - "valueType": "TEXT" - } - ], - "categories": [ - { - "categoryOptions": [ - { - "id": "xYerKDKCefk" - } - ], - "code": "default", - "dataDimension": false, - "dataDimensionType": "DISAGGREGATION", - "id": "GLevLNI9wkl", - "name": "default", - "shortName": "default" - }, - { - "categoryOptions": [ - { - "id": "xwZ2u3WyQR0" - }, - { - "id": "xEunk8LPzkb" - } - ], - "code": "IMPL_PARTNER", - "dataDimension": true, - "dataDimensionType": "ATTRIBUTE", - "id": "LFsZ8v5v7rq", - "name": "Implementing Partner", - "shortName": "Implementing Partner" - }, - { - "categoryOptions": [ - { - "id": "i4Nbp8S2G6A" - }, - { - "id": "OUUdG3sdOqb" - }, - { - "id": "yMj2MnmNI8L" - }, - { - "id": "M58XdOfhiJ7" - } - ], - "code": "PROJECT", - "dataDimension": true, - "dataDimensionType": "ATTRIBUTE", - "id": "yY2bQYqNt0o", - "name": "Project", - "shortName": "Project" - } - ], - "categoryCombos": [ - { - "categories": [ - { - "id": "GLevLNI9wkl" - } - ], - "code": "default", - "dataDimensionType": "DISAGGREGATION", - "id": "bjDvmb4bfuf", - "name": "default", - "sharing": { - "public": "rw------", - "userGroups": {}, - "users": {} - }, - "skipTotal": false - }, - { - "categories": [ - { - "id": "LFsZ8v5v7rq" - }, - { - "id": "yY2bQYqNt0o" - } - ], - "dataDimensionType": "ATTRIBUTE", - "id": "O4VaNks6tta", - "name": "Implementing Partner and Projects", - "skipTotal": false + "programAttribute": true, + "programStageAttribute": true, + "trackedEntityTypeAttribute": true, + "trackedEntityAttributeAttribute": true, + "organisationUnitAttribute": true, + "dataElementAttribute": true, + "relationshipTypeAttribute": true, + "categoryOptionAttribute": true, + "categoryOptionComboAttribute": true } ], - "categoryOptionCombos": [ - { - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "categoryOptions": [ - { - "id": "xYerKDKCefk" - } - ], - "code": "default", - "id": "HllvX50cXC0", - "ignoreApproval": false, - "name": "default", - "translations": [] - }, - { - "categoryCombo": { - "id": "O4VaNks6tta" - }, - "categoryOptions": [ - { - "id": "xEunk8LPzkb" - }, - { - "id": "M58XdOfhiJ7" - } - ], - "code": "COC_1153413", - "id": "tzsPhPtE94U", - "ignoreApproval": false, - "name": "World Relief, Provide access to basic education" - }, - { - "attributeValues": [], - "categoryCombo": { - "id": "O4VaNks6tta" - }, - "categoryOptions": [ - { - "id": "xEunk8LPzkb" - }, - { - "id": "yMj2MnmNI8L" - } - ], - "code": "COC_1153405", - "id": "UcWQppzD1it", - "ignoreApproval": false, - "name": "World Relief, Improve access to medicines", - "translations": [] - }, + "trackedEntityTypes": [ { - "categoryCombo": { - "id": "O4VaNks6tta" + "name": "Person", + "id": "ja8NY4PW7Xm", + "publicAccess": "rw------", + "description": "person", + "maxTeiCountToReturn": 0, + "allowAuditLog": true, + "featureType": "NONE", + "minAttributesRequiredToSearch": 1, + "user": { + "id": "tTgjgobT1oS" }, - "categoryOptions": [ - { - "id": "i4Nbp8S2G6A" - }, - { - "id": "xEunk8LPzkb" - } - ], - "code": "COC_1153403", - "id": "i3HQ1ziPjC7", - "ignoreApproval": false, - "name": "World Relief, Improve access to clean water" - }, - { - "attributeValues": [], - "categoryCombo": { - "id": "O4VaNks6tta" + "sharing": { + "external": false, + "public": "rwrw----" }, - "categoryOptions": [ - { - "id": "xEunk8LPzkb" - }, + "trackedEntityTypeAttributes": [ { - "id": "OUUdG3sdOqb" + "displayInList": true, + "displayName": "Person Given name", + "displayShortName": "null Given name", + "externalAccess": false, + "favorite": false, + "favorites": [], + "id": "hKZ9AJpnVcG", + "name": "Person Given name", + "searchable": true, + "trackedEntityAttribute": { + "id": "numericAttr" + }, + "trackedEntityType": { + "id": "ja8NY4PW7Xm" + }, + "valueType": "TEXT" } - ], - "code": "COC_1153408", - "id": "AeOORUC0ISH", - "ignoreApproval": false, - "name": "World Relief, Provide access to primary health care", - "translations": [] + ] }, { - "attributeValues": [ - { - "attribute": { - "id": "j45AR9cBQKc" - }, - "value": "COC_1153452-attribute" - } - ], - "categoryCombo": { - "id": "O4VaNks6tta" + "name": "Inaccessible person", + "id": "Ip8NY4PW7Xm", + "publicAccess": "rw------", + "description": "person", + "maxTeiCountToReturn": 0, + "allowAuditLog": false, + "featureType": "NONE", + "minAttributesRequiredToSearch": 1, + "user": { + "id": "tTgjgobT1oS" }, - "categoryOptions": [ - { - "id": "xwZ2u3WyQR0" - }, - { - "id": "M58XdOfhiJ7" - } - ], - "code": "COC_1153452", - "id": "cr89ebDZrac", - "ignoreApproval": false, - "name": "Unicef, Provide access to basic education" - }, + "sharing": { + "external": false, + "public": "--------" + } + } + ], + "users": [ { - "attributeValues": [], - "categoryCombo": { - "id": "O4VaNks6tta" + "code": "tracker admin", + "id": "tTgjgobT1oS", + "password": "Test123###...", + "surname": "tracker Surnameadmin", + "firstName": "tracker FirstNameadmin", + "name": "tracker admin", + "lastLogin": "2020-05-31T08:55:38.571", + "displayName": "tracker admin", + "externalAuth": false, + "externalAccess": false, + "disabled": false, + "twoFA": false, + "passwordLastUpdated": "2020-05-31T08:55:28.232", + "invitation": false, + "selfRegistered": false, + "favorite": false, + "username": "trackeradmin", + "access": { + "read": true, + "update": true, + "externalize": true, + "delete": true, + "write": true, + "manage": true }, - "categoryOptions": [ - { - "id": "xwZ2u3WyQR0" - }, + "userRoles": [ { - "id": "yMj2MnmNI8L" + "id": "nJ4Ml8ads4M" } ], - "code": "COC_1153434", - "id": "V2gbpszLQJm", - "ignoreApproval": false, - "name": "Unicef, Improve access to medicines", - "translations": [] - }, - { - "attributeValues": [], - "categoryCombo": { - "id": "O4VaNks6tta" - }, - "categoryOptions": [ - { - "id": "xwZ2u3WyQR0" - }, + "teiSearchOrganisationUnits": [ { - "id": "i4Nbp8S2G6A" + "id": "h4w96yEMlzO" } ], - "code": "COC_1153438", - "id": "SeWJkpLAyLt", - "ignoreApproval": false, - "name": "Unicef, Improve access to clean water", - "translations": [] - }, - { - "attributeValues": [], - "categoryCombo": { - "id": "O4VaNks6tta" - }, - "categoryOptions": [ - { - "id": "xwZ2u3WyQR0" - }, + "organisationUnits": [ { - "id": "OUUdG3sdOqb" + "id": "h4w96yEMlzO" } - ], - "code": "COC_1153446", - "id": "B81quHGEY7H", - "ignoreApproval": false, - "name": "Unicef, Provide access to primary health care", - "translations": [] + ] } ], - "categoryOptions": [ - { - "code": "default", - "id": "xYerKDKCefk", - "name": "default", - "shortName": "default" - }, - { - "code": "Unicef", - "id": "xwZ2u3WyQR0", - "name": "Unicef", - "sharing": { - "owner": "tTgjgobT1oS", - "public": "rwr-----", - "userGroups": {}, - "users": {} - }, - "shortName": "Unicef" - }, - { - "code": "World Relief", - "description": "sharing.public data 'r' needs to be set to test this sharing case", - "id": "xEunk8LPzkb", - "name": "World Relief", - "sharing": { - "owner": "tTgjgobT1oS", - "public": "rwr-----", - "userGroups": {}, - "users": {} - }, - "shortName": "World Relief" - }, - { - "code": "Project01", - "description": "used to test sharing when owner is null", - "id": "i4Nbp8S2G6A", - "name": "Improve access to clean water", - "sharing": { - "owner": null, - "public": "rw------", - "userGroups": {}, - "users": {} - }, - "shortName": "Improve access to clean water" - }, - { - "code": "Project02", - "description": "used to test non public data access. only super user or user with data access should get access", - "id": "OUUdG3sdOqb", - "name": "Provide access to primary health care", - "sharing": { - "owner": "tTgjgobT1oS", - "public": "rw------", - "userGroups": {}, - "users": { - "o1HMTIzBGo7": { - "access": "--r-----", - "displayName": "foofi", - "id": "o1HMTIzBGo7" - } - } - }, - "shortName": "Provide access to primary health care" - }, - { - "code": "Project03", - "description": "used to test non public data access. only super user or owner should get access", - "id": "yMj2MnmNI8L", - "name": "Improve access to medicines", - "sharing": { - "owner": "o1HMTIzBGo7", - "public": "--------", - "userGroups": {}, - "users": {} - }, - "shortName": "Improve access to medicines" - }, + "organisationUnits": [ { - "code": "Project04", - "description": "used to test sharing when public is null", - "id": "M58XdOfhiJ7", - "name": "Provide access to basic education", - "sharing": { - "owner": "tTgjgobT1oS", - "public": null, - "userGroups": {}, - "users": {} - }, - "shortName": "Provide access to basic education" + "id": "h4w96yEMlzO", + "name": "test-orgunit", + "code": "test-orgunit-code", + "level": 1, + "publicAccess": "rwrw----", + "shortName": "test-orgunit", + "description": "test-orgunit", + "path": "/h4w96yEMlzO", + "openingDate": "2020-05-31T00:00:00.000", + "user": { + "id": "tTgjgobT1oS" + } } ], - "dataElements": [ + "programs": [ { - "aggregationLevels": [], - "aggregationType": "SUM", - "attributeValues": [], + "id": "BFcipDERJnf", + "name": "test-program", + "shortName": "test-program", + "publicAccess": "rwrw----", + "completeEventsExpiryDays": 0, + "ignoreOverdueEvents": false, + "skipOffline": false, + "minAttributesRequiredToSearch": 1, + "displayFrontPageList": false, + "onlyEnrollOnce": false, + "programType": "WITH_REGISTRATION", + "accessLevel": "OPEN", + "version": 2, + "maxTeiCountToReturn": 0, + "selectIncidentDatesInFuture": false, + "displayIncidentDate": true, + "selectEnrollmentDatesInFuture": false, + "expiryDays": 0, + "useFirstStageDuringRegistration": false, "categoryCombo": { "id": "bjDvmb4bfuf" }, - "created": "2020-05-31T08:58:48.406", - "domainType": "TRACKER", - "id": "DATAEL00001", - "lastUpdated": "2020-05-31T11:41:22.404", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" + "trackedEntityType": { + "id": "ja8NY4PW7Xm" }, - "legendSets": [], - "name": "test-dataelement1", - "publicAccess": "rw------", - "shortName": "test-dataelement1", - "translations": [], "user": { "id": "tTgjgobT1oS" }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT", - "zeroIsSignificant": false - }, + "organisationUnits": [ + { + "id": "h4w96yEMlzO" + } + ] + } + ], + "userRoles": [ { - "aggregationLevels": [], - "aggregationType": "SUM", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "created": "2020-05-31T08:58:48.406", - "domainType": "TRACKER", - "id": "DATAEL00002", - "lastUpdated": "2020-05-31T11:41:22.404", - "lastUpdatedBy": { + "code": "tracker Superuser", + "name": "tracker Superuser", + "id": "nJ4Ml8ads4M", + "publicAccess": "--------", + "description": "tracker Superuser", + "user": { "id": "tTgjgobT1oS" }, - "legendSets": [], - "name": "test-dataelement2", - "publicAccess": "rw------", - "shortName": "test-dataelement2", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT", - "zeroIsSignificant": false - }, - { - "aggregationLevels": [], - "aggregationType": "SUM", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "created": "2020-05-31T08:58:48.406", - "domainType": "TRACKER", - "id": "DATAEL00003", - "lastUpdated": "2020-05-31T11:41:22.404", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "test-dataelement3", - "publicAccess": "rw------", - "shortName": "test-dataelement3", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT", - "zeroIsSignificant": false - }, - { - "aggregationLevels": [], - "aggregationType": "SUM", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "created": "2020-05-31T08:58:48.406", - "domainType": "TRACKER", - "id": "DATAEL00004", - "lastUpdated": "2020-05-31T11:41:22.404", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "test-dataelement4", - "publicAccess": "rw------", - "shortName": "test-dataelement4", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT", - "zeroIsSignificant": false - }, - { - "aggregationLevels": [], - "aggregationType": "SUM", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "created": "2020-05-31T08:58:48.406", - "domainType": "TRACKER", - "id": "DATAEL00005", - "lastUpdated": "2020-05-31T11:41:22.404", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "with-option-set", - "optionSet": { - "id": "VWzgQENmzPK" - }, - "publicAccess": "rw------", - "shortName": "with-option-set", - "translations": [], - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT", - "zeroIsSignificant": false - }, - { - "aggregationLevels": [], - "aggregationType": "NONE", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "created": "2020-05-31T08:58:48.406", - "domainType": "TRACKER", - "id": "DATAEL00006", - "lastUpdated": "2020-05-31T11:41:22.404", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "test-dataelement6", - "publicAccess": "rw------", - "shortName": "test-dataelement6", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "INTEGER", - "zeroIsSignificant": false - }, - { - "aggregationLevels": [], - "aggregationType": "SUM", - "attributeValues": [], - "created": "2020-05-31T08:58:48.406", - "domainType": "TRACKER", - "id": "DATAEL00007", - "lastUpdated": "2020-05-31T11:41:22.404", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "test-dataelement7", - "publicAccess": "rw------", - "sharing": { - "external": false, - "public": "rw------", - "userGroups": {}, - "users": {} - }, - "shortName": "test-dataelement7", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT", - "zeroIsSignificant": false - }, - { - "aggregationType": "AVERAGE", - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "code": "DE_240794", - "created": "2015-03-31T10:27:46.069", - "domainType": "TRACKER", - "id": "GieVkTxp4HH", - "lastUpdated": "2015-03-31T11:22:51.642", - "name": "Height in cm", - "shortName": "Height in cm", - "url": "", - "valueType": "NUMBER", - "zeroIsSignificant": false - }, - { - "aggregationType": "AVERAGE", - "code": "DG_240794", - "created": "2015-03-31T10:27:46.069", - "domainType": "TRACKER", - "id": "GieVkTxp4HG", - "lastUpdated": "2015-03-31T11:22:51.642", - "name": "Height in mm", - "shortName": "Height in mm", - "url": "", - "valueType": "NUMBER", - "zeroIsSignificant": false - } - ], - "optionSets": [ - { - "attributeValues": [], - "code": "options", - "displayName": "options", - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "VWzgQENmzPK", - "name": "options", - "options": [ - { - "id": "IHYwYAtvjCY" - }, - { - "id": "HxFNfoxk7ac" - } - ], - "publicAccess": "rw------", - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT", - "version": 5 - } - ], - "options": [ - { - "attributeValues": [], - "code": "option1", - "displayFormName": "option1", - "displayName": "option1", - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "IHYwYAtvjCY", - "name": "option1", - "optionSet": { - "id": "VWzgQENmzPK" - }, - "sortOrder": 3, - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "attributeValues": [], - "code": "option2", - "displayFormName": "option2", - "displayName": "option2", - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "HxFNfoxk7ac", - "name": "option2", - "optionSet": { - "id": "VWzgQENmzPK" - }, - "sortOrder": 4, - "userAccesses": [], - "userGroupAccesses": [] - } - ], - "organisationUnits": [ - { - "attributeValues": [], - "code": "test-orgunit-code", - "created": "2020-05-31T08:56:15.922", - "description": "test-orgunit", - "id": "h4w96yEMlzO", - "lastUpdated": "2020-05-31T11:41:22.384", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "level": 1, - "name": "test-orgunit", - "openingDate": "2020-05-31T00:00:00.000", - "path": "/h4w96yEMlzO", - "publicAccess": "rwrw----", - "shortName": "test-orgunit", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - } - }, - { - "attributeValues": [], - "code": "test-orgunit-code-no-sharing-access", - "created": "2020-05-31T08:56:15.922", - "description": "test-orgunit", - "id": "g4w96yEMlzO", - "lastUpdated": "2020-05-31T11:41:22.384", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "level": 1, - "name": "test-orgunit", - "openingDate": "2020-05-31T00:00:00.000", - "path": "/g4w96yEMlzO", - "publicAccess": "rwrw----", - "shortName": "test-orgunit", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - } - }, - { - "attributeValues": [], - "closedDate": "2020-12-27T00:00:00.000", - "code": "test-orgunit-code-2", - "created": "2020-05-31T09:05:34.570", - "id": "uoNW0E3xXUy", - "lastUpdated": "2020-05-31T11:41:22.385", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "level": 2, - "name": "test-orgunit-2", - "openingDate": "2020-05-31T00:00:00.000", - "parent": { - "id": "h4w96yEMlzO" - }, - "path": "/h4w96yEMlzO/uoNW0E3xXUy", - "shortName": "test-program-rule", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - } - }, - { - "attributeValues": [], - "closedDate": "2020-12-27T00:00:00.000", - "code": "test-orgunit-code-l2", - "created": "2020-05-31T09:05:34.570", - "id": "lbDXJBlvtZe", - "lastUpdated": "2020-05-31T11:41:22.385", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "level": 2, - "name": "test-orgunit-2", - "openingDate": "2020-05-31T00:00:00.000", - "parent": { - "id": "h4w96yEMlzO" - }, - "path": "/h4w96yEMlzO/lbDXJBlvtZe", - "shortName": "test-program-rule", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - } - }, - { - "attributeValues": [], - "closedDate": "2020-12-27T00:00:00.000", - "code": "test-orgunit-code-3", - "created": "2020-05-31T09:05:34.570", - "id": "RojfDTBhoGC", - "lastUpdated": "2020-05-31T11:41:22.385", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "level": 3, - "name": "test-orgunit-3", - "openingDate": "2020-05-31T00:00:00.000", - "parent": { - "id": "uoNW0E3xXUy" - }, - "path": "/h4w96yEMlzO/uoNW0E3xXUy/RojfDTBhoGC", - "shortName": "test-program-rule", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - } - }, - { - "attributeValues": [], - "closedDate": "2020-12-27T00:00:00.000", - "code": "test-orgunit-code-4", - "created": "2020-05-31T09:05:34.570", - "id": "tSsGrtfRzjY", - "lastUpdated": "2020-05-31T11:41:22.385", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "level": 4, - "name": "test-orgunit-4", - "openingDate": "2020-05-31T00:00:00.000", - "parent": { - "id": "RojfDTBhoGC" - }, - "path": "/h4w96yEMlzO/uoNW0E3xXUy/RojfDTBhoGC/tSsGrtfRzjY", - "shortName": "test-program-rule", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - } - }, - { - "attributeValues": [ - { - "attribute": { - "id": "j45AR9cBQKc" - }, - "value": "multi-org-attribute" - } - ], - "code": "org3", - "created": "2020-05-31T08:56:15.922", - "description": "test-orgunit-3", - "id": "DiszpKrYNg8", - "lastUpdated": "2020-05-31T11:41:22.384", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "level": 1, - "name": "test-orgunit-3", - "openingDate": "2020-05-31T00:00:00.000", - "path": "/DiszpKrYNg8", - "publicAccess": "rwrw----", - "shortName": "test-orgunit-3", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - } - } - ], - "programNotificationTemplates": [ - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "created": "2020-05-31T11:35:18.355", - "deliveryChannels": [], - "displayName": "test-program-stage-notification", - "externalAccess": false, - "favorite": false, - "favorites": [], - "href": "http://localhost:8081/api/programNotificationTemplates/FdIeUL4gyoB", - "id": "FdIeUL4gyoB", - "lastUpdated": "2020-05-31T11:35:18.355", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "messageTemplate": "test message ", - "name": "test-program-stage-notification", - "notificationRecipient": "USER_GROUP", - "notificationTrigger": "PROGRAM_RULE", - "recipientUserGroup": { - "id": "xfHoY6IZSWI" - }, - "subjectTemplate": "test subject", - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - } - ], - "programStages": [ - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "NpsdDv6kKSO", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "minDaysFromStart": 0, - "name": "test-program-stage", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "BFcipDERJnf" - }, - "programStageDataElements": [ - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2019-01-28T11:23:20.855", - "dataElement": { - "id": "DATAEL00001" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "PSDE0000001", - "lastUpdated": "2019-01-28T11:23:20.855", - "programStage": { - "id": "NpsdDv6kKSO" - }, - "renderOptionsAsRadio": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2019-01-28T11:23:20.855", - "dataElement": { - "id": "DATAEL00002" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "PSDE0000002", - "lastUpdated": "2019-01-28T11:23:20.855", - "programStage": { - "id": "NpsdDv6kKSO" - }, - "renderOptionsAsRadio": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2019-01-28T11:23:20.855", - "dataElement": { - "id": "DATAEL00003" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "PSDE0000003", - "lastUpdated": "2019-01-28T11:23:20.855", - "programStage": { - "id": "NpsdDv6kKSO" - }, - "renderOptionsAsRadio": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2019-01-28T11:23:20.855", - "dataElement": { - "id": "DATAEL00004" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "PSDE0000004", - "lastUpdated": "2019-01-28T11:23:20.855", - "programStage": { - "id": "NpsdDv6kKSO" - }, - "renderOptionsAsRadio": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2019-01-28T11:23:20.855", - "dataElement": { - "id": "DATAEL00005" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "PSDE0000005", - "lastUpdated": "2019-01-28T11:23:20.855", - "programStage": { - "id": "NpsdDv6kKSO" - }, - "renderOptionsAsRadio": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2019-01-28T11:23:20.855", - "dataElement": { - "id": "DATAEL00006" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "PSDE0000006", - "lastUpdated": "2019-01-28T11:23:20.855", - "programStage": { - "id": "NpsdDv6kKSO" - }, - "renderOptionsAsRadio": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2019-01-28T11:23:20.855", - "dataElement": { - "id": "DATAEL00007" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "PSDE0000007", - "lastUpdated": "2019-01-28T11:23:20.855", - "programStage": { - "id": "NpsdDv6kKSO" - }, - "renderOptionsAsRadio": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - } - ], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_UPDATE_AND_INSERT" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage2", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "NpsdDv6kKS2", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "minDaysFromStart": 0, - "name": "test-program-stage2", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "BFcipDERJnf" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "NpsdDv6kKSe", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "minDaysFromStart": 0, - "name": "test-program-stage", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "BFcipDERJne" - }, - "programStageSections": [], - "publicAccess": "--------", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "NpsdDv6kKSg", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "minDaysFromStart": 0, - "name": "test-program--stage", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "BFcipDERJng" - }, - "programStageDataElements": [ - { - "access": { - "delete": true, - "externalize": false, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2022-04-22T05:57:48.383", - "dataElement": { - "id": "GieVkTxp4HG" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "j4bu9hXjR6g", - "lastUpdated": "2022-04-22T05:57:59.783", - "programStage": { - "id": "NpsdDv6kKSg" - }, - "renderOptionsAsRadio": false, - "sharing": { - "userGroups": {}, - "users": {} - }, - "skipAnalytics": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - } - ], - "programStageSections": [], - "publicAccess": "--------", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [ - { - "attribute": { - "id": "j45AR9cBQKc" - }, - "value": "multi-program-stage-attribute" - } - ], - "autoGenerateEvent": true, - "blockEntryForm": false, - "code": "multi-stage", - "created": "2022-04-22T05:57:48.383", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "qLZC0lvvxQH", - "lastUpdated": "2022-04-22T05:57:59.849", - "minDaysFromStart": 0, - "name": "Program stage for multiple categories program", - "notificationTemplates": [], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "iS7eutanDry" - }, - "programStageDataElements": [ - { - "access": { - "delete": true, - "externalize": false, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "allowFutureDate": false, - "allowProvidedElsewhere": false, - "attributeValues": [], - "compulsory": false, - "created": "2022-04-22T05:57:48.383", - "dataElement": { - "id": "GieVkTxp4HH" - }, - "displayInReports": false, - "externalAccess": false, - "favorite": false, - "favorites": [], - "id": "j4bu9hXjR6n", - "lastUpdated": "2022-04-22T05:57:59.783", - "programStage": { - "id": "qLZC0lvvxQH" - }, - "renderOptionsAsRadio": false, - "sharing": { - "userGroups": {}, - "users": {} - }, - "skipAnalytics": false, - "skipSynchronization": false, - "sortOrder": 1, - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - } - ], - "programStageSections": [], - "remindCompleted": false, - "repeatable": false, - "translations": [], - "validationStrategy": "ON_UPDATE_AND_INSERT" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage2", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "SKNvpoLioON", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "minDaysFromStart": 0, - "name": "test-program-stage2", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "shPjYNifvMK" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage-closed", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "ebGXHEqqEMF", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "minDaysFromStart": 0, - "name": "test-program-stage-closed", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "shPjYNifvMK" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage-low-level-org-unit", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "ZfzckZBvDkA", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "minDaysFromStart": 0, - "name": "test-program-stage-low-level-org-unit", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "UWRnoyBjvqi" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage-low-level-org-unit", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "uLQthmAPTPq", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "minDaysFromStart": 0, - "name": "test-program-stage-low-level-org-unit", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "YlUmbgnKWkd" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage-low-level-org-unit", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "GmxBvezOlGA", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "minDaysFromStart": 0, - "name": "test-program-stage-low-level-org-unit", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "SeeUNWLQmZk" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage-low-level-org-unit", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "zydGjigJcJb", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "minDaysFromStart": 0, - "name": "test-program-stage-low-level-org-unit", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "SeeUNWLQmZk" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - }, - { - "allowGenerateNextVisit": false, - "attributeValues": [], - "autoGenerateEvent": true, - "blockEntryForm": false, - "created": "2020-05-31T09:02:52.687", - "description": "test-program-stage-inaccessible-tet", - "displayGenerateEventBox": true, - "enableUserAssignment": false, - "generatedByEnrollmentDate": false, - "hideDueDate": false, - "id": "aZdGjigJcJb", - "lastUpdated": "2020-05-31T11:41:22.426", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "minDaysFromStart": 0, - "name": "test-program-stage-inaccessible-tet", - "notificationTemplates": [ - { - "id": "FdIeUL4gyoB" - } - ], - "openAfterEnrollment": false, - "preGenerateUID": false, - "program": { - "id": "TsngICFQjvH" - }, - "programStageDataElements": [], - "programStageSections": [], - "publicAccess": "rwrw----", - "remindCompleted": false, - "repeatable": true, - "sortOrder": 1, - "translations": [], - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "validationStrategy": "ON_COMPLETE" - } - ], - "programs": [ - { - "accessLevel": "OPEN", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "BFcipDERJnf", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "h4w96yEMlzO" - } - ], - "programSections": [], - "programStages": [ - { - "id": "NpsdDv6kKSO" - }, - { - "id": "NpsdDv6kKS2" - } - ], - "programTrackedEntityAttributes": [ - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "created": "2019-04-25T11:04:29.212", - "displayInList": true, - "displayName": "TA Tracker_program TA First name", - "displayShortName": "TA Tracker_program TA First name", - "favorite": false, - "favorites": [], - "id": "k45TmK2PnUx", - "lastUpdated": "2022-01-07T12:45:47.386", - "mandatory": false, - "name": "TA Tracker_program TA First name", - "program": { - "id": "BFcipDERJnf" - }, - "renderOptionsAsRadio": false, - "searchable": true, - "sharing": { - "external": false, - "userGroups": {}, - "users": {} - }, - "sortOrder": 1, - "trackedEntityAttribute": { - "id": "dIVt4l5vIOa" - }, - "translations": [], - "valueType": "TEXT" - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "created": "2019-04-25T11:04:29.212", - "displayInList": true, - "displayName": "TA Tracker_program TA Test", - "displayShortName": "TA Tracker_program TA Test", - "favorite": false, - "favorites": [], - "id": "r56Tmr3PnPf", - "lastUpdated": "2022-01-07T12:45:47.386", - "mandatory": false, - "name": "TA Tracker_program TA Test", - "program": { - "id": "BFcipDERJnf" - }, - "renderOptionsAsRadio": false, - "searchable": true, - "sharing": { - "external": false, - "userGroups": {}, - "users": {} - }, - "sortOrder": 2, - "trackedEntityAttribute": { - "id": "fRGt4l6yIRb" - }, - "translations": [], - "valueType": "TEXT" - } - ], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program", - "skipOffline": false, - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - }, - { - "accessLevel": "OPEN", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2019-01-28T11:23:20.906", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "BFcipDERJne", - "ignoreOverdueEvents": false, - "lastUpdated": "2019-01-28T11:23:20.906", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "ProgramA", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "h4w96yEMlzO" - } - ], - "programSections": [], - "programStages": [ - { - "id": "NpsdDv6kKSe" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITHOUT_REGISTRATION", - "publicAccess": "rw------", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "ProgramA", - "skipOffline": false, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 0 - }, - { - "accessLevel": "OPEN", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2019-01-28T11:23:20.906", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "BFcipDERJng", - "ignoreOverdueEvents": false, - "lastUpdated": "2019-01-28T11:23:20.906", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "ProgramG", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "g4w96yEMlzO" - } - ], - "programSections": [], - "programStages": [ - { - "id": "NpsdDv6kKSg" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITHOUT_REGISTRATION", - "publicAccess": "rw------", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "sharing": { - "public": "--------", - "users": {} - }, - "shortName": "ProgramG", - "skipOffline": false, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 0 - }, - { - "accessLevel": "OPEN", - "attributeValues": [ - { - "attribute": { - "id": "j45AR9cBQKc" - }, - "value": "multi-program-attribute" - } - ], - "categoryCombo": { - "id": "O4VaNks6tta" - }, - "code": "multi-program", - "completeEventsExpiryDays": 0, - "created": "2022-04-22T05:57:48.409", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "iS7eutanDry", - "ignoreOverdueEvents": false, - "lastUpdated": "2022-04-22T05:57:59.829", - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "Program with multiple categories", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "programSections": [], - "programStages": [ - { - "id": "qLZC0lvvxQH" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITHOUT_REGISTRATION", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "Program with multiple categories", - "skipOffline": false, - "translations": [], - "useFirstStageDuringRegistration": false, - "version": 1 - }, - { - "accessLevel": "OPEN", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "shPjYNifvMK", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "uoNW0E3xXUy" - } - ], - "programSections": [], - "programStages": [ - { - "id": "SKNvpoLioON" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program", - "skipOffline": false, - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - }, - { - "accessLevel": "CLOSED", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "pcxIanBWlSY", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program-closed", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "uoNW0E3xXUy" - } - ], - "programSections": [], - "programStages": [ - { - "id": "ebGXHEqqEMF" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program-closed", - "skipOffline": false, - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - }, - { - "accessLevel": "CLOSED", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "UWRnoyBjvqi", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program-low-level-org-unit", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "tSsGrtfRzjY" - } - ], - "programSections": [], - "programStages": [ - { - "id": "ZfzckZBvDkA" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program-low-level-org-unit", - "skipOffline": false, - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - }, - { - "accessLevel": "CLOSED", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "YlUmbgnKWkd", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program-low-level-org-unit", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "RojfDTBhoGC" - } - ], - "programSections": [], - "programStages": [ - { - "id": "uLQthmAPTPq" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program-low-level-org-unit", - "skipOffline": false, - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - }, - { - "accessLevel": "CLOSED", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "SeeUNWLQmZk", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program-low-level-org-unit", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "programSections": [], - "programStages": [ - { - "id": "GmxBvezOlGA" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program-low-level-org-unit", - "skipOffline": false, - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - }, - { - "accessLevel": "OPEN", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "sLngICFQjvH", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program-low-level-org-unit", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "lbDXJBlvtZe" - } - ], - "programSections": [], - "programStages": [ - { - "id": "zydGjigJcJb" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program-low-level-org-unit", - "skipOffline": false, - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - }, - { - "accessLevel": "OPEN", - "attributeValues": [], - "categoryCombo": { - "id": "bjDvmb4bfuf" - }, - "completeEventsExpiryDays": 0, - "created": "2020-05-31T09:02:52.718", - "displayFrontPageList": false, - "displayIncidentDate": true, - "expiryDays": 0, - "id": "TsngICFQjvH", - "ignoreOverdueEvents": false, - "lastUpdated": "2020-05-31T11:41:22.438", - "lastUpdatedBy": { - "id": "FIgVWzUCkpw" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "test-program-unaccessible-tet", - "notificationTemplates": [], - "onlyEnrollOnce": false, - "organisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "programSections": [], - "programStages": [ - { - "id": "aZdGjigJcJb" - } - ], - "programTrackedEntityAttributes": [], - "programType": "WITH_REGISTRATION", - "publicAccess": "rwrw----", - "selectEnrollmentDatesInFuture": false, - "selectIncidentDatesInFuture": false, - "shortName": "test-program-unaccessible-tet", - "skipOffline": false, - "trackedEntityType": { - "id": "Ip8NY4PW7Xm" - }, - "translations": [], - "useFirstStageDuringRegistration": false, - "user": { - "id": "FIgVWzUCkpw" - }, - "userAccesses": [], - "userGroupAccesses": [], - "version": 2 - } - ], - "relationshipTypes": [ - { - "bidirectional": true, - "created": "2019-04-23T09:20:41.834", - "fromConstraint": { - "relationshipEntity": "TRACKED_ENTITY_INSTANCE", - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - } - }, - "fromToName": "Sibling of", - "id": "xLmPUYJX8Ks", - "lastUpdated": "2019-04-23T09:21:18.063", - "name": "TA Sibling", - "publicAccess": "rw------", - "sharing": { - "external": false, - "owner": null, - "public": "r-------", - "userGroups": {}, - "users": {} - }, - "toConstraint": { - "program": { - "id": "BFcipDERJnf" - }, - "relationshipEntity": "PROGRAM_INSTANCE" - }, - "toFromName": "Sibling of", - "translations": [], - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "bidirectional": false, - "created": "2020-11-20T09:06:23.348", - "displayFromToName": "Parent Of", - "displayName": "TA Parent to Child", - "externalAccess": false, - "favorite": false, - "fromConstraint": { - "relationshipEntity": "TRACKED_ENTITY_INSTANCE", - "trackedEntityType": { - "id": "ja8NY4PW7Xm" - } - }, - "fromToName": "Parent Of", - "id": "TV9oB9LT3sh", - "lastUpdated": "2020-11-20T09:06:23.348", - "name": "TA Parent to Child", - "publicAccess": "rw------", - "sharing": { - "external": false, - "owner": null, - "public": "r-------", - "userGroups": {}, - "users": {} - }, - "toConstraint": { - "program": { - "id": "BFcipDERJnf" - }, - "programStage": { - "id": "NpsdDv6kKSO" - }, - "relationshipEntity": "PROGRAM_STAGE_INSTANCE" - }, - "userGroupAccesses": [] - } - ], - "trackedEntityAttributes": [ - { - "aggregationType": "NONE", - "attributeValues": [], - "code": "TA_FIRST_NAME_ATT", - "confidential": false, - "created": "2019-02-05T13:45:36.361", - "displayInListNoProgram": true, - "displayOnVisitSchedule": false, - "generated": false, - "id": "dIVt4l5vIOa", - "inherit": false, - "lastUpdated": "2022-01-07T12:45:47.338", - "legendSets": [], - "name": "TA First name", - "orgunitScope": false, - "pattern": "", - "sharing": { - "external": false, - "owner": "tTgjgobT1oS", - "public": "rwrwrw--", - "userGroups": {}, - "users": {} - }, - "shortName": "TA First name", - "skipSynchronization": false, - "translations": [], - "unique": false, - "valueType": "TEXT" - }, - { - "aggregationType": "NONE", - "attributeValues": [], - "code": "TA_TEST", - "confidential": false, - "created": "2019-02-05T13:45:36.361", - "displayInListNoProgram": true, - "displayOnVisitSchedule": false, - "generated": false, - "id": "fRGt4l6yIRb", - "inherit": false, - "lastUpdated": "2022-01-07T12:45:47.338", - "legendSets": [], - "name": "TA Test", - "orgunitScope": false, - "pattern": "", - "sharing": { - "external": false, - "owner": "tTgjgobT1oS", - "public": "rwrwrw--", - "userGroups": {}, - "users": {} - }, - "shortName": "TA Test", - "skipSynchronization": false, - "translations": [], - "unique": false, - "valueType": "TEXT" - }, - { - "aggregationType": "NONE", - "attributeValues": [], - "confidential": false, - "created": "2020-05-31T09:00:51.347", - "displayInListNoProgram": false, - "displayOnVisitSchedule": false, - "formName": "numeric-attribute", - "generated": false, - "id": "numericAttr", - "inherit": false, - "lastUpdated": "2020-05-31T11:41:22.414", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "numeric-attribute", - "orgunitScope": false, - "pattern": "", - "publicAccess": "rw------", - "shortName": "numeric-attribute", - "skipSynchronization": false, - "translations": [], - "unique": false, - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "INTEGER" - }, - { - "aggregationType": "NONE", - "attributeValues": [], - "confidential": false, - "created": "2020-05-31T09:00:51.347", - "displayInListNoProgram": false, - "displayOnVisitSchedule": false, - "formName": "to-update-tei-attribute", - "generated": false, - "id": "toUpdate000", - "inherit": false, - "lastUpdated": "2020-05-31T11:41:22.414", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "to-update-tei-attribute", - "orgunitScope": false, - "pattern": "", - "publicAccess": "rw------", - "shortName": "to-update-tei-attribute", - "skipSynchronization": false, - "translations": [], - "unique": false, - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT" - }, - { - "aggregationType": "NONE", - "attributeValues": [], - "confidential": false, - "created": "2020-05-31T09:00:51.347", - "displayInListNoProgram": false, - "displayOnVisitSchedule": false, - "formName": "to-delete-tei-attribute", - "generated": false, - "id": "toDelete000", - "inherit": false, - "lastUpdated": "2020-05-31T11:41:22.414", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "to-delete-tei-attribute", - "orgunitScope": false, - "pattern": "", - "publicAccess": "rw------", - "shortName": "to-delete-tei-attribute", - "skipSynchronization": false, - "translations": [], - "unique": false, - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT" - }, - { - "aggregationType": "NONE", - "attributeValues": [], - "confidential": false, - "created": "2020-05-31T09:00:51.347", - "displayInListNoProgram": false, - "displayOnVisitSchedule": false, - "formName": "not-updated-tei-attribute", - "generated": false, - "id": "notUpdated0", - "inherit": false, - "lastUpdated": "2020-05-31T11:41:22.414", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "legendSets": [], - "name": "not-updated-tei-attribute", - "orgunitScope": false, - "pattern": "", - "publicAccess": "rw------", - "shortName": "not-updated-tei-attribute", - "skipSynchronization": false, - "translations": [], - "unique": false, - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "valueType": "TEXT" - } - ], - "trackedEntityTypes": [ - { - "allowAuditLog": false, - "attributeValues": [], - "created": "2020-05-31T08:59:52.758", - "description": "person", - "featureType": "NONE", - "id": "ja8NY4PW7Xm", - "lastUpdated": "2020-05-31T11:41:22.419", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "Person", - "publicAccess": "rw------", - "sharing": { - "external": false, - "public": "rwrw----", - "userGroups": {}, - "users": {} - }, - "trackedEntityTypeAttributes": [ - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "created": "2019-02-05T13:46:01.219", - "displayInList": true, - "displayName": "TA Person TA First name", - "displayShortName": "null TA First name", - "favorite": false, - "favorites": [], - "id": "IvcLJpReZPS", - "lastUpdated": "2022-04-25T08:34:44.294", - "name": "TA Person TA First name", - "searchable": true, - "sharing": { - "external": false, - "userGroups": {}, - "users": {} - }, - "trackedEntityAttribute": { - "id": "dIVt4l5vIOa" - }, - "translations": [], - "valueType": "TEXT" - } - ], - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [] - }, - { - "allowAuditLog": false, - "attributeValues": [], - "created": "2020-05-31T08:59:52.758", - "description": "person", - "featureType": "NONE", - "id": "Ip8NY4PW7Xm", - "lastUpdated": "2020-05-31T11:41:22.419", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "maxTeiCountToReturn": 0, - "minAttributesRequiredToSearch": 1, - "name": "Inaccessible person", - "publicAccess": "rw------", - "sharing": { - "external": false, - "public": "--------", - "userGroups": {}, - "users": {} - }, - "trackedEntityTypeAttributes": [], - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [] - } - ], - "userGroups": [ - { - "attributeValues": [], - "created": "2020-05-31T09:03:15.823", - "id": "xfHoY6IZSWI", - "lastUpdated": "2020-05-31T11:41:22.375", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "managedGroups": [], - "name": "test-user-group", - "publicAccess": "rw------", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [], - "users": [ - { - "id": "lPaILkLkgOM" - } + "authorities": [ + "F_TRACKED_ENTITY_INSTANCE_SEARCH_IN_ALL_ORGUNITS", + "ALL" ] } ], - "userRoles": [ - { - "authorities": [ - "F_TRACKED_ENTITY_INSTANCE_SEARCH_IN_ALL_ORGUNITS", - "ALL", - "F_USER_VIEW", - "F_GENERATE_MIN_MAX_VALUES", - "F_ORGANISATIONUNIT_MOVE", - "F_USER_GROUPS_READ_ONLY_ADD_MEMBERS", - "F_PREDICTOR_RUN", - "F_SKIP_DATA_IMPORT_AUDIT", - "F_RUN_VALIDATION", - "F_LOCALE_ADD", - "F_REPLICATE_USER", - "F_SEND_EMAIL", - "F_INSERT_CUSTOM_JS_CSS", - "F_ENROLLMENT_CASCADE_DELETE", - "F_METADATA_IMPORT", - "F_VIEW_EVENT_ANALYTICS", - "F_VIEW_UNAPPROVED_DATA", - "F_PERFORM_MAINTENANCE", - "F_METADATA_EXPORT", - "F_TEI_CASCADE_DELETE", - "F_EXPORT_DATA", - "F_APPROVE_DATA", - "F_ACCEPT_DATA_LOWER_LEVELS", - "F_EDIT_EXPIRED", - "F_APPROVE_DATA_LOWER_LEVELS", - "F_UNCOMPLETE_EVENT" - ], - "code": "tracker Superuser", - "created": "2020-05-31T08:55:28.141", - "description": "tracker Superuser", - "id": "nJ4Ml8ads4M", - "lastUpdated": "2020-05-31T11:41:22.347", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "name": "tracker Superuser", - "publicAccess": "--------", - "translations": [], - "user": { - "id": "tTgjgobT1oS" - }, - "userAccesses": [], - "userGroupAccesses": [] - }, + "trackedEntityAttributes": [ { - "authorities": [ - "M_dhis-web-capture" - ], - "created": "2020-04-17T14:32:31.826", - "id": "UbhT3bXWUyb", - "lastUpdated": "2020-04-17T14:32:31.826", - "lastUpdatedBy": { - "id": "tTgjgobT1oS" - }, - "name": "Basic", - "sharing": { - "external": false, - "public": "rw------" - }, - "translations": [], + "id": "numericAttr", + "name": "numeric-attribute", + "shortName": "numeric-attribute", + "aggregationType": "NONE", + "displayInListNoProgram": false, + "publicAccess": "rw------", + "pattern": "", + "skipSynchronization": false, + "generated": false, + "displayOnVisitSchedule": false, + "valueType": "INTEGER", + "formName": "numeric-attribute", + "orgunitScope": false, + "confidential": false, + "unique": false, + "inherit": false, "user": { "id": "tTgjgobT1oS" } } - ], - "users": [ - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "catDimensionConstraints": [], - "cogsDimensionConstraints": [], - "created": "2020-05-31T08:57:59.048", - "dataViewOrganisationUnits": [ - { - "id": "h4w96yEMlzO" - } - ], - "disabled": false, - "displayName": "Zubair Asghar", - "email": "zubair@dhis2.org", - "externalAccess": false, - "externalAuth": false, - "favorite": false, - "favorites": [], - "firstName": "Zubair", - "id": "lPaILkLkgOM", - "invitation": false, - "lastUpdated": "2020-05-31T11:41:22.356", - "name": "Zubair Asghar", - "organisationUnits": [ - { - "id": "h4w96yEMlzO" - } - ], - "password": "Test123###...", - "passwordLastUpdated": "2020-05-31T08:57:59.060", - "phoneNumber": "+4740332255", - "selfRegistered": false, - "surname": "Asghar", - "teiSearchOrganisationUnits": [], - "translations": [], - "twoFA": false, - "userAccesses": [], - "userGroupAccesses": [], - "userRoles": [ - { - "id": "nJ4Ml8ads4M" - } - ], - "username": "testuser" - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "catDimensionConstraints": [], - "code": "tracker admin", - "cogsDimensionConstraints": [], - "created": "2020-05-31T08:55:27.984", - "dataViewOrganisationUnits": [], - "disabled": false, - "displayName": "tracker admin", - "externalAccess": false, - "externalAuth": false, - "favorite": false, - "favorites": [], - "firstName": "tracker admin", - "id": "tTgjgobT1oS", - "invitation": false, - "lastLogin": "2020-05-31T08:55:38.571", - "lastUpdated": "2020-05-31T11:41:22.356", - "name": "tracker admin", - "organisationUnits": [ - { - "id": "h4w96yEMlzO" - }, - { - "id": "DiszpKrYNg8" - }, - { - "id": "g4w96yEMlzO" - } - ], - "password": "Test123###...", - "passwordLastUpdated": "2020-05-31T08:55:28.232", - "selfRegistered": false, - "surname": "tracker admin", - "teiSearchOrganisationUnits": [ - { - "id": "h4w96yEMlzO" - }, - { - "id": "DiszpKrYNg8" - }, - { - "id": "g4w96yEMlzO" - } - ], - "translations": [], - "twoFA": false, - "userAccesses": [], - "userGroupAccesses": [], - "userRoles": [ - { - "id": "nJ4Ml8ads4M" - } - ], - "username": "trackeradmin" - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "catDimensionConstraints": [], - "cogsDimensionConstraints": [], - "created": "2020-05-31T08:57:59.048", - "dataViewOrganisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "disabled": false, - "displayName": "foofi", - "email": "foofi@dhis2.org", - "externalAccess": false, - "externalAuth": false, - "favorite": false, - "favorites": [], - "firstName": "foofi", - "id": "o1HMTIzBGo7", - "invitation": false, - "name": "foofi", - "organisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "password": "Test123###...", - "passwordLastUpdated": "2020-05-31T08:57:59.060", - "phoneNumber": "+4740332255", - "selfRegistered": false, - "surname": "foofi", - "teiSearchOrganisationUnits": [], - "translations": [], - "twoFA": false, - "userAccesses": [], - "userGroupAccesses": [], - "userRoles": [ - { - "id": "UbhT3bXWUyb" - } - ], - "username": "foofi" - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "catDimensionConstraints": [], - "cogsDimensionConstraints": [], - "created": "2020-05-31T08:57:59.048", - "dataViewOrganisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "disabled": false, - "displayName": "aaaa", - "email": "aaaa@dhis2.org", - "externalAccess": false, - "externalAuth": false, - "favorite": false, - "favorites": [], - "firstName": "aaaa", - "id": "CYVgFNKCaUS", - "invitation": false, - "name": "aaaa", - "organisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "password": "Test123###...", - "passwordLastUpdated": "2020-05-31T08:57:59.060", - "phoneNumber": "+4740332255", - "selfRegistered": false, - "surname": "aaaa", - "teiSearchOrganisationUnits": [], - "translations": [], - "twoFA": false, - "userAccesses": [], - "userGroupAccesses": [], - "userRoles": [ - { - "id": "UbhT3bXWUyb" - } - ], - "username": "aaaa" - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "catDimensionConstraints": [], - "cogsDimensionConstraints": [], - "created": "2020-05-31T08:57:59.048", - "dataViewOrganisationUnits": [ - { - "id": "uoNW0E3xXUy" - } - ], - "disabled": false, - "displayName": "child level 2", - "email": "aaaa@dhis2.org", - "externalAccess": false, - "externalAuth": false, - "favorite": false, - "favorites": [], - "firstName": "child level 2", - "id": "FIgVWzUCkpw", - "invitation": false, - "name": "child level 2", - "organisationUnits": [ - { - "id": "uoNW0E3xXUy" - } - ], - "password": "Test123###...", - "passwordLastUpdated": "2020-05-31T08:57:59.060", - "phoneNumber": "+4740332255", - "selfRegistered": false, - "surname": "child level 2", - "teiSearchOrganisationUnits": [ - { - "id": "h4w96yEMlzO" - } - ], - "translations": [], - "twoFA": false, - "userAccesses": [], - "userGroupAccesses": [], - "userRoles": [ - { - "id": "UbhT3bXWUyb" - } - ], - "username": "childlevel2" - }, - { - "access": { - "delete": true, - "externalize": true, - "manage": true, - "read": true, - "update": true, - "write": true - }, - "attributeValues": [], - "catDimensionConstraints": [], - "cogsDimensionConstraints": [], - "created": "2020-05-31T08:57:59.048", - "dataViewOrganisationUnits": [ - { - "id": "uoNW0E3xXUy" - } - ], - "disabled": false, - "displayName": "child level 2", - "email": "aaaa@dhis2.org", - "externalAccess": false, - "externalAuth": false, - "favorite": false, - "favorites": [], - "firstName": "child level 3", - "id": "nIidJVYpQQK", - "invitation": false, - "name": "child level 2", - "organisationUnits": [ - { - "id": "uoNW0E3xXUy" - }, - { - "id": "lbDXJBlvtZe" - } - ], - "password": "Test123###...", - "passwordLastUpdated": "2020-05-31T08:57:59.060", - "phoneNumber": "+4740332255", - "selfRegistered": false, - "surname": "child level 3", - "teiSearchOrganisationUnits": [ - { - "id": "DiszpKrYNg8" - } - ], - "translations": [], - "twoFA": false, - "userAccesses": [], - "userGroupAccesses": [], - "userRoles": [ - { - "id": "UbhT3bXWUyb" - } - ], - "username": "childlevel3" - } ] -} +} \ No newline at end of file