{
    "options": [],
    "optionSets": [],
    "optionGroups": [],
    "trackedEntityAttributes": [
        {
            "name": "Unique ID",
            "shortName": "Unique ID",
            "code": "TEA_UNIQUE_ID",
            "id": "tPiycyHdxNH",
            "translations": [],
            "valueType": "TEXT",
            "aggregationType": "NONE",
            "displayInListNoProgram": false,
            "skipSynchronization": false,
            "skipAnalytics": true,
            "orgunitScope": false,
            "legendSets": [],
            "unique": true,
            "inherit": false,
            "generated": false,
            "confidential": false
        },
        {
            "name": "Name",
            "shortName": "Name",
            "code": "TEA_NAME",
            "id": "piTURerWYjV",
            "translations": [],
            "valueType": "TEXT",
            "aggregationType": "NONE",
            "displayInListNoProgram": false,
            "skipSynchronization": false,
            "skipAnalytics": true,
            "orgunitScope": false,
            "legendSets": [],
            "unique": false,
            "inherit": false,
            "generated": false,
            "confidential": false
        }
    ],
    "trackedEntityTypes": [
        {
            "name": "Subject",
            "shortName": "Subject",
            "code": "TET_SUBJECT",
            "id": "OmcZVSpNybc",
            "translations": [],
            "minAttributesRequiredToSearch": 1,
            "maxTeiCountToReturn": 0,
            "allowAuditLog": false,
            "featureType": "NONE",
            "trackedEntityTypeAttributes": [
                {
                    "name": "Subject Unique ID",
                    "code": "TTA_SUBJECT_UNIQUE_ID",
                    "id": "krnthVomHni",
                    "translations": [],
                    "trackedEntityAttribute": {
                        "id": "tPiycyHdxNH"
                    },
                    "displayInList": false,
                    "mandatory": false,
                    "searchable": false
                },
                {
                    "name": "Subject Name",
                    "code": "TTA_SUBJECT_NAME",
                    "id": "EKBKCCjmXDZ",
                    "translations": [],
                    "trackedEntityAttribute": {
                        "id": "piTURerWYjV"
                    },
                    "displayInList": false,
                    "mandatory": false,
                    "searchable": false
                }
            ]
        }
    ],
    "dataElements": [
        {
            "name": "A",
            "shortName": "A",
            "code": "DEL_A",
            "id": "NBqhjRwNcUn",
            "translations": [],
            "valueType": "DATE",
            "aggregationType": "NONE",
            "domainType": "TRACKER",
            "zeroIsSignificant": false,
            "description": "Data element A.",
            "legendSets": []
        },
        {
            "name": "B",
            "shortName": "B",
            "code": "DEL_B",
            "id": "VLpfReruCjt",
            "translations": [],
            "valueType": "DATE",
            "aggregationType": "NONE",
            "domainType": "TRACKER",
            "zeroIsSignificant": false,
            "description": "Data element B.",
            "legendSets": []
        },
        {
            "name": "C",
            "shortName": "C",
            "code": "DEL_C",
            "id": "ysELnGJBicW",
            "translations": [],
            "valueType": "DATE",
            "aggregationType": "NONE",
            "domainType": "TRACKER",
            "zeroIsSignificant": false,
            "description": "Data element C.",
            "legendSets": []
        },
        {
            "name": "dummy interaction",
            "shortName": "dummy interaction",
            "code": "DEL_DUMMY_INTERACTION",
            "id": "xuzGGNZhVLW",
            "translations": [],
            "valueType": "TRUE_ONLY",
            "aggregationType": "NONE",
            "domainType": "TRACKER",
            "zeroIsSignificant": false,
            "description": "Data element D.",
            "legendSets": []
        }
    ],
    "programStageSections": [
        {
            "name": "Measurements",
            "id": "SEpMliHGzYU",
            "translations": [],
            "sortOrder": 0,
            "dataElements": [
                {
                    "id": "NBqhjRwNcUn"
                },
                {
                    "id": "VLpfReruCjt"
                },
                {
                    "id": "ysELnGJBicW"
                },
                {
                    "id": "xuzGGNZhVLW"
                }
            ]
        }
    ],
    "programStages": [
        {
            "name": "Visit",
            "id": "MTMwZRvhdhW",
            "translations": [],
            "sortOrder": 0,
            "executionDateLabel": "Visit date",
            "autoGenerateEvent": false,
            "openAfterEnrollment": false,
            "reportDateToUse": "eventDate",
            "minDaysFromStart": 0,
            "featureType": "NONE",
            "validationStrategy": "ON_COMPLETE",
            "displayGenerateEventBox": false,
            "blockEntryForm": false,
            "hideDueDate": false,
            "askToCompleteEvent": true,
            "programStageDataElements": [
                {
                    "name": "Measurements A",
                    "id": "oFbAALthGsE",
                    "translations": [],
                    "dataElement": {
                        "id": "NBqhjRwNcUn"
                    },
                    "sortOrder": 0,
                    "allowProvidedElsewhere": false,
                    "displayInReports": false,
                    "allowFutureDate": false,
                    "skipSynchronization": false,
                    "skipAnalytics": false,
                    "compulsory": false
                },
                {
                    "name": "Measurements B",
                    "id": "DfVjlPeROAK",
                    "translations": [],
                    "dataElement": {
                        "id": "VLpfReruCjt"
                    },
                    "sortOrder": 1,
                    "allowProvidedElsewhere": false,
                    "displayInReports": false,
                    "allowFutureDate": false,
                    "skipSynchronization": false,
                    "skipAnalytics": false,
                    "compulsory": false
                },
                {
                    "name": "Measurements C",
                    "id": "BzDDQKSTjzA",
                    "translations": [],
                    "dataElement": {
                        "id": "ysELnGJBicW"
                    },
                    "sortOrder": 2,
                    "allowProvidedElsewhere": false,
                    "displayInReports": false,
                    "allowFutureDate": false,
                    "skipSynchronization": false,
                    "skipAnalytics": false,
                    "compulsory": false
                },
                {
                    "name": "Measurements dummy interaction",
                    "id": "KbZLwTTvquS",
                    "translations": [],
                    "dataElement": {
                        "id": "xuzGGNZhVLW"
                    },
                    "sortOrder": 3,
                    "allowProvidedElsewhere": false,
                    "displayInReports": false,
                    "allowFutureDate": false,
                    "skipSynchronization": false,
                    "skipAnalytics": false,
                    "compulsory": false
                }
            ],
            "programStageSections": [
                {
                    "id": "SEpMliHGzYU"
                }
            ],
            "repeatable": true
        }
    ],
    "programs": [
        {
            "name": "Sandbox",
            "shortName": "Sandbox",
            "code": "PRG_SANDBOX",
            "id": "qYOZFokoxxt",
            "translations": [],
            "programType": "WITH_REGISTRATION",
            "trackedEntityType": {
                "id": "OmcZVSpNybc"
            },
            "programTrackedEntityAttributes": [
                {
                    "name": "Sandbox Unique ID",
                    "code": "PTA_SANDBOX_UNIQUE_ID",
                    "id": "LoABvzpZQnz",
                    "translations": [],
                    "trackedEntityAttribute": {
                        "id": "tPiycyHdxNH"
                    },
                    "displayInList": true,
                    "mandatory": true,
                    "searchable": true,
                    "sortOrder": 0,
                    "allowFutureDate": false
                },
                {
                    "name": "Sandbox Name",
                    "code": "PTA_SANDBOX_NAME",
                    "id": "NErWfxcNenK",
                    "translations": [],
                    "trackedEntityAttribute": {
                        "id": "piTURerWYjV"
                    },
                    "displayInList": true,
                    "mandatory": false,
                    "searchable": true,
                    "sortOrder": 1,
                    "allowFutureDate": false
                }
            ],
            "accessLevel": "CLOSED",
            "completeEventsExpiryDays": 0,
            "displayFrontPageList": true,
            "useFirstStageDuringRegistration": false,
            "onlyEnrollOnce": true,
            "displayIncidentDate": false,
            "featureType": "NONE",
            "programStages": [
                {
                    "id": "MTMwZRvhdhW"
                }
            ]
        }
    ],
    "programRuleVariables": [
        {
            "name": "CRN_A",
            "id": "KKFEGdJAecw",
            "translations": [],
            "program": {
                "id": "qYOZFokoxxt"
            },
            "programRuleVariableSourceType": "DATAELEMENT_CURRENT_EVENT",
            "dataElement": {
                "id": "NBqhjRwNcUn"
            },
            "useCodeForOptionSet": true,
            "valueType": "DATE"
        },
        {
            "name": "CRN_B",
            "id": "paOSAQmsCUY",
            "translations": [],
            "program": {
                "id": "qYOZFokoxxt"
            },
            "programRuleVariableSourceType": "DATAELEMENT_CURRENT_EVENT",
            "dataElement": {
                "id": "VLpfReruCjt"
            },
            "useCodeForOptionSet": true,
            "valueType": "DATE"
        }
    ],
    "programRuleActions": [
        {
            "id": "kzxuzZmOwSc",
            "translations": [],
            "programRule": {
                "id": "MBwIsERDhPk"
            },
            "programRuleActionType": "ASSIGN",
            "dataElement": {
                "id": "VLpfReruCjt"
            },
            "data": "d2:addDays(#{CRN_A}, 1)"
        },
        {
            "id": "yoLRfjlbULm",
            "translations": [],
            "programRule": {
                "id": "YRafFThmNka"
            },
            "programRuleActionType": "ASSIGN",
            "dataElement": {
                "id": "ysELnGJBicW"
            },
            "data": "d2:addDays(#{CRN_B}, 1)"
        }
    ],
    "programRules": [
        {
            "name": "Assign B one day after A",
            "id": "MBwIsERDhPk",
            "translations": [],
            "program": {
                "id": "qYOZFokoxxt"
            },
            "condition": "d2:hasValue(#{CRN_A})",
            "priority": 1,
            "programStage": {
                "id": "MTMwZRvhdhW"
            },
            "programRuleActions": [
                {
                    "id": "kzxuzZmOwSc"
                }
            ]
        },
        {
            "name": "Assign C one day after B",
            "id": "YRafFThmNka",
            "translations": [],
            "program": {
                "id": "qYOZFokoxxt"
            },
            "condition": "d2:hasValue(#{CRN_B})",
            "priority": 2,
            "programStage": {
                "id": "MTMwZRvhdhW"
            },
            "programRuleActions": [
                {
                    "id": "yoLRfjlbULm"
                }
            ]
        }
    ],
    "programIndicators": [],
    "programIndicatorGroups": []
}